colorbox

Problem loading php page via shadowbox

Hy I have a html page in witch I want to open a php page via shadowbox, the problem is in IE 6/7/8 the page is loading but it is not displaing, it works perfectly in FF this is the hole page, the problem occures when you click on [email protected] at the bottom of the page. I have tried using colorbox and thickbox <!DOCTYPE H...

Getting jQuery plugin to act on dynamically loaded (ajax) content

Hello Stack geniuses! I have one jQuery plugin (colorbox) that loads a modal popup window (with an external html file). <-- works perfectly by itself. I have another jQuery plugin (jScrollPane) that loads custom scroll bars for divs. <-- it too works perfectly by itself. Both have a JS component and a CSS component. My process thus f...

how can i set the video's height and width to fill the colorbox ?

hi; the video is shown in a colorbox.But this doesn't fill the colorbox.How can i solve the problem?here is the colorbox code. $(".aHelpSource").colorbox({ iframe: true, innerWidth: 700, innerHeight: 400 }); here is the code which for the video. "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' width='150%' height='150%...

php variable to know when jquery has loaded?

I know you can get a $_SERVER['HTTP_X_REQUESTED_WITH'] php variable if jquery has loaded. That's great but if you use an iframe then that variable is no longer available. Is there a way to detect if jquery has loaded and give php a varaible in an iframe? I don't want to load a header or footer if jquery has loaded 100% but otherwise put ...

jQuery ui.selectmenu not working with latest version of jQuery and Colorbox

I am using ui.selectmenu inside colorbox. It's work well with either, jQuery or colorbox having older version. It work with below two combinations: jQuery 1.3.2 and colorbox 1.3.8 jQuery 1.4.2 and colorbox 1.3.0 If does't work with: jQuery 1.4.2 and colorbox 1.3.8 The problem is destroy method of ui.selectmenu call immediately after...

How to close a Colorbox from a Controller in CodeIgniter?

I have a Colorbox (lightbox) loading a specific controller/view. Is there any way for me to close the colorbox from within the controller? ...

JW Player not autostarting in a colorbox modal in Internet Explorer

Hey guys, I'm having problems getting JW Player to autostart videos that are in a colorbox modal in any Internet Explorer browser. It appears that the player does indeed load as a black box displays with the JW Player watermark. Also, the watermark fades away as if it thinks its playing the video, however, it just displays a black block...

closing jquery colorbox before load breaks jquery,....

I am using jquery colobox to show the popup in my asp.net mvc(C#) application. Following is the line to call colorbox: $.fn.colorbox({ href: '/User/Detail', width: "1200px", height: "560px", title: "User Detail", overlayClose: false }); UPDATE(using the below with the latest version): $.colorbox({ href: '/User/Detail', width: "1200p...

Confirm closing Colorbox

I want to display simple confirmation popup box if a user tries to close colorbox. I tried this code: onCleanup:function(){ confirm('Are you sure'); } It displays confirmation box but colorbox is closed even if I click "Cancel"! Can anyone please help? ...

Group a collection of elements in Colorbox

I'm using the colorbox plugin and I'm trying to group a collection of elements. I doing something simliar the basic grouped photos in the examples (click any of the grouped photos). Instead of using images, I'd like to use a html div. The examples html/js looks something like this. js $("a[rel='example1']").colorbox(); html <p><a...

colorbox doesn't open at proper height when first opened

Hi, So i'm using the colorbox plugin for a contact form. I am just the default colorbox properties, so it should automatically adjust to the div it contains (right?). Well There is a small vertical scroll bar on this colorbox content when its FIRST loaded. I've seen it happen sporatically in Firefox and chrome for OSX example - scro...

Successfully using jScrollpane and Colorbox plugins together

Hi, Has anyone managed to get these two plugins working together: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html http://colorpowered.com/colorbox/ Am having no luck with the following: // Colorbox dialog window $('.w_price_assess p.price_report > a').colorbox({ title: "Price report", transition: "elasti...

Altering inline styles and HTML attributes on dynamically loaded iframe via colorbox

I am trying to remove some inline style that are produced on some tables in a page i am pulling in via colorbox iframe. jQuery: $('.w_price_assess p.price_report > a').colorbox({ title: 'Price report', transition: 'elastic', innerWidth: '900px', innerHeight: '699px', opacity: '0.5', iframe: true, onComplete:...

closing jquery colorbox modal window when clicking specific button which exists in the content came from external link

Hi everyone, I have a jquery colorbox application.In this application,When i click a link,a jquery colorbox modal box opens and it contents come from external link.There is a button inside of the content and i want to close colorbox window when i click that button.Is there any way to close colorbox modal window?There is colorbox's own cl...

Open an external page in a jQuery Colorbox

How can I open a jQuery colorbox with an external site loaded. I have tried: jQuery(document).ready(function(){ jQuery.colorbox({ href:"http://www.google.com", iframe: true }); }); But with no success. I have not been able to find an example of this from either the colorbox-site or SO. ...

jquery colorbox looks wrong the first time opened and then fine after that

I'm trying to dynamically (using ajax) get some content and create a modal (using the colorbox plugin) with it. The problem is that the content has some images in it. I think that the modal doesn't count them in it's height or width calculation or something. So if you close the modal and then open it it looks fine. (The first time you op...

jquery - colorbox question

I'm using the manual colorbox call like so: $('a[rel="example1"]').click(function(event){ event.preventDefault(); $.colorbox({ href: $(this).attr('href'), maxWidth: '90%', initialWidth: '200px', initi...

Closing Colorbox

I have a simple popup (not an Iframe) where a user can send mail to each other. There is a submit button to send the information and a cancel button which should close the overlay. I do have some trouble getting the close button to work. The code looks like this: <asp:Button runat="server" ID="btnCancel" Text="Cancel" /> <script type...

MediaWiki: getting content only

HI all, I'm building web applications with Python/Pylons/jQuery and I've got a help system implemented, but not populated. Each application "page" has a Help link in the footer than open a ColorBox popup with a specific URL to populate it. I'd like to use MediaWiki to supply the Help content, but I don't want the whole MediaWiki interfa...

Is it possible to start a colorbox based on a specified index?

I would like to be able to pass in the index of the image I want colorbox to start on when it opens. So if the user clicks on image 8 of 12 I still want the group to start in the lightbox on image 3. Is this possible? ...