Thread: form
View Single Post
  #4 (permalink)  
Old 04-10-2008, 02:30 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 7,436
Last Blog:
Web slideshow in JavaS...
Credits: 1,322
Rep Power: 61
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: form

To load a window, do something like this in the (X)HTML Code:

Code:
<input type="button" value="Enter Details" onclick="javascript:window.open('myform.html')" />
The line javascript:window.open() will open a new window, at the press of the button. You pass in the name of the form file. There are extra parameters the open() method can take, which can be looked up on W3Schools Online Web Tutorials.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Mr. Xav | Website | Forums | Blog
Reply With Quote