0

Hi :)

I'm trying to create a small javascript menu.

I have 4 images which serves as menuitems.

<div class="myMenuButton"><img goes here />
<div class="myMenuContent">
Random content1 here <br />
Random content2 here <br />
</div>
</div>
<div class="myMenuButton"><img goes here />
<div class="myMenuContent">
Random content1 here <br />
Random content2 here <br />
</div></div>
  etc....

is there a simple way of implementing a slider function to the images to toggle slide up/down the contents belong to this button? And if another image is clicked then all OTHER open slides should be closed while opening this one etc :)

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by MartinRinehart
0

There are a thousand lightbox functions on the web. Google and try some. If you can't find one you like, get back to us here. This is pretty simple JavaScripting.

0

There are a thousand lightbox functions on the web. Google and try some. If you can't find one you like, get back to us here. This is pretty simple JavaScripting.

Hi, thanks for your reply :)

I know how to use the toggleslide function in jquery..however I can't seem to figure out how to correctly only slide down the next div element and slide up all the rest on the same click :/

0

Post a question in the jQuery forum, and/or a jQuery-specific question here. If that doesn't do the trick, let's write some JavaScript.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.