Lightbox Script Not Opening Up. Plz Help its URGENT!

Discussion in 'Programming' started by CircleOfLinks, Nov 28, 2010.

  1. #1
    Hey guys,

    please check out www. volcanos .com.au/menu.php (spaces the on purpos so site doesnt get indexed).

    Im trying to set up a lightbox for my client, however it wont work. Ive instaled these scripts hundreds of times before but i just cant work out whats happening with this.

    please help. When you click on an image it just opens up on top left screen.

    thanks for your help.

    regards

    Danny
     
    CircleOfLinks, Nov 28, 2010 IP
  2. nadeem3366

    nadeem3366 Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    Hi,
    i think there is some thing missing may be java script file or may be css file or may be this page is not getting correct path of css and JavaScript files, so you can check it, i am sure it will work or if you can send me files i can fix it.

    Regards,

    Nadeem
     
    nadeem3366, Nov 28, 2010 IP
  3. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    hey there.

    nah everything is deffantly there. ive checked it twice and 3 times.

    any ideas
     
    CircleOfLinks, Nov 28, 2010 IP
  4. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    guardian999, Nov 28, 2010 IP
  5. nadeem3366

    nadeem3366 Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    hey,

    I am not sure that everything will be there, this happens with me , but i can solve the problem myself, because of my mistakes some where
     
    nadeem3366, Nov 29, 2010 IP
  6. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #6
    hey,

    ok i found out the problem, but now im puzzled on how to fix it.

    if you check out www . volcanos .com.au/test/php (its the same as the menu.php except ive removed the slide show on top) now that its removed the lightbox is working.

    please any one can help me?

    In my header this is what ive removed:

    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>
    <script type="text/javascript" src="slider/jquery-1.2.6.pack.js"></script> - NOW REMOVED
    <script type="text/javascript" src="slider/simplegallery.js"></script> - NOW REMOVED
    <script type="text/javascript">

    After removing those, the script is now working. Any one now how to fix it? I really need the slide show and the lightbox working, The site needs to be upload tomorrow (tuesday).

    thanks heaps

    danny
     
    CircleOfLinks, Nov 29, 2010 IP
  7. nadeem3366

    nadeem3366 Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #7
    Ohh so thats the problem ! it means if you are removing slider JavaScript files then light box works else not, so try to change the name of folder and files names too for slider, it may produce good result.
     
    nadeem3366, Nov 29, 2010 IP
  8. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #8
    Hey Nadeem,

    that didn't work, i renamed them, moved them around... nothing

    in my head section where i have:

    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>
    <script type="text/javascript" src="slider/jquery-1.2.6.pack.js"></script>
    <script type="text/javascript" src="slider/simplegallery.js"></script>
    <script type="text/javascript">

    my slideshow works but not the lightbox.

    HOWEVER. If i swap them over to look like this:

    <script type="text/javascript" src="slider/jquery-1.2.6.pack.js"></script>
    <script type="text/javascript" src="slider/simplegallery.js"></script>
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>
    <script type="text/javascript">

    My slideshow no longer works but the lightbox does.

    please anyone got any ideas. Its driving me mad
     
    CircleOfLinks, Nov 29, 2010 IP
  9. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #9
    I know Your problems. :)

    you have conflict between jquery and prototype
     
    guardian999, Nov 29, 2010 IP
  10. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #10
    mmm ok... do you know how i can fix it?
     
    CircleOfLinks, Nov 29, 2010 IP
  11. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #11
    Let me try it.
     
    guardian999, Nov 29, 2010 IP
  12. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #12
    ok... what do you need from me??

    thanks heaps
     
    CircleOfLinks, Nov 29, 2010 IP
  13. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #13
    PM me your username and password.
    and please backup your menu.php
     
    guardian999, Nov 30, 2010 IP
  14. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #14
    details sent.

    thanks
     
    CircleOfLinks, Nov 30, 2010 IP