HTML

HTML

HOT TUTORIALS

Using Colorbox JQuery plugin to autoload a Lightbox

Here the sample code using Colorbox JQuery plugin: <html> <head> <link rel="stylesheet" href="http://www.jacklmoore.com/colorbox/example1/colorbox.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="http://www.jacklmoore.com/colorbox/jquery.colorbox.js"></script> <script> $(document).ready(function(){ $(".inline").colorbox({inline:true, width:"50%"}); $(".inline").trigger('click'); }); </script> </head> <body> <p>Wellcome to Tutorialspots.com</p> <!--colorbox start--> <a class='inline' href="#inline_content" style="display:none;">Tutorialspots.com</a> <div style='display:none'> <div...