Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Electronic Gateways
 setfocus
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

unknown
Starting Member

8 Posts

Posted - April 04 2005 :  03:47:55  Show Profile  Reply with Quote
does anyone no how to set the focus of the cusor into a dialog box

devshb
Senior Member

United Kingdom
1904 Posts

Posted - April 04 2005 :  04:14:06  Show Profile  Visit devshb's Homepage  Reply with Quote
It depends on what you mean by a dialog box (ie a javascript alert, or a popup html/javsacript/asp window)


if it's any help, to focus the cursor onto a specific item (field, button etc) when the page loads, you'd add this inside the body definition:


onLoad="document.yourformname.yourfieldname.focus()"


(replacing "yourformname" and "yourfieldname" to whatever your real form/field names are that you want the cursor to focus on)

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00