Problem

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:

  1. Paste the first into the HEAD of your HTML document
  2. 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: :stuck_out_tongue:

thanks :stuck_out_tongue:

hmmm, it didnt show.

here you go
http://javascript.internet.com/generators/popup-window.html

ok i have another problem. i am clicking on my home button 100 times and it doesnt load it into the inline frame. i have checked the link over and over, i also checked if i had it loading in the frame. and it was set to.

any ideas?
thanks