Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-19-2009, 10:04 PM   PM User | #1
AnthonyS
New to the CF scene

 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
AnthonyS is an unknown quantity at this point
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
AnthonyS is offline   Reply With Quote
Old 07-20-2009, 05:53 AM   PM User | #2
fside
Regular Coder

 
Join Date: Mar 2008
Posts: 301
Thanks: 2
Thanked 30 Times in 30 Posts
fside is an unknown quantity at this point
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.
fside is offline   Reply With Quote
Reply

Bookmarks

Tags
auto, rescale, resize, scale, text

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:45 AM.


Advertisement
Log in to turn off these ads.