PDA

View Full Version : Popup websites


xirus
05-25-2003, 12:52 AM
i have the website set but what do i need to make it go into the website <a href="javascript:popup()">Enter</a> is it this?

A1ien51
05-25-2003, 02:00 AM
You really are not stating your question clearly....

If you want to have an enter page and you want a pop up to open, you have to call a function like that. Is that what ou want?

xirus
05-25-2003, 05:31 AM
yeha thats what i want to kno

xirus
05-25-2003, 05:32 AM
where do i put the url?

shlagish
05-26-2003, 02:10 AM
Well, you put it in the function popup() in your javascript...


<html>
<head>
<script>
function pupup()
{

window.open("URL.html","name")

}
</script>
</head>
<body>
<a href="javascript: popup()">Enter</a>
</body>
</html>

xirus
05-26-2003, 09:41 AM
how do you make it so it has a fixed size and no resizing,scrollbars etc

zoobie
05-26-2003, 10:40 AM
Originally posted by shlagish
Well, you put it in the function popup() in your javascript...


<html>
<head>
<script>
function pupup()
{

window.open("URL.html","name")

}
</script>
</head>
<body>
<a href="javascript: popup()">Enter</a>
</body>
</html>


function pupup? :D

Anyway, use:

window.open("your_page.html","page_name", "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resiz able=yes");

Change to suit. If you don't want any of the above, just leave it out...and change pupup to popup. :p

You could call on your popup from a button, too:
<button onclick="popup();">Click Me</button>