Click to See Complete Forum and Search --> : onClick


Jordanweb
05-22-2005, 01:52 AM
OK....

i want a new window to pop up when i click a hyperlink but i dont want it to fill the screen i want a small box. can i set the paramaters of the new window and id so how would i lay it out in HTML?

Jordanweb
05-22-2005, 02:05 AM
and while im asking about onclick....

can i get a window to pop up on the click of a submit button?

Charles
05-22-2005, 06:12 AM
You'll have to use the rtransiotional DOCTYPE but <form action="some-script.pl" onsubmit="window.open ('', 'child', 'height=400,width=300')" target="child">