tom_c wrote
Hi tsom,
Sorry that was my mistake. I created that file by showing the page source on his examples and taking the following code for an iframe implementation.
This is the content of linkColorBox.js
jQuery(document).ready(function(){
jQuery(".iframe").colorbox({iframe:true, width:"90%", height:"90%"});
});
I usually test the download but rushed on this one. I updated the ColorBox download to contain the missing file. I also update the ColorBox plugin page on dokuwiki to explain that file. I added a ToDo List that would make this plugin more user friendly by specifying the specific implementation in the command line and remove the file linkColorBox.js. That file is one example implementation.
Tom
Thanks Tom. I still couldn't get it to work.
I made sure that /lib/scripts contains the three necessary files and the plugin is updated to the most recent version. However, upon testing the plugin using
<colorbox>&class=iframe&link=http://www.jacklmoore.com/colorbox&name=ColorBox&</colorbox>
{{keywords>colorbox}}
I get the following error displayed on my page:
Warning: Invalid argument supplied for foreach() in /home/mydomain/inc/common.php on line 245
Any idea what that is about?
Edit: This was later resolved with Tom's help. There was a clash with the metaheader plugin producing the error.