I'm looking for the code to enable a popup to apear when the user presses a link button for a designated page and I would like to have a popup appear when the user enters that page. I hope Ive explained myself OK. Thanks for any help.
For question one: ...code to enable a popup to apear when the user presses a link button for a designated page... use this (THIS PART GOES IN THE <HEAD> SECTION OF THE HTML)
<script>
function openwindow(file,name,prefs) {
var wind = window.open(file,name,prefs);
}
</script> and this part goes where the button (or link) is: <a href="javascriptpenwindow('
','window1','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=no,width=500,height=350')">View</a>
Now that code works like this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.