tags:

views:

407

answers:

0

Hi,

I´m working on something really crazy (http://www.chromax.de/portfolio/) and had many problems till now with the fancybox.

Ok, now I use the fancybox as an information viewer and need in that another lightbox to use it with the images that are already in the opened fancybox.

But in fancybox everything just works, when the it is called with 'callbackOnShow'.

So is it possible to call the fancybox right again as 'callbackOnShow'?

<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
    jQuery("a.group").fancybox({
                'hideOnContentClick': false,
                'padding'                    :    0,
                'overlayShow'            : true,
                'overlayOpacity'        : 0.95,
                frameWidth                : 624,
                frameHeight                : 613,
                'callbackOnShow': function() {   
   jQuery("a.fancy").fancybox
   ({
  'hideOnContentClick': false,
  'padding'     : 0,
  'overlayShow'   : true,
  'overlayOpacity'  : 0.95,
 }); 
 }); 
 </script>

or how to call the floatbox (this has a zoom feature)?

<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
    jQuery("a.group").fancybox({
                'hideOnContentClick': false,
                'padding'                    :    0,
                'overlayShow'            : true,
                'overlayOpacity'        : 0.95,
                frameWidth                : 624,
                frameHeight                : 613,
                'callbackOnShow': function() { please load "js/floatbox/floatbox.js" ;-)
 }); 
 }); 
 </script>

The floatbox is only a JS file, I don´t know how to load it with 'callbackOnShow'!