Results 1 to 2 of 2

Thread: Help removing Text and Image Crawler v1.5 from page

  1. #1
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help removing Text and Image Crawler v1.5 from page

    1) Script Title: Text and Image Crawler v1.5

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

    3) Describe problem:
    I am using the script on this url and everything works fine, however when I try to remove the scroller from the page I can't. I've tried doing document.getelementbyid("nameofdiv").style.visibility = "hidden" in a function but it does not work.

    However if I add the style visibility = hidden to the div itself it does disappear.

    Does anyone know how to remove the element completely?

    Thanks,

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Remove completely?

    Code:
    var el = document.getElementById('id');
    el.parentNode.removeChild(el);
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •