Ben@WEBProp
07-16-2003, 04:59 PM
This may not be in the right forum...but I had no clue where to slap it cause it spans about 4 of them...
First, before I present my problem, here is the info you will need:
I have a slideshow that not only has a variable sliderwidth="NUMpix" to control the width, but it is also contained in a table that has a width of 100%. This table and it's contents are in a frame that has the attribute of frameset rows="18%,*" ( so it goes 18% of the height of the screen, 100% of the width.
Now I need some help with defanitions and liquidation...
1)My overall goal is to totally liquify everything in the top frame. I am not entirely sure of how to go about it. Can someone help me out? I mean, in the JavaScript itself, why can't I specify sliderwidth to a %? Is there anyway to liquify this property?
2)When the images in this slideshow are seen in a resolution below 1024, they get cut off. They are called up in the script by: leftrightslide[7]='<a href="Morgan.htm"><img src="images/MBanner.gif" border=0></a>'. In the img tag, could I add the attributes width="%" and height="%" into this line to get a liquid slide show? I know that a % makes the object that % of it's container, but in this case is the img container the slideshow, the table, the frame, or what?{EDIT}--OR! What I COULD do, although I don't want to, is to make the top frame a static size in px while I liquify all of the others. This would solve all problems for people with different sized browsers in 1024 resolution, but all those in less than that would get a HUGE top frame. I DO KNOW WHAT THE MAIN PROBLEM IS NOW: The table is not resizing in different resolutions liquidly because the sliderheight is set to a px amount! Is there any possible way to make sliderheight and sliderwidth in a javascript to be a %?{EDIT}
3)How do I get a % value system set up to where the width to height ratio is still maintained? For example, if an image is contained in a cell, I know that I would make the img height and width = 100%, and then alter the container's (the cells) height and width attributes. How do I get to a correct ratio of px to px into % by %?
More questions to follow.....
Thanks!
-Ben
First, before I present my problem, here is the info you will need:
I have a slideshow that not only has a variable sliderwidth="NUMpix" to control the width, but it is also contained in a table that has a width of 100%. This table and it's contents are in a frame that has the attribute of frameset rows="18%,*" ( so it goes 18% of the height of the screen, 100% of the width.
Now I need some help with defanitions and liquidation...
1)My overall goal is to totally liquify everything in the top frame. I am not entirely sure of how to go about it. Can someone help me out? I mean, in the JavaScript itself, why can't I specify sliderwidth to a %? Is there anyway to liquify this property?
2)When the images in this slideshow are seen in a resolution below 1024, they get cut off. They are called up in the script by: leftrightslide[7]='<a href="Morgan.htm"><img src="images/MBanner.gif" border=0></a>'. In the img tag, could I add the attributes width="%" and height="%" into this line to get a liquid slide show? I know that a % makes the object that % of it's container, but in this case is the img container the slideshow, the table, the frame, or what?{EDIT}--OR! What I COULD do, although I don't want to, is to make the top frame a static size in px while I liquify all of the others. This would solve all problems for people with different sized browsers in 1024 resolution, but all those in less than that would get a HUGE top frame. I DO KNOW WHAT THE MAIN PROBLEM IS NOW: The table is not resizing in different resolutions liquidly because the sliderheight is set to a px amount! Is there any possible way to make sliderheight and sliderwidth in a javascript to be a %?{EDIT}
3)How do I get a % value system set up to where the width to height ratio is still maintained? For example, if an image is contained in a cell, I know that I would make the img height and width = 100%, and then alter the container's (the cells) height and width attributes. How do I get to a correct ratio of px to px into % by %?
More questions to follow.....
Thanks!
-Ben