+ Reply to Thread
Results 1 to 3 of 3

Thread: Javascript help

  1. #1
    espfutbol98's Avatar
    espfutbol98 is offline x10 Sophmore espfutbol98 is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Zagreb... želim
    Posts
    200

    Question Javascript help

    On a website I'm making for a friend, I have on some pages a lightbox and on all pages I have a facebook-like dialogue popup box for the admin login. In the pages without the lightbox, it works fine. In the pages that do contain the lightbox, the dialoug does not close. The website is http://matej.co.cc/ and I am using a modified facebox UI. Any suggestions for why it's not closing?

  2. #2
    suomiaol is offline x10Hosting Member suomiaol is an unknown quantity at this point
    Join Date
    Oct 2009
    Posts
    3

    Lightbulb Re: Javascript help

    Hi,
    I'm not going to dig into your code but I believe this might be a case of having duplicate id values in your code and perhaps this is why JS won't execute correctly if and when duplicates exist. So, I suggest you check what attribute is being used to call for the "close/cancel" command. Hope you find your error.

  3. #3
    espfutbol98's Avatar
    espfutbol98 is offline x10 Sophmore espfutbol98 is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Zagreb... želim
    Posts
    200

    Re: Javascript help

    I don't think it can be getting anything mixed up because I don't even have an id on the login box close button. All I have is the very specific html attrabute:
    HTML Code:
    onclick="$(document).trigger('close.facebox')"

+ Reply to Thread

Similar Threads

  1. javascript
    By rick8028 in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 05-31-2009, 01:28 PM
  2. Need some javascript help
    By Christopher in forum Programming Help
    Replies: 18
    Last Post: 07-07-2008, 09:57 AM
  3. CSS or Javascript?
    By kkenny in forum Programming Help
    Replies: 4
    Last Post: 06-22-2008, 02:32 AM
  4. Javascript help
    By Kieran G in forum Programming Help
    Replies: 0
    Last Post: 05-28-2008, 12:12 PM
  5. javascript and external javascript files problem
    By delon in forum Programming Help
    Replies: 6
    Last Post: 04-27-2008, 01:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers