I have seen this asked and followed everything but it simply doesnt work for me
Could anyone tell me if they see anything wrong h开发者_开发问答ere? Im not very good at this yet, I am sure it must be something simple.
My goal is to display a popUp once the page is loaded.
Any help is appreciated!
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
function showPopUp() {
var where = "images/popup.jpg";
var title = "";
var comment = "";
$.prettyPhoto.open(where, title, comment);
}
showPopUp();
});
</script>
Problem has been fixed in version 3.0.3.
Solution was found here: isSet is not defined
精彩评论