Hello,
Thank you for responding to my post (duplicated it by mistake... sorry, won't happen again).
I had read a previous post about the technique you describe (re: adding a menu element) and I think that is what I have been trying.
In my HTML I have:
Code:
<div class="buttonwrapper" id="narrow" style="display:none">
<a href="menu.php" class="menuanchorclass" id="counts" rel="counts" data-image="images/counts1-small.jpg" data-overimage="images/counts2-small.jpg"><img src="images/counts1-small.jpg" style="border-width:0" /></a>
<a href="menu.php" class="menuanchorclass" id="percents" rel="percents" data-image="images/percents1-small.jpg" data-overimage="images/percents2-small.jpg"><img src="images/percents1-small.jpg" style="border-width:0" /></a>
<a href="menu.php" class="menuanchorclass" id="means" rel="means" data-image="images/means1-small.jpg" data-overimage="images/means2-small.jpg"><img src="images/means1-small.jpg" style="border-width:0" /></a>
<a href="menu.php" class="menuanchorclass" id="sampling" rel="sampling" data-image="images/sampling1-small.jpg" data-overimage="images/sampling2-small.jpg"><img src="images/sampling1-small.jpg" style="border-width:0" /></a>
<a href="menu.php" class="menuanchorclass" id="myhelp" rel="myhelp" data-image="images/help1-small.jpg" data-overimage="images/help2-small.jpg"><img src="images/help1-small.jpg" style="border-width:0" /></a>
</div>
Then I added a test link:
Code:
<p><a href="javascript:test()">Default Example</a></p>
And I increased the hide delay to 3 seconds so I'd have time to test it before it faded on it's own: effects: {delayhide: 3000,
And my test function is:
Code:
function test() {
anylinkmenu.hidemenu(document.getElementById("counts")._internalID);
anylinkmenu.hidemenu(document.getElementById("percents")._internalID);
anylinkmenu.hidemenu(document.getElementById("means")._internalID);
anylinkmenu.hidemenu(document.getElementById("sampling")._internalID);
anylinkmenu.hidemenu(document.getElementById("myhelp")._internalID);
}
It doesn't give a JS error, but it doesn't hide the menu window either.
Thank you again.
David
Bookmarks