I have created a menu system using javascript and css and attached it to a button. However now the button does not take you to the destination page. I think this is because the behaviours attached to the button overrule the href. http://emigratingexpert.com/emigratingexpertnew/ (Choose newzealand from the left menu bar, although the menu drops down you cannot click on the button). Has anyone got any suggestions on this one? Thanks Notting
Works on Firefox http://emigratingexpert.com/newzealand_culture.htm http://emigratingexpert.com/newzealand_education.htm
No,I have not explained this well. if you hover over the new zealand button you can see that the button not only starts the menu, but is also a hyper link to: http://emigratingexpert.co.uk/emigratingexpertnew/new_zealand.htm However the button is not functioning as a hyperlink. Thanks Notting
Simply try moving the linking script from A to IMG ;-) like this: <img src="..." [B]onclick="document.location.href='linked_page.htm'"[/B] alt="..." /> Code (markup): of course you should add a class with "cursorointer" - just to be sure - to make the image act as a link (changing cursor to a hand, like A does)