ColorBox and AJAX doesn't like working?
Hi,
I'm trying to get the following code working:
- <link media="screen" rel="stylesheet" href="/links/static/luna/colorbox.css" />
- <script src="/links/static/luna/jquery.colorbox.js"></script>
- <script>
- jQuery(document).ready(function(){
- jQuery(".viewmap").colorbox({width:"475px", height:"375px", border: "black", iframe:true});
- });
- </script>
The code works fine for the main part:
http://www.campingholiday.org/cgi-bin/links/page.cgi?g=Google_Maps
Click on "Contact Propriétaire" (one in the main content, and one nearer the footer)
For some reason though, when I do a search of the map on that page using "Esperaza", and then click on
"Contact Propriétaire" (shows up under the images in the left sidebar) ...it simply loads the page as a new window - and not in colorbox!
I've tried several different plugins to achieve the same thing - and they all work "outside" of the map div, but not when inside the left sidebar!
Can anyone spot whats going on? I'm at a bit of a roadblock here!
TIA
Andy