Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I dont even know if this is possible, auto resize text...

    Ok so I am not very knowledgeable when it comes to Javascript... the only reason i though to post here was because I found what I was looking for with my background image with java... basically I am trying to re-design my website... and i pretty much want to make everyhting auto-scale to whatever size the browser window is... i know it can be done in CSS but i would pre-fer not to have to re-do everything lol, besides i like being able to grab the sides of the browser window and watch everything shrink... basically i am looking for a script that will do what this website does... http://www.dannylane.co.uk/main.php# ... i know, that ones flash and not java... like i said, i dont even know if its a possibility to do it with java... and i have one for my background already... my website is, http://www.AnthonySwinsinski.co.cc its kinda lame right now, i just started it and am kind of hung up on this problem, i need to fix it before i can go onto the next part. so yeah if you know of one that will work the way i am trying to get my site to, thanks in advance... its much appreciated!

    Anthony

  • #2
    Regular Coder
    Join Date
    Mar 2008
    Posts
    301
    Thanks
    2
    Thanked 30 Times in 30 Posts
    Quote Originally Posted by AnthonyS View Post
    i dont even know if its a possibility to do it with java
    Eich was told to make LiveScript/Javascript 'look like' . . Java. But it's certainly not Java.

    If you, instead, are looking for a flash-mimic, many people end up writing their own. I'm sure there are many plugins.

    What you want to do can be done in Javascript. If it were me, I'd prefer it be part of a more general library function for animation/flash-mimicry.

    Specifically for this, you know the particular DIV with your styled unorderd list element. You can read the client size of the window, and set an event handler when the window size is changed. It would just be a matter of whether you want a linear change or other sort of change in the font size. But again, if it were me, I'd prefer calls out to a more integrated if larger set of functions designed to 'put-flash' using Javascript.

    There must be so many of these.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •