colorbox

colorbox check parent element exist

Hi, i am using colorbox to open a window that appears a grid with categories. After select the check boxes i draw the categories at parent window.So far so good. My problem is that before draw i check if the category exist in parent window but its not working if($('#cat-2', window.parent.document).length==0) $('#categories', window...

jQuery colorbox : How can I change the position of the colorbox

By default the colorbox appears centered both vertically and horizontally on the screen. Is there a way to change that, for example to 10% from top vertically and centered horizontally? ...

Galleria + Colorbox working in IE, not in others

I thought I had this worked out, but unfortunately it does not work in FF or Chrome. I have a list of images that I would like displayed as a slideshow with carousel on my page. When the user clicks on the larger image I would like it to open a full size image in a lightbox. Here is the code that works in IE: <script src="Scripts/jqu...

jquery - colorbox plugin, I need to submit form via ajax

If I'm using the colorbox plugin, how do I submit a form via ajax and then make a new modal out of the response? For example, the user clicks a link and a modal pops up. They fill out the form and click submit and then the modal should change to the next form. Then they fill out the next one etc... ...

passing an input field value through a querystring using jquery

I trying to store the value of the input field tbEmail into str so when the user clicks the submit button the value of tbEmail will be added to the querystring. If i change this so that it reads var str = "this"; then this works. Is this the incorrect way to get an iput field value in jquery? Any ideas? <script type="text/javascript"> ...

Why is ColorBox not loading properly?

The error I get is: $ is undefined Line 8 which is: $.colorbox({html:'<p>TEST TEST</p>'}); This is how the page renders: <script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.min.js?Y"></script> <script type="text/javascript" src="/misc/drupal.js?Y"></script> <script type="text/javascript" src="/sites...

Colorbox shows under flash

I am using jQuery's colorbox to open up an iframe on a page. On the page there are two flash SWFs. When I click the button that opens the colorbox, those flash SWFs appear over the top of my colorbox div. I've checked the CSS properties of the colorbox, and the overlay has position:absolute and z-index:999. I have given the SWFs a z-inde...

Close colotbox callback only if a button is clicked inside the colorbox

I use onClosed:function(){ window.location.reload(); } option to reload the page after the colorbox is closed but I don't want to always perform the reload but only when a user clicks one HTML button inside the colorbox. Colorbox is closed if one clicks outside the window somewhere or the close button... I don't want to close colorbo...

Colorbox multiple image slideshow by clicking one image

Please take a look at this site as a reference: http://www.philsalesses.com/plasma-pong/ On the left you'll see a screenshot of an image. If you click the image, it will open colorbox for that one image. I'm using wordpress, so associated with that post there are 4 more screenshots, all in a gallery. What I want to do is when you cli...

Problem with jQuery Colorbox

Hello, I have a website that uses ajax jquery and colorbox. Inside the div "#content" there are some links to other pages that open fine using colorbox. If I reload the content of that div using ajax jquery , then the links wont popup using colorbox effect anymore. I tried to create a function that I would call whenever I call the fun...

Possible to implement an XForms Color Picker? (Not using Orbeon)

Hi! I'm looking to implement an XForms Color Picker/Selector/Control (you know where it shows boxes or shades of colors in a dropdown type control). Is it possible to do this in XForms (without using Orbeon; I am using XSLTForms)? Is so, how is it implemented, or can anyone point me to (simple) code examples that do? Thanks! :) ...

Dynamic image and Ajax in ASP.NET MVC

I'm trying to show a detail partialview using ajax and colorbox. It's working fine but only the first time. After that GetGraph is not run and the first image is displayed again. If I reload the entire page it's working one time again. The detailinfo is updating OK it's just the chartimage that's not working. Somewhat related question ...

Drupal Gallery Formatter and Colorbox

Can anyone tell me how to make Gallery Formatter open a Colorbox modal when the slide is clicked? I have both modules installed as well as CCK, etc... Also, I have made sure that the colorbox library is properly installed, too! I know it is probably something simple, but it has eluded me up to this point! I am using the Drupal Colorbox m...

AJAX onclick on fires once, error thereafter

I am using Highcharts (http://highcharts.com) and attempting to display a colorbox (http://colorpowered.com/colorbox/) when I click a bar chart column. Highcharts allows attaching a method that gets called on click (Highcharts docs). This works great for something as simple as calling an alert, or providing static HTML to the colorbox, ...

Can I attach colorbox to head?

I am using Colorbox 1.3.6 with jQuery 1.4.2. Somehow the folowing code did not work for me: $(document).ready(function() { $.colorbox({href: "something.htm", open: true}); }); which won't show up automatically, but this one works: $(document).ready(function() { $("#some_element").colorbox({href: "something.htm", open: true});...

Drupal Colorbox module and IE

I have about pulled out my hair on this one! I am trying to get Colorbox to display the borders properly in IE7 (IE6 too, but I'll take IE7, at the least!). You can see what I am seeing here. Click on a picture in the gallery or on the login link. Either way, colorbox is supposed to be appearing correctly. It works fine in FF, but the...

jQuery validation plugin and Colorbox

I am opening up both a registration form and a login form in a modal window using Colorbox Unfortunately, the jQuery validate plug in doesn't work anymore. I did a search and found someone a question with the answer I needed here at Stack Overflow. I'm not really well versed with JavaScript yet so I had a bit of a problem implementing t...

Jquery colorbox breaks on page that uses another jquery function in ie

Hi I have a colorbox which opens on every page when the user clicks a button at the top of the masterpage. I have an FAQs page that I have just discovered breaks the colorbox in Internet Explorer. This script appears before a repeater that shows the faqs. basically it hides the answers to questions until the user clicks on the question....

ie8 page hangs before load complete

I am experiencing and issue only in IE. In FF, Safari, and Chrome, behavior is as expected. After running the IE8 dev tools profile on the pages, all signs point to the jQuery .css() function, although the details in the call stack make it impossible to find the culprit. I get no filename or line number whatsoever. The site is http://...

How can I get Colorbox to appear in a div?

At the moment I've got Colorbox setup so that it starts automatically when the page loads, but I need to place it in a div on the page, instead of hovering in the center of the page. How can I do this? Thanks for reading. ...