colorbox

jQuery ColorBox - Changing the cboxWrapper when a link is clicked

I'm trying to change the class of the cboxWrapper when a certain colorbox link is clicked. For example: $(".register_box").click(function(){ var url = $(this).attr('href') + '-up'; $.fn.colorbox({open: true, width: "550px", height: "440px", initialWidth: "550px", initialHeight: "440px", transition: "none", iframe: t...

Colorbox modal opening/closing another Colorbox modal

Greetings. I have a need to have a 'child' modal opended from a colorbox modal. Form -> anchor -> opens modal ('parent') -> model has another anchor -> open modal 'child' The problem is that when the 'child' modal closes via the $.fn.colorbox.close() Method this seems to close all the colorbox modal windows. I just need to close the...

Jquery Validation plugin and Colorbox

Does anyone know the best way to get the Jquery Validation plugin to run when submitting a form that has been loaded dynamically into a Jquery Colorbox modal window? ...

ColorBox over Flash in Firefox, Vista

Hi I am using ColorBox over a Flash file which works just fine in all browsers on all platforms except for an annoying behaviour in Firefox on Vista. On calling ColorBox it pops up and displays the loading graphic fine, but once the content has loaded the ColorBox window resizes and then stalls for up to 10 seconds before showing the co...

Issue Implementing Colorbox Correctly in IE (all versions)

I've been pulling my hair out (and going way over allotted hours) to try and figure out why Colorbox isn't working properly on the following page: [link removed] I've set up a Colorbox test link on the very bottom right that says "Web Design By All Web Cafe", which should open up a small logo image. In Firefox, Safari, etc the modal be...

Apply the REL attibute automatically to posts using jQuery

Edited: I mean grouping as giving the same REL attibute to all IMGs in the same post, but each post has different REL as the example at the end of this question. So, I need to do the following: <div id="Blog1" class="widget Blog"> <div class="blog-posts hfeed"> <div class="post hentry uncustomized-post-template"> <a name="8829400899632...

Issue with jQuery & Colorbox. Dynamic href not reflecting change after first occurence

Hi, I am having a strange issue with jQuery (1.4.2) and Colorbox (1.3.6). I have an hyperlink inside an Obout grid created via a GridTemplate. The issue is with a dynamic href that I am executing with JQuery as follows: The grid hyperlink passes the Primary Key of a record to this function where I change the href of a link than open...

jQuery colorbox only binds to 1 element in IE 7 and FF 3.0

I'm just about finished writing a backend for a website in PHP/MySQL/jQuery, but my jQuery colorboxes aren't working in older versions of IE and Firefox. Steps to reproduce problem: 1. Navigate to http://swstrailers.com/ 2. Scroll to the very bottom and click the Login link in the right corner 3. Leave the fields blank and click the Log...

jQuery Colorbox Custom Pagination

I have a list of links that are inserted into a DIV element using jQuery and ajax. The list of links are paginated where I only show 10 links at a time. After the ajax call completes and the links are inserted into the DIV, I use the jQuery Colorbox plugin to open the link up in a nice Colorbox. Colorbox automatically groups the links th...

ColorBox (jquery plug in) my textbox values are empty after postback

Hi, I'm having trouble getting the values from text box when using ColorBox http://colorpowered.com/colorbox/ I have a form that opens a ColorBox modal dialog.In the modal i have a asp.net textbox and a button when i click the button i'm getting the postback but the value of the textbox is always empty. <script type="text/javascript">...

Add jQuery colorbox plugin to a dynamically created element

The usual way to assign colorbox functionality on a link is like this: $("a.colorbox").colorbox({ transition: "elastic" }); Newly added itmes are not bound in this way though. How can I add colorbox to dynamically created <a class="colorbox"></a> elements too? ...

How do I load new pages into my current jQuery colorbox?

I'm having a bit of trouble loading pages into an already-existing colorbox. I have a colorbox opened by clicked a link that is bound by the following code: $("a.ajaxAddPage").colorbox({ onComplete: function(){ $('ul#addPage li a').click(function() { $.fn.colorbox({href: $(this).attr('href')}); retu...

Any event to close the colorbox while it's loading?

Any event to close the jQuery colorbox while it's loading? ...

Sifr & Colorbox: strange gap in border of colorbox

There seems to be a strange gap on the left side of the colorbox when it's laying over a Sifr element. This picture shows the Sifr titles: This one shows the colorbox being toggled on. Mind the gaps near the Sifr titles: Does anyone know how to solve this? ...

Colorbox Plugin - Disable iframe close, on outside modal window click

While clicking outside modal window(iframe), it gets closed that's not suitable for forms etc.. how to disable this thing?? :S ...

how to give dynamic variable for href attribute inline colorbox

How to change inline colorbox 'href' dynamic like i want when i click on a 'tr' colorbox take it 'title' to 'href' and show it like <table> <tr title="project1"> <td></td> </tr> <tr title="project2"> <td></td> </tr> </table> <div id="project1" style="display:none">this is about project one</div> <div ...

Binding elements when modal window loads from AJAX (jQuery)

I'd like to set up a drag'n'drop list inside a modal window. The window's content is loaded via an AJAX call, so I believe I need to use jQuery's .live() method. Here is my current code: $('#cboxLoadedContent').live('load', function() { // Event for sortable page lists $('ul#pageList').sortable(); }); How can I set up binding...

Jquery loaded? Colorbox is available? Calling some js file via $.getScript are always downloading from the web server?

I am dynamically load js files with _tumIsler.js (_allStuff.js) <script src="../js/_tumJsler.js" type="text/javascript"></script> It contains: // url=> http: + // + localhost:4399 + /yabant/ // ---- ---- -------------- -------- // protocol + "//" + host + '/virtualDirectory/' var baseUrl = document.l...

JQuery Colorbox and Forms

I have a form which I want to submit and show in Colorbox. The form is Mals Ecommerce View Cart. See: https://www.mals-e.com/tpv.php?tp=4 I want it to Show the Cart contents in a colorbox iframe. Is this possible to do using the FORM method rather than the Link method? ...

Disable Esc close for colorbox

Hi, I'm using the colorbox plugin for jquery. I know I don't have to have a close button, and overlayClose: false will prevent the window from being close by clicking the overlay. Is there a way to remove the ESC key-listener event? ...