My Blog Title Here

November 23, 2008

Is it possible to load the dropdown menu on user click only?

Filed under: Uncategorized — Tags: , — admin @ 7:15 am

Q:

Is there maybe a way that I can set up the menu so that
it does not load at all until someone clicks on, say, a link, such
as ‘Products’ and clicking on that link would then load the dropdown menu
onto the page in the desired position?

A:

Yes, you can do it.
Delete dm_init(); function from data file and use OnClick event for
your ‘Products’ link.
<a href=”products.html” OnClick=”dm_init();”>Products</a>

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress