JQuery Colorbox Plugin Not Working Properly in IE - HELP!

This is a convoluted issue and I will do my best to explain. I am setting cookies in a page that will show a lightbox on the first visit. It works great in FF, Chrome, etc. but does not in IE.
What happens in IE is the script for calling my lightbox (colorbox) fires but all I see is the AJAX Loader spinning and the content never loads. I figured out that the script was firing too soon. I was using $j(document).ready(function() I switched to: $j(window).load(function() and all seemed to be fine and it worked properly until I start from another page and come to the page mentioned above.
If I start on any other page and click a link I have the same issue! The cookie works properly and does not fire the box a second time.
In other words if I clear cookies and start at the page with an issue then no issue. BUT if I start from any other page (with cookies cleared) and go to the above page the colorbox does not load properly.
From what I can tell the $j(window).load(function()is not working correctly.
I receive no errors from IE. I am using IE 8 for testing and cannot test 9 as I am using Windows XP. The script is in the <head> of my document. (If I move the script into the <body> it completely breaks the page in IE)
I have read of issues of DOCTYPE not being correct or shortend and colorbox issues in IE. My DOCTYPE is as follow which should be correct:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Any thoughts or ideas are greatly appreciated!
Here is my code I am using:
Javascript
var $j = jQuery.noConflict();
$j(window).load(function() {
  //window.onload = function() does not function properly either...
  if(!$j.cookie('gallerycookie')){
    $j.colorbox({
      inline:true,
      href:"#gallery-nav-instruct"
    $j.cookie("gallerycookie", 1, {
      expires: 30,
      path: '/'
HTML
<div style="display:none">
  <div id="gallery-nav-instruct">
    <h2>Gallery Navigation Instructions - Step 1</h2><h2 style="text-align:right">
      <a style="text-align:right;" class="inline cw" href="
         #gallery-enlarge-instruct">Step 2</a></h2>
    <p> </p>
    <p class="white"><img src="/Images/Pages/gallery-navigation.jpg" width="890" height="450" alt="Gallery Navigation Instructions" /></p>
  </div>
</div>
<div style="display:none">
  <div id="gallery-enlarge-instruct">
    <h2>Gallery Navigation Instructions - Step 2</h2>
    <p> </p>
    <h2><a class="inline cw" href="#gallery-nav-instruct">Step 1</a> </h2>
    <p class="white"><img src="/Images/Pages/gallery-enlarge.jpg" width="890" height="510" alt="Gallery -Enlarged View Instructions" /></p>
  </div>
</div>
Also:
I attempted to use [code]window.onload = function()[/code]
and the same issue happened and  
I attempted to use the event handler to trigger the script once the div was loaded, that did not even fire the script at all. here was that code:
var $j = jQuery.noConflict();
$j('#gallery-nav-instruct').load(function() {
  if(!$j.cookie('gallerycookie')){
    $j.colorbox({
      inline:true,
      href:"#gallery-nav-instruct"
    $j.cookie("gallerycookie", 1, {
      expires: 30,
      path: '/'
If I move the script to call Colorbox outside of the Head section it completely breaks the gallery - any ideas as to why as that may help if I can place the code at the end vs the head.
I  have posted this question over at Stack Overflow with no help at all and any assistance would be amazing!
One other note: I am using jAlbum on the page and I do not see any conflicts but could there be an issue? I cannot post that code here as it would exceed the post limit.
To trigger this error start at http://tinyurl.com/7lgqdve , a lightbox will appear. Click Message Examples (lower left hand corner of lightbox or first item in menu without lightbox).
Here is a direct link to the http://tinyurl.com/6ub72og if needed. (Going to the page directly will not trigger the error.)

Hi,
I think you'll get better answers to this in the Dreamweaver forum. 
http://forums.adobe.com/community/dreamweaver/dreamweaver_general?view=discussions
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Hi, recently i bought macbook pro with retina display and installed windows 8 professional original software also. but in windows 8 track pad is not working properly. can you help me with providing drivers for trackpad to work on windows 8 professional .

    hi, recently i bought macbook pro with retina display and installed windows 8 professional original software also. but in windows 8 track pad/ TOUCHPAD is not working properly. can you help me with providing drivers for trackpad to work on windows 8 professional .

    Did you download and install the Windows Support software? If you did, did you use the Boot Camp Control icon to set up the trackpad how you want it?
    http://www.apple.com/support/bootcamp/
    https://discussions.apple.com/community/windows_software/boot_camp

  • Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Many, many thanks for both of you Todd and Rick.
    to Rick:
    I suppose you mean the Color Settings in Project Settings as follows:
    - Working Space: None
    - Match Legacy ... Gamma Adjustments checked ON
    But it does not correct the colors in effects. And checking or unchecking Make Movie/Output Module Settings/Color Management/Profile/Preserve RGB does not make any difference.
    to both of you:
    Those parts of the video image that does not have color effects are just fine. In these parts the color is preserved when reimporting to FCP. However, those parts having color effects (except Levels, as decribed earlier) have altered color results. So, only the parts having effects affecting color are misinterpreted in the image area. The mismatch is of course seen in AE, before making the movie.
    What I ment with "Color Management not working properly" is that (instead of "disabling" it) Color Management does not seem to be able to correct this "misinterpretation" or difference in effect handling between AE 6 and 10.
    So, would you have any solution for this problem?
    Again, many thanks for your fast replies!

  • My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem.  I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.

  • Spry dataset is not working properly in IE8, Help me plz...

    I am a new user of dreamweaver CS5. I have designed some pages which are using Spry Dataset. It is working perfect in Firefox and IE 7 but it was not working at all in IE 8. Ben asked me to paste the following into the <HEAD> section
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    and after doing that it was working properly. But today I tested my site again and I came to know that it is only showing the Master Table, when we click on any master Picture of Spry Dataset it is not showing the details.
    Here is the link of  my site
    http://dsdforu.com/WomensKNewArrivalCollection.htmlhttp://www.dsdforu.com/WomensKSDWCollection.html
    I was trying to solve it by myself but I can't. Can any one tell me what am I doing wrong? or what would be the solution.
    Thanks for your time.
    Suboohi

    Hi Suboohi,
    I think the problem may be the pictures themselves. They do not seem to be loading quickly which gives the impression that they are not showing, especially when you have a slow connection.
    You might look at optomising the pictures and preloading the images to allow your site to work properly.
    I hope this helps.
    Ben

  • I just bought an Iphone4 from straight talk and my camera does not work. The shutter wont open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile and now that I have it, it does not work properly. Need help

    I just bought an Iphone 4 from straight talk. My camera does not work. The shutter does not open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile. I want the issue fixed.
                                                                                                                                                     Thanks

    Take the iPhone to an Apple store genius bar for testing, and if it is defective and under warranty they will replace.  Since you say iPhone 4, was this a used or refurbished iPhone? 

  • My JQuery/CSS is not working properly in Firefox on the first load. After hitting refresh, it works fine.

    I am a very amateur web designer, who is also very new to CSS, so please be gentle…
    I am having a very frustrating issue with Firefox. My website is designed so that when my main menu navigation bar is too long for the screen, it automatically converts into a drop down menu. Naturally, this function is to better serve mobile and tablet devices.
    This feature works perfectly on every browser except for Firefox. With Firefox, my main navigation menu bar is converted to a drop down menu, even though I am viewing it on a standard laptop, not a tablet or mobile device.
    AND, as soon as I refresh the page, it displays just fine. And, as long as I don’t clear my history or cache, it will continue to display just fine.
    Not a “huge” deal, but super annoying that new visitors to my site who are using Firefox get this experience as their first experience.
    I have studied my CSS code for hours, searched through countless numbers of CSS forums for help, tweaked every bit of code I thought was relevant, and I am completely baffled.
    I do realize that a simple JQuery is what tests the menu size, so it's probably something wrong there? Or maybe there is some sort of overstack issue occurring? Maybe not. Who knows – as I say, I am an amateur.
    If anyone could look at my code and give me some help, I would be very appreciative.
    My website is http://mikerylander.com
    Thanks!
    PS: This is the first time I’ve not been able to solve a CSS or HTML problem on my own, so hopefully the answer isn’t something ridiculously easy.

    I see the menu when the browser window is wider than about 1180px.<br />
    If the window is smaller than I get the menu button.<br />
    In Google Chrome this works the same.
    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the mozillaZine forum site in order to post at that forum.

  • Windows 2003 server scheduled tasks not work properly. Please help.

    I created a couple of windows shell scripting programs. When I call them from command line, it works well. Then I use Task Scheduler to schedule them to be run daily. The strange thing is: If I log into server and open Task Scheduler window. The scheduled tasks will run automatically and execute with result code 0x0. It works well. However, if I just set up Task Scheduler and log out of the server, the scheduled works will not run with result code 0x80. Here is the log info
    "programname-parametername.job" (programname.cmd)
     Started 1/28/2010 11:20:00 PM
    "programname-parametername.job" (programname.cmd)
     Finished 1/28/2010 11:20:00 PM
     Result: The task completed with an exit code of (80).
    I used windows adminstrator account, not system account to schedule the work. I changed scheduled work to be run by my admin account, not by system account. Please advise me where is the problem and how to fix it. Thanks in advance.

    Hi Polarisws,
    According to your description, I understand that your scheduled task did not run when the user is not logged in the system.
    Please go to the services.msc and select the "task Scheduler" service, double-click it and go to "Log On" page, enable the option "allow service to interact with desktop" and test the result.
    Regards,
    Wilson JiaThis posting is provided "AS IS" with no warranties, and confers no rights.

  • Since updating to this new version my facebook game farmville will not work properly can you help please

    i have farmville on my facebook page.since updating to this new version of firefox it will not load certain things from farmville.can you please advise

    Hi
    Are you still facing the same error ? If yes, are you getting this error everytime you are trying to export ?
    Please try again and check.
    This is basically a compilation error , where files are not converted into proper format correctly.
    Thanks,
    Sanjit

  • Speech english(India) not working properly

    In my Lumia 625 speech English(India) not working properly. Please help for the sake of respect of Lumia smartphones.

    It's not working properly HOW
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • Maximize/minimize and close buttons do not work properly

    Suddenly the buttons at the top right are not working properly. There is no change in appearance when hovering the mouse over it. This does not occur immediately after I open firefox but shortly afterwards. I noticed by accident that if I open the options box and close it again these buttons will work for a while. It also applies to dialogue boxes that open up as well. I did not add any plugins, but I do believe there was a recent update for firefox installed. Thanks

    Thanks, however I am on release 18.0. I am not quite sure yet but I think the problem may have solved itself. Since I first posted if happened a few times but nothing over the past couple of hours so perhaps the issue resolved itself. I'll repost if it does. Thanks again

  • Camera Raw CS6 not working properly

    I have upagraded from Ps Cs5 to CS6.
    I open a file in CR, and modify the exposition. After that, I modify the clarity: immediatly, the exposition goes back as it was before the modification ...
    After the work on CR, I finish the file and go back to bridge: the image is not modified ! But if I dobble click on the same image in bridge, the file is opening in CR with the modifications: so this modifications are note visble on bridge ...
    Some body can help me ?
    I work with the last version of Br and Ps CS6.
    Thanks,
    Michel,   [email protected]

    Thanks a lot, Adriana, it is working ! You are right, it is the Nike plugins responsibility. Everything is OK now.
    Salutations and many thanks from Guadeloupe, French West Indies
    Michel GOGNY-GOUBERT
    Le 4 mars 2014 à 17:42, adriana ohlmeyer <[email protected]> a écrit :
    Re: Camera Raw CS6 not working properly
    created by adriana ohlmeyer in Adobe Camera Raw - View the full discussion
    If you have Nik plugins installed, please check reply # 8 on this thread:
    http://forums.adobe.com/message/6045415#6045415
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6179192#6179192
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6179192#6179192
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6179192#6179192. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Camera Raw at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • HT201210 AUDIO NOT WORKING PROPERLY AFTER INSTALLED IOS7

    After installed ios 7
    photos not able to see fully
    audio not working properly.... [no treble, no depth in sound, very low soung even the volume is full]
    get strucks while playing games

    This board is full of people that are update crazy...
    even when they have perfectly good working systems.
    i know i thought well it's just a security update not a major update.
    Best advice... whenever updating the OS, unplug all
    firewire devices.
    will take note of that from now on.
    Was this auto-update? Try downloading the file and
    running the update again with all firewire devices
    unplugged.
    While the 828 is disconnected perform the factory
    reset
    again.
    Disconnect the firewire cable from the 828mkII
    -Press the Setup knob
    -Turn the Setup knob all the way to the right
    -Press the Select knob
    -Press the Value knob
    -Power off the interface and plug the firewire cable
    back
    in
    -Power the interface back on
    i have the original 828 not mark 2, so no reset i know of, just power on off.
    After the Mac updates... reboot and plugin the 828,
    see if that doesn't get you going.
    pancenter-
    cheers pancenter, i'll give it a whirl updating without the interface plugged in. thanks for all your help.

  • Firefox firebug not working properly since last one week.

    Firebug addon is not displaying icon and not working properly. Anybody have any idea about this.Thanks in advance.

    My Firebug is still working.
    * What version are you using ?
    * As a troubleshooting step Try in a new Firefox profile. Disable all extensions and Plugins other than Firebug in the new profile.
    **[[Use the Profile Manager to create and remove Firefox profiles]]
    *The Firebug mailing list may be able to help
    ** https://getfirebug.com/community

  • Plugins NOT working in Logic 8

    Here, the following 3rd party plugins are not working properly in Logic 8:
    - VSL Performance Tool v. 1.1
    - NI Kontakt Player 2 v. 2.2.3

    In KP2, the contextual menus do not appear just rolling over the mouse: you need to click, hold down the left button and then drag. If you left the button, the menus won't appear anymore.
    In KP2 stand-alone you just click and roll the mouse.
    Message was edited by: miCoqui

Maybe you are looking for

  • HTMLDB 1.6 - 'Create Application' button results in Error

    Hi, I've downloaded and installed HTMLDB 1.6 from OTN and have followed the instructions from the OBE tutorial. After fighting with the dads.conf file and the HTTP server, I've managed to log in and complete the tutorial. The problem I now have is th

  • Volume slider for text to speech synthesis.

    Hi everyone, In a spot of bother with my slider have tried almost everything.This was my last attempt while it compiles and runs it does not have any effect. Please help!. volumeJSlider = new JSlider(JSlider.VERTICAL, minimum, maximum, initValue); vo

  • Doubt in exits for miro tcode

    Hi all,    I have to change the account posting no in MIRO transaction.For this an user exit LMR1M002 is used but this fn module doesn't hold the value for a/c details.So i checked with BADI INVOICE_UPDATE.But I am unable to find whether that BADI is

  • Interface screen to Oracle database

    We are using oracle10g database. Customers calls ops team and ask about their security questions. Every time, we need to run the sql query and find answers for them. We are getting lot of request every day. I wanted to develop interface and i want op

  • Anyone know how to uninstall the latest update so Java can work again?

    Java Preferences in utility has disappeared, a hot of applets and applications that require Java no longer work, total disaster...:-( How do I uninstall latest Mountain Lyon update of a few days ago, and/or Mountain Lyon and Lyon? Thanks for any help