hehe, you're welcome. :) - Peter
-----Original Message----- From: Lovelock, Richard J [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 15:22 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] Another interesting question that's nice - think I'll steal that too - cheers Peter ;o) _______________________________________________________ * Regards, Richard Lovelock, Senior Application Analyst. Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: Peter Harrison [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 15:22 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Another interesting question Hi Assuming you're new to this javascript thing, I've made a nice little example for you (not sure if it works in Netscape/Mozilla, feedback welcome): <html> <head> <script language="javascript"> function field_focus(theField) { window.status = theField.tag; } </script> </head> <body> <input type="text" name="field1" onfocus="javascript:field_focus(this);" tag="Enter your first name then last name"> <input type="text" name="field2" onfocus="javascript:field_focus(this);" tag="Enter your age in years"> </body> </html> - Peter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 14:53 To: [EMAIL PROTECTED] Subject: [ cf-dev ] Another interesting question Same form thingy as before. Now I want to tart it up and make it jazzy. I want to make it so that when elements of the form get the "focus" that a status line on the form will show information about that part of the form. For example Please enter your name Staus line shows "Firstname Lastname" I know I can force entry so that the user can only enter a certain way but I want this status line too.... Is this a Java thing? Again any Ideas welcomed Regards - Paul **************************************************************************** ********************* The information contained within this e-mail (and any attachment) sent by Birmingham City Council is confidential and may be legally privileged. It is intended only for the named recipient or entity to whom it is addressed. If you are not the intended recipient please accept our apologies and notify the sender immediately, or telephone +(44) 121 303 6666. Unauthorised access, use, disclosure, storage or copying is not permitted and may be unlawful. Any e-mail including its content may be monitored and used by Birmingham City Council for reasons of security and for monitoring internal compliance with the office policy on staff use. E-mail blocking software may also be used. Any views or opinions presented are solely those of the originator and do not necessarily represent those of Birmingham City Council. We cannot guarantee that this message or any attachment is virus free or has not been intercepted and amended. **************************************************************************** ********************* -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] ======================================================= This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ======================================================= -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
