1) Script Title: Accordion Menu script (v1.3)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...daccordion.htm
3) Describe problem: Hello, I've been fiddling with this script and what a lot of fun it is. Thank you for posting the script on DD
A sample of my manipulation is here:
http://www.connectec.com/design_stun..._accordion.htm
The part I have a question about is this: If you look at the bar that says "cats," you can see there are two additional links over at the right edge. When I click on those, I just want them to be regular links that take me to a new page, instead of collapsing the cat on the sidewalk picture as they do now. Any idea how I could accomplish this?
here is the code that makes the cat bar and image:
<div class="mypets"><a href="#" onmouseover="ddaccordion.expandone('mypets', 1); return false">Cats</a>
<ul><li><a href="hunters.htm" onClick="return(this)">hunters</a></li><li><a href="history.htm">history</a></li></ul>
</div>
<div class="thepet"><img src="images/sidewalk_cat.jpg" alt="sidewalk cat" width="422" height="67" />
<p span class="paleOnTop">Cats are often valued <BR />
for their <a href="companionship.htm">companionship</a> <BR />
and ability to hunt.<BR /></p>
</div>
I am attempting to achieve the same effect that is used at http://www.brown.edu/ But I am pretty sure they are not using this script to do it.
Thanks,
Carolyn



Reply With Quote

Bookmarks