js subnav help
js subnav help
- Started
- Last post
- 1 Response
- phatrick
anyone know of a good javascript, dhtml, css, whatever script that i can use that works similar to the one on sacramento bee's site? http://www.sacbee.com
i'd use their's but i'm not partial to the slight lag upon subnav display. i'm referring to the main red tabs and their subnav.
- joyride0
the delay is because it is sending a request to get the data to populate the subnav. It s so the subnav does not render a blank area, then suddenly show up.
if (isOpen == true || isSub == true) {
openMenu(menuData);
} else {
menu_timer1 = setTimeout("openMenu(menuData)", 500);
}If you have static data then you can just remove the setTimeout or set it to happen faster...