tried on FF, Chrome, Safari and IE8, Drupal 6.x with jquery_update-6.x-2.0-alpha,

evrytime I click on these two links it begin to expand the colorbox iframe but suddenly the link goes fullscreen replacing the page url:

<a class="gmapbox colorbox-load initColorboxLoad-processed cboxElement" href="http://maps.google.com/maps/ms?hl=it&ie=UTF8&t=h&msa=0&msid=211537143998427408335.000499d1b47591e96df6e&ll=42.636484,11.502857&spn=0.075392,0.137157&z=13&output=embed&width=900&height=600&iframe=true" title="">MAP</a>

and

<a class="colorbox-load initColorboxLoad-processed cboxElement" title="Video" href="http://www.youtube.com/embed/ZvctkhQES-c?width=640&height=390&iframe=true"><img height="46" width="54" alt="Video Villa Acquaviva" title="Video Relais Villa Acquaviva" src="/sites/www.villacquaviva.com/files/btn-video.png"></a>

Comments

math-hew’s picture

Same issue here.

frjo’s picture

Category: bug » support

You should not add the classes "initColorboxLoad-processed cboxElement" manually. The Colorbox plugin adds them, if you do it it will not work.

I just tested this and it works without problems.

<a class="colorbox-load" title="Video" href="http://www.youtube.com/embed/ZvctkhQES-c?width=640&height=390&iframe=true">Open video</a>
trotskyicepick’s picture

Just hit on the same problem. I'm just using a copy from the example page on the Colorbox home page :

<script type="text/javascript">// <![CDATA[
	$(document).ready(function(){
		$(".example6").colorbox({iframe:true, innerWidth:560, innerHeight:340});
	});
// ]]></script> <div style="position: relative;"><a href="http://www.youtube.com/v/goZmClAXYP0&h1=en_GB&fs=1&" title="SMART Reporter in Action" class="example6"><img src="/sites/default/files/smartadmin/Data-Entry-Video.png" alt="SMART Reporter Video" title="SMART Reporter" style="display: block; margin-left: 0pt; margin-right: 0pt;"></a></div>

This is identical to another site I have where this code works just fine. I'm using the same version of the Colorbox module and library, jquery, jquery ui and jquery update.

Not sure what is wrong.

trotskyicepick’s picture

Just done a few updates to several modules and Drupal core and all seems to be fine now. Don't understand why it still works on my other site which hasn't been updated.

frjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

joewickert’s picture

Hi,

Hope this helps someone. I had the same issue and fixed it by turning off the Google Analytics module.