|
Is it possible to load the tree menu dhtml on user click only?
Return to Recent Questions
Q:
Is there maybe a way that I can set up the tree menu dhtml 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 tree menu dhtml
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>
Return to Recent Questions
Related:
|