Closed Thread Icon

Topic awaiting preservation: DTML link to Drop Down Pages that link to <a href="https://ozoneasylum.com/backlink?for=8115" title="Pages that link to Topic awaiting preservation: DTML link to Drop Down" rel="nofollow" >Topic awaiting preservation: DTML link to Drop Down\

 
Author Thread
KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 03-11-2002 06:33

this is what i want to do... i want to incorporate this script: Here (PageSlideFade) with my website... i understand the text link is somewhat a behavior or something. Can someone tell me how i can put these behavior in a drop down menu instead of just the text link. this is where i want to put it http://www.fusedeffects.com/West%20Ferris/ in the drop down.

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 03-11-2002 07:55

as I see from the script's source code:

code:
<a href="#" onclick="activate(0); return false;" onfocus="if(this.blur)this.blur()">I</a><br>
<a href="#" onclick="activate(1); return false;" onfocus="if(this.blur)this.blur()">II</a><br>
<a href="#" onclick="activate(2); return false;" onfocus="if(this.blur)this.blur()">III</a><br>



so basically, the function you want to call from your drop down is activate([index])

modify your pages source code as the following, that after you integrate the PageSlideFade script:

from:

code:
<select name="select">
<option>Select One</option>
<option>---------------------</option>
<option>Main</option>
<option>---------------------</option>
<option>Welcome</option>
<option>Constitution</option>
<option>Agenda</option>
<option>Minutes</option>
<option>---------------------</option>
</select>



to:

code:
<select name="select" onchange='activate(this.value)'>
<option>Select One</option>
<option>---------------------</option>
<option value='0'>Main</option>
<option>---------------------</option>
<option value='1'>Welcome</option>
<option value='2'>Constitution</option>
<option value='3'>Agenda</option>
<option value='4'>Minutes</option>
<option>---------------------</option>
</select>



and then define a <div> tags for each text section you want, as:

code:
<div id="dynPage0" class="dynPage">
this is the main screen, cause my name is dynPage[b]0[/b]
</div>



etc.....

good luck,

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 03-12-2002 06:55

Thanx a bunch... we've got it working...

here's another question my partner had in mind... is it possible to add a behaviour to a drop down?

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 03-13-2002 09:18

yes, what do you want exactly?

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 03-14-2002 05:30

okay... well if it's possible i think i know how to do it... thanx

« BackwardsOnwards »

Show Forum Drop Down Menu