View Full Version : problem with scrollbar

09-13-2008, 02:53 PM
Can any one help to add scrollbar with menu using java script?Infect i added all the code but its working in firefox and in any other browser but not in internet explorer :mad:

Here is the code i am using
function initScrollLayer() {
var navWin = document.getElementById('lnavwin');
if (navWin != null && navWin != 'undefined' )
if (navWin.addEventListener)
navWin.addEventListener('DOMMouseScroll', lmWheel, false);
var dataLayer = getLayerName(currentSection);
if (dataLayer!='lnav-data') document.getElementById('lnav-data').style.visibility='hidden';
var wndo = new dw_scrollObj('lnavwin', dataLayer);
wndo.bSizeDragBar = false;
wndo.setUpScrollbar("dragBar1", "track1", "v", 1, 0);

dw_scrollObj.scrollTo('lnavwin', 0, scrollTo, 1);


you can also check the live page


am waiting for response ..


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum