<a class="ui-btn ui-corner-all ui-shadow ui-btn-inline" href="#popupBasic" data-rel="popup" data-transition="pop">Basic Popup</a>
<div id="popupBasic" data-role="popup">
<p>This is a completely basic popup, no options set.</p>
</div>
echo "<a target='_blank' href='".BASEDIR."Your Image.jpg' class='box_link' title='Your Title'>
<img src='".BASEDIR."Your Image.jpg' border = '0' width='100%' alt='' />PopUp</a>";
add_to_head("<link rel='stylesheet' href='".INCLUDES."jquery/colorbox/colorbox.css' type='text/css' media='screen' />");
add_to_head("<script type='text/javascript' src='".INCLUDES."jquery/colorbox/jquery.colorbox.js'></script>");
add_to_head("<script type='text/javascript'>\n
/* <![CDATA[ */\n
jQuery(document).ready(function(){
jQuery('a.box_link').colorbox({
width:'98%', height:'98%', photo:true
});
});\n
/* ]]>*/\n
</script>\n");
Category Forum
Modifications and Requests - 8Labels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions