Friday, November 16, 2012

javascript – Opening the URL of a link in JQuery colorbox when it is clicked

i need help with this JQuery code i have.. i\’m still a newbie when it comes to JQuery but i have alot of codes here to test with.. you know just incase you need one so here\’s the code..



<script type=\"text/javascript\">
//onload popup
$(function()
{
$(window).bind(\'load\',
function(e)
{
$.colorbox({opacity:0.3, href:\"ext/popup.php\"});
});
});

</script>


now this time i don\’t want to load the page then let the form popup.. i wan\’t something to click like a link.. any suggestions?






Rating: 5 out of 5 based on 3 ratings



The post javascript – Opening the URL of a <a> link in JQuery colorbox when it is clicked appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/javascript-opening-the-url-of-a-a-link-in-jquery-colorbox-when-it-is-clicked.html

No comments:

Post a Comment