Results 1 to 4 of 4

Thread: Div problem with feature content glider

  1. #1
    Join Date
    Mar 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Div problem with feature content glider

    1) Script Title: Feature content glider

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentglider.htm

    3) Describe problem:

    Hello world.

    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 ??

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, if you're using scripting to dynamically hide the featured content glider, you wouldn't use:
    Code:
    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:

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

  3. #3
    Join Date
    Mar 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default after 24 hrs test..

    The only way is:

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

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Did you change "glidecontentwrapper" from being the CSS class of the content DIV to its ID instead? That's the only way:

    Code:
    document.getElementById("glidecontentwrapper")
    would even work as a reference to the DIV.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •