opening links with imageMenu

To open links that are used in imageMenu, simply remove the onClick option:

var myMenu = new ImageMenu($$(‘#imageMenu a’),{
openWidth:310,
border:2
});

I’ve used the onClick option in my example code to demo some of the other features of the menu.

    • ElShaddai Edwards
    • July 23rd, 2009

    xmeele said…

    For show array zero change line 73:
    if(this.options.open){
    for this:
    if(this.options.open!=null){

    yea now show item zero

    Thanks, xmeele – that works perfectly!

    • tweasel
    • September 5th, 2009

    For some reason an item only stays open if it is specified via open:0 and the number of the corresponding item. If you use id's it won't stay after you rolled over the menu…

    • Bruno
    • October 7th, 2009

    Hello, please I need someone's help. I see the the image menu is supposed to stay open when a link or the picture is clicked so you can see which page you are on. However on my site when I click on the link it simply changes the pages and does not leave the link or the picture open!! What do I have to do to change this or fix this???

  1. No trackbacks yet.