Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
window.open looks like the thing for you!
It is of the format:
window.open(URL, title, features)
another confirm ...
<!-- hide me
// end hide -->
AND THEN CALL IT WITH:
<input type="submit" value="write to us" class="botun" onClick="plainWindowF();">
INSTEAD OF THIS I CAN WRITE SIMPLY:
<input type="submit" value=" scriveteci " class="button" onClick="window.open('form.html','form','width=470,height=452,left=10,top=163,location=no, menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes');">
WITHOUT USING THE FUNCTION? RIGHT?
You can open the window directly from the onClick without the need for a function.
Although, a function would make your code neater!