PDA

View Full Version : Scrollable content help



Harv
09-19-2005, 02:41 PM
Hey

Im having trouble getting this script where i want it.

I made a website im adobe. its 900 x 800. There is a part in the middle i want this script to show up so i can updated it and it wil be in the middle of the website image. Ive done this before but i dont remember if this is the exact same script. what happens when i put it in it puts the script outside of what i have in the body, when i try to drag it over the image where i would want the text to show up it goes there but when i go to view it in IE it doesnt show up there and it puts it in the bottom left corner still. http://somethingaboutnothing.org/coup.html is the site and in the middle is where i need the text to show up.

Can anyone help me out with this? thanks

jscheuer1
09-19-2005, 04:43 PM
The link in your post goes to a page with a 900x800 pixel image map on it. There is no script. If you are using this script (http://www.dynamicdrive.com/dynamicindex11/scrollc.htm) then, using a text editor, you can put it just before the last closing division tag:

</div>

on the page and add two more </div> tags after that. Change this part of the script's markup:

<div id="scroll3" style="width:170px;height:150px;background-color:lightyellow;overflow:scroll">to this:

<div style="position:absolute;top:300px;">
<div style="position:relative;right:300px;">
<div id="scroll3" style="width:600px;height:150px;background-color:lightyellow;overflow:auto;">