Results 1 to 5 of 5

Thread: Lightbox problem

  1. #1
    Join Date
    Feb 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox problem

    1) Script Title: Lightbox image viewer

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

    3) Describe problem: Ok...I really dont know what I did wrong, I've use this script several times and never with out a problem 'til now.

    After beliving that I've done everything correctly (the <a> </a> tag, place the files into the correct folder and using the correct paths) everytime I click on the thumbnail, the large image is viewed in a new window without the Lightbox effect.

    So please...tell me what I'm doing wrong.

    The URL where the problem is: http://www.nuestrabodaonline.com/monicayramon/misa.htm

    It's the only image on that page...

    Thanks in advanced,
    best regards,

    El Huevo

  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

    There is some type of onload conflict with the IP Tracker script at the bottom of your page. You can either get rid of that script or add the loading script as shown in red below:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>-=M&oacute;nica y Ram&oacute;n=-</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen" />
    <script type="text/javascript" src="lightbox/lightbox.js"></script>
    <script type="text/javascript">
    if ( typeof window.addEventListener != "undefined" )
        window.addEventListener( "load", initLightbox, false );
    else if ( typeof window.attachEvent != "undefined" )
        window.attachEvent( "onload", initLightbox );
    else {
        if ( window.onload != null ) {
            var oldOnload = window.onload;
            window.onload = function ( e ) {
                oldOnload( e );
                initLightbox();
            };
        }
        else
            window.onload = initLightbox;
    }
    </script>
    <style type="text/css">
    
    #slantedmenu{
    font-weight: bold;
    font-siz . . .
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sweet! thanks a lot John, it was driving me crazy that I couldnt find the problem, I really much apretiate your time to help me out.

    Thanks again, best regards
    El Huevo

  4. #4
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

  5. #5
    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

    Quote Originally Posted by chechu View Post
    Does this one break out of <iframes> ?
    Nope, in fact it is, or is very much like the lightbox script you had at first that did not break out. There are a great many of these lightbox type scripts around and Lytebox is the first I have seen that actually can beak over (breaking out implies the loss of the iframe so, what you really want is to display over the iframe) an iframe.
    - 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
  •