Eendracht
12-17-2008, 08:17 PM
1) Script Title: Slashdot Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/slashdot.htm
3) Describe problem:
I looked through the previous SD menu thread and saw some people address this issue, however it was on an earlier version of SD menu.
The issue is that I'd like to have the menu completely collapsed the first time someone visits the site (or deletes their cookies/cache). But once someone starts navigating the site they can have a submenu collapsed or expanded.
I currently have :
function SDMenu(id) {
if (!document.getElementById || !document.getElementsByTagName)
return false;
this.menu = document.getElementById(id);
this.submenus = this.menu.getElementsByTagName("div");
this.remember = true;
this.speed = 3;
this.markCurrent = true;
this.oneSmOnly = true;
Any help or links to a solution are much appreciated!
Also thanks for the great menu DimX!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/slashdot.htm
3) Describe problem:
I looked through the previous SD menu thread and saw some people address this issue, however it was on an earlier version of SD menu.
The issue is that I'd like to have the menu completely collapsed the first time someone visits the site (or deletes their cookies/cache). But once someone starts navigating the site they can have a submenu collapsed or expanded.
I currently have :
function SDMenu(id) {
if (!document.getElementById || !document.getElementsByTagName)
return false;
this.menu = document.getElementById(id);
this.submenus = this.menu.getElementsByTagName("div");
this.remember = true;
this.speed = 3;
this.markCurrent = true;
this.oneSmOnly = true;
Any help or links to a solution are much appreciated!
Also thanks for the great menu DimX!