Closed Thread Icon

Topic awaiting preservation: loading new divs in the div scroller. (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8416" title="Pages that link to Topic awaiting preservation: loading new divs in the div scroller. (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: loading new divs in the div scroller. <span class="small">(Page 1 of 1)</span>\

 
jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 12-01-2002 03:36

Ok, I'm starting to understand the div scroller, mainly the one on youngpup.net. I understand the concept but I'm trying to be able to load new div layers into the scroller when you click a link. (like a different page) Kind of like bugimus's hide/show layer script here . I've spent hours toiling it out and its just not working for me. Can somebody clue me a bit.

In lamens terms, I want to be able to load different div layers (or pages) into the scroller.....


*sigh* always learning, but will It ever sink in??



kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 12-01-2002 17:19

I don't know how exactly that scroller you're using works, but basically this should be the same procedure for any scroller:

First you build some <div>s with the various "pages'" contents, then you assign an ID to each of them and use some JavaScript to toggle their "display" CSS property. mr.maX has a demo page for this code up here:

http://www.max.co.yu/ozone/multi_divs.html

and there's probably also some information on it somewhere in the FAQ.

Then if you have the JS part done you can move all these <div>s into the scroller <div> and everything should be working. If not, just post a link.

« BackwardsOnwards »

Show Forum Drop Down Menu