View Full Version : Div problem with feature content glider

03-05-2008, 05:07 PM
1) Script Title: Feature content glider

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

3) Describe problem:

Hello world.:confused:

My problem.

On my page, when i open my menu (floating dev) .. this menu is over the div content a Feature content Glider..
But, we see the div behind.. (everything else behind is ok.. (hidden) except the Content Glider)

I try to "hidden" the div (glidecontentwrapper) in css style : not work..
I try to hidden this div with java : document.getElementById("glidecontentwrapper").style.visibility = 'hidden'; : not work too

i just want to hide this div when my menu div is open..

Somebody could help me pleasssssse ??:confused:

03-05-2008, 09:11 PM
Well, if you're using scripting to dynamically hide the featured content glider, you wouldn't use:

document.getElementById("glidecontentwrapper").style.visibility = 'hidden';

as "glidecontentwrapper" is the class name of the glider content container, not its ID. You'll need to reference its ID instead, in the case of the default demo:

<div id="canadaprovinces" class="glidecontentwrapper">

03-06-2008, 07:55 PM
The only way is:

document.getElementById("glidecontentwrapper").style.display= 'none';

03-06-2008, 09:24 PM
Did you change "glidecontentwrapper" from being the CSS class of the content DIV to its ID instead? That's the only way:


would even work as a reference to the DIV.