Forum Moderators: open
I have a front pane which starts with a welcome message. Mouseover the welcome and the main menu drops down (script).
I want to the viewer to be able to return to the front pane via a link and when returned, to have the menu already dropped down and available.
Sounds straightforward—run reload function, and delay the dropdown function—but the reload function seems to be stopping the dropdown function from running at all. Not getting any error messages either.
Any ideas?
Reload:
function reLoad() {
window.location.reload(true); // or just .reload()
}
Drop the menu (reveals links progressively):
dropMenu() {
onD('MBR');
setTimeout('onV(\'enq\')',400);
setTimeout('onV(\'browse\')',800);
setTimeout('onV(\'notes\')',1200);
setTimeout('onV(\'bones\')',2000); return false;
}
Putting them together:
onclick="reLoad(); setTimeout('dropMenu()', 400);"
//ends
I want to the viewer to be able to return to the front pane via a link and when returned, to have the menu already dropped down and available.
Consider using a different url eg www.example.com?menu=open or set a cookie to indicate menu required before href actioned.