View Full Version : Incorperating the scrollable content with image slices in HTML
wingsbeencut
02-19-2006, 03:41 PM
scrollable content II
http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm
Basically, I don't know anything about coding. But I've designed a website, sliced it and all and have the HTML source, which is just a series of sliced images. I've incorperated a sliced spot where I want this scroll-content box to be, but I have no idea how to interject the javascript code into the lines of HTML. If I've confused you and you need me to re-phrase, ask me.
Help...?
Thanks a lot.
Yes, you can insert the attributes:
onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)"into (almost) any HTML tag to make it function as a scroll trigger.
wingsbeencut
02-19-2006, 05:32 PM
Yes, you can insert the attributes:
onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)"into (almost) any HTML tag to make it function as a scroll trigger.
but where do you put that in the HTML?
I'm looking at a slice line like:
<td>
<img src="images/Untitled-5_03.gif" width="175" height="160" alt=""></td>
and I want to make that sliced space into the scollable content box...
If Untitled-5_03.gif is a blank image, and you want to replace it with the content box, you'd remove its tag and paste the body section of the script in there.
wingsbeencut
02-19-2006, 07:19 PM
but what constitutes that image's tag?
i replaced the
<img src="images/Untitled-5_03.gif" width="175" height="160" alt=""> with the javascript, which screwed up the alignment on the rest of the page, so i replaced the entire
<td>
<img src="images/Untitled-5_03.gif" width="175" height="160" alt=""></td> with the javascript, but that screwed it up even more...:confused:
And here's the problem with using sliced-image pages :) On a normal page, the first you tried would have worked fine. I think you'll have to alter your page design a bit.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.