Results 1 to 4 of 4

Thread: Lightbox and another script conflict

  1. #1
    Join Date
    Apr 2008
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox and another script conflict

    1) Script Title: lightbox

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...box2/index.htm

    3) Describe problem: Hello, I hope somene can shed some light on this issue for I don't know enough about javascript to know what's going wrong. I'm using the lightbox script from here and love it, along with a Navstudio 2005 menu builder that makes javascript menus. everything works great as long as they are not on the same page. The only issue there is is that when the page finishes loading a popup window opens but is empty, click ok and it goes away and all works fine. like I said this only happens on pages that both scripts occupy. Also this on happens in IE that I've been able to tell anyway. here is a link to one of the pages. http://bzcaraudio.com/exterior.html
    Any insight will be greatly appreciated.

  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

    Geez, even with broadband that page takes forever to load and looks very poorly even once loaded in Opera. Anyways, the alert is coming from your bz-menu-header.js file. Near the end there is a long line that has this at its end:

    Code:
    function vqp_error(val){alert(val)}
    Change that bit to:

    Code:
    function vqp_error(val){return;}
    and the problem should go away.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2008
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    YOU ARE A GENIUS. thank you so much. I have noticed on any browser in those pages described it took longer to load. Maybe try it now and see if it is better without the conflict. I don't have opera to test on my computer but everyone else i have talked to says it loads very fast on the systems they are using. Thanks very much again.

  4. #4
    Join Date
    Apr 2008
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I downloaded opera and tried it to see what you are talking about and i'm finding it only does it again on pages that occupy the lightbox and menus, but no other pages seem to be affected. Any suggestions?

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
  •