ok, i have 5 buttons on my html site, now i want to have one of the buttons open up a pop up window when the user clicks on this button.
<!-- TWO STEPS TO INSTALL POPUP WINDOW:
- Paste the first into the HEAD of your HTML document
- Use the code to open the popup page on your site -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval(“page” + id + " = window.open(URL, ‘" + id + "’, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=100,height=100,left = 350,top = 250’);");
}
// End -->
</script>
<!-- STEP TWO: Use the following link to open the new window -->
<A HREF=“javascript:popUp(email.htm’)”>Open the Popup Window</A>
<!-- Script Size: 0.73 KB -->
i tried to add this link to the button,avascript:popUp(email.htm but it didnt work.
is there any easier way to make it work.
any ways i am not any where close to being done with my site. i decited to use inline frames.:beam: :trout:
thanks