colorbox

jquery plugin not loading -- script failing

I've tried this with a couple of different plugins, so I'm sure it's not them. I also have one running on my personal machine and it works just fine. I'm loading jquery and then loading the plugin second. Then the next line of code is calling the plugin via: $("a[rel]").colorbox(...) or $("a[rel]").overlay(...) and I'm getting "...

How can I dynamically resize the jQuery Colorbox plugin?

The AJAX content loaded in a Colorbox has some JavaScript included that resizes things within the content. Colorbox determines its sizing based on the sizes before all of the AJAX happens. How can I make the Colorbox resize after the content has been loaded? Here is a link where someone said that you can call colorbox() again after it's...

How to use the lightbox plugin colorbox?

I want to show the contents of a hidden div in a light box when the page loads. How can I do this with color box? What I'm not understanding: Do I need to use their CSS files? Which ones, where is it? How do I make the lightbox come up when the page loads? I tried this but no luck: $(document).ready(function(){ $("#div_id_i_wa...

How to construct a URL to open a page with jquery lightbox plugin colorbox?

I am using jquery lightbox plugin colorbox (http://colorpowered.com/colorbox/) and i want to be able to construct a URL like www.example.com/about-me.html which will send the user to my website and open the iframed page (about-me.html) within the lightbox script. I believe i have to use event hooks or something but i am not sure how to ...

Why does ColorBox does not appear in Internet Explorer?

I am using ColorBox to show details of events on a calendar. The address to view it is http://www.idea-palette.com/greatoppseventcal/calendar6.php In firefox, when the user clicks on a day with an event, the lightbox opens and displays the event information from the database. In Internet explorer, when the user clicks on a day with a...

Force loaded / displayed image to link to an html ( my post ) page in colorbox

Hello, I'm using custom meta data to display images as a post in wordpress. When I click the image on my main page it opens in colorbox and this is perfect. WHAT IS HAPPENING : now, with the image loaded into the colorbox, when I click on the image it cycles through the images on my home page ( NOT what I would like ). WHAT I WOULD L...

modal window problem

Hi, I am using colorbox a jquery plugin to emulate modal window which is not able to overlay flash movies and youtube video. I have experimented with the z-index but nothing seems working. Please enlighten me on this. thnx in advance ...

Why is document.body == null in Firefox but not Safari

I have a problem with a page where I am trying to get colorbox (a kind of lightbox for jQuery) working. It doesn't work apparently due to the document.body being null in FireFox (3.5.3). This is not the case in Safari (4.0.3) where the colorbox works. Something that jumps out at me is that (I'm using Drupal 6) drupal has appended a scri...

Bind to jQuery event only for particular elements

I am relatively new to jQuery but the below code seems logical but is not working as I would expect. I am utilizing the Colorbox jQuery plugin. My intention is to only add a listener for the 'cbox_closed' event on 'a' elements who have an id that contains 'Remove'. Unfortunately, as presently implemented this adds the listener on all ra...

JavaScript mechanism for holding onto a value from a user action

I've created a JavaScript object to hold onto a value set by a user checking a checbox in a ColorBox. I am relatively new to jQuery and programming JavaScript "the right way" and wanted to be sure that the below mechanism for capturing the users check action was a best practice for JavaScript in general. Further, since I am employing jQ...

jQuery.Colorbox after jQuery.scrollTo

Hi my friends. I am working with two plugins in jQuery: jquery.scrollTo and jquery.Colorbox and I'm having an issue, quite simple I think. What I want to do is to fire colorbox just after the scrollTo event ends. ScrollTo actually supports callbacks with the setting onAfter and it works with simple alert() messages. But when I write a...

jQuery Colorbox: AJAX content works fine on localhost; not on remote server

I'm using the Colorbox lightbox plugin to display lightboxes with "Outside HTML (Ajax)" on my page. I'm using all defaults from "Example One" (from the website). Trouble is, the lightbox works flawlessly on my localhost machine, but displays an endless loading graphic when I try it on my remote server. The page I'm trying to load is i...

jQuery Conflict with mousewheel

I'm a designer doing a commemoration project for Red Cross Australia's 2004 Tsunami clean up efforts. The project is a timeline to commemorate all the work that has been done for the last few years. Note: As a first time user I wasn't allowed to include more than 1 link, so I'm sorry for all the urls I have pasted in. I'm using two jqu...

jQuery ColorBox confirm override modal dialog?

How would I use ColorBox to create a 'confirm override' modal dialog that can interupt a form submission until 'yes' is clicked. Simple Modal has a similar function, but I much prefer colorbox's implementation and documentation, otherwise I'd use the latter. ...

Javascript problem when mixxing Cutesoft Edit and Colorbox

I have a slight javascript problem, and this is the reason to why i dislike javascript. On my page i use Colorbox to popup a div with the possibility to add a new image. Then i use Cutesoft Editor as an Image Picker that opens a Window where the user can select an image. My problem is that the Image Picker window opens behind the Colorbo...

jQuery / Colorbox - create a separate link to open the colorbox?

I'm trying to open a jQuery Colorbox from a link outside the rest of the colorbox images. So, all of the examples look like this: <a href="image1.png" rel="group1"><img src="thumb1.png" /></a> <a href="image2.png" rel="group1"><img src="thumb2.png" /></a> <script>$("a[rel='group1']").colorbox();</script> OK, that's fine, but I also ne...

jQuery - ColorBox new window issues

I love colorbox, but I have been running in to a couple of issues that I would like to try to get resolved. 1) When you right click a link - open link in new window, it displays the colorbox link in a new window and I lose my entire layout. Is there any way to check if the link is being opened in a new window, and if so, display a diff...

Close ColorBox iframe after submit

I'm using jQuery ColorBox to show a shopping cart item. When a user enters the quantity in the iframe and clicks on the submit button, I want the iframe to close and main window (parent) to be refreshed automatically. I mean I want two things after submitting data on iframe: iframe automatically closes. parent window automatically re...

how to close colorbox within iframe?

i have a page manageGroup.php, where user can also add member to group. I used colorbox to show the addGroupMember.php. Now i need to close that colorbox once i have done submitting the form. javascript i am using in manageGroup.php <script language="javascript" type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="te...

using jquery on child page

if i load('mypage.htm') into <div id="placeMyContentHere"> do i need to put JQuery in "mypage.htm". I'm using color box ( of light box ike) on my child page. If i add jquery.js & colorbox.js into mypage.htm it works. Though i can't helping thinking there is better way. Here is how i normally call colorbox $(document).ready(functi...