Let's say I have this page "index.php" and in it I have this link that calls a pop up box:
<a href="#" id="signinlink">Sign in</a>
the jquery function is:
<script type="text/javascript" charset="utf-8">
jQuery(function() {
function launch() {
jQuery('#sign_up').lightbox_me({centered: true, onLoad: function() { jQuery('#sign_up').find('input:first').focus()}});
}
jQuery('#signinlink').click(function(e) {
jQuery("#sign_up").lightbox_me({centered: true, onLoad: function() {
jQuery("#sign_up").find("input:first").focus();
}
});
});
</script>
How from iframe to call this function?
(* the iframe is called from parent page "index.php") I think i must add a link with
window.parent.callme();
But how? please help!