i am using facebox
that give help for opening box from link
but i want to open box from jquery click function not from hyper l开发者_如何学编程ink.
like $("#Button2").click(function() { code to open facebox });
thanks
.
$("#Button2").click(function() { 
  // to load html/php page
  jQuery.facebox({ ajax: 'remote.html' });
  jQuery.facebox({ ajax: 'remote.php' });
  // load image
  jQuery.facebox({ image: 'images/dude.jpg' });
});
something like: jQuery.facebox('hi there')
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论