[wdvltalk] Re: JavaScript Question

2004-03-23 Thread R'twick Niceorgaw
sure it can be done

[EMAIL PROTECTED] wrote:

Hi all,

I was wondering if there is a way to check if a field in a form has been
left blank and, if it is, not have it appear on the e-mail (that I get
from the form processor.)

For example, my code is:

td width=5%
input type=checkbox name=Butternut Squash Soup
value=Butternut Squash Soup size=2 /
input name=Butternut Squash Soup quantity type=text size=2
maxlength=5 /
/td
td width=23%Butternut Squash/td

I want people to be able to check the checkbox if they want the item and
then put in the quantity in the quantity box.  If they don't check the
box, nothing for that item comes back on the form. When I get the form
back, it has all the quantity items, even if they didn't enter a
quantity.
Am I making any sense?
  


do not put spaces in the form element names (name=Butternut_Squash_Soup)
is good.

in the form .. tag add something like onSubmit=validate_form() like

form name=f1 method=post action=your_url onSubmit= return
validate_f1(this);

/form

now somewhere in the head part put something like

script language=javascript
function validate_f1(f) {

if ( !f.Butternut_Squash_Soup.selected)
f.Butternut_Squash_Soup_Quantity.value='';

}

put other form elements that u want to check in this function.

(NOTE this is untested. check a javascript book to get correct syntax)

HTH
R'twick

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set 
WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: JavaScript Question

2004-03-23 Thread mrport
Thank you - I will fiddle with this in the morning.

:-)
Riva

On Tue, 23 Mar 2004 23:00:19 -0500 R'twick Niceorgaw
[EMAIL PROTECTED] writes:
 sure it can be done


Riva Portman, MCIWD
Certified Webdesigner
Star Quality Designs
www.starqualitydesigns.com

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set 
WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: JavaScript question

2004-01-09 Thread Furry, Tim
Jim wrote:
Here are some URLs which offer chromeless window scripts: 

http://www.dhtmlshock.com/window-scripts/Chromeless/default.asp
http://www.xentrik.net/javascript/chromeless.php#

Interestingly, while both examples above have width and size specs, my
MSIE 6 browser opens them full-screen. According to 
http://www.dynamicdrive.com/dynamicindex8/chromeless.htm 
The dynamic drive script, it's not MSIE changing the specs, but the
operating system affecting the code (some kind of security precaution?).

Tim responds:
Also interestingly, none of the above work on my W2K/IE6 combination.  I
get an icon in the taskbar with no control - can't close it, can't open
it, nothing's showing on the screen.  Have to kill it with Task Manager.

Tim
___ 
Tim Furry
Web Developer 
Foulston Siefkin LLP 




 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set 
WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: JavaScript question

2004-01-09 Thread Jan
Jenni,
Glad I could help.
Jan

Pace Computing Limited wrote:
Hi Jan, 

I'll try this one out. I like your little alert message.  I
don't have one like that. That might come in really handy
:)
Thanks, 

Jenni


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
  Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
   http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.



[wdvltalk] RE: JavaScript question

2004-01-08 Thread jac
I don't seem to have it anymore but I think it was called chromeless
windows. 
Just googled ... have a look here:

http://www.chromeless.org/

hth
jac.

 -Original Message-
 From: Pace Computing Limited 
 Sent: 08 January 2004 17:35
 To: [EMAIL PROTECTED]
 Subject: [wdvltalk] JavaScript question
 
 
 Hi everyone, 
 
 Does anyone have a javascript that pops a new window, but
 without the title bar?  I have scripts that will remove
 everything else, but I also want to remove the title bar
 and just leave bit of chrome around all 4 edges.
 
 Any suggestions?
 
 Thanks, 
 
 Jenni


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set 
WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: JavaScript question

2004-01-08 Thread JimMenees
Jenni, 
Here are some URLs which offer chromeless window scripts: 

http://www.dhtmlshock.com/window-scripts/Chromeless/default.asp
http://www.xentrik.net/javascript/chromeless.php#

Interestingly, while both examples above have width and size specs, my MSIE 6 browser 
opens them full-screen. According to 
http://www.dynamicdrive.com/dynamicindex8/chromeless.htm 
The dynamic drive script, it's not MSIE changing the specs, but the operating system 
affecting the code (some kind of security precaution?). 

Hope this helps, 

Jim 


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set 
WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: JavaScript question

2004-01-08 Thread Peter Vidal

You could use:

a) http://javascript.internet.com/page-details/frameless-popup.html
b) Use the kiosk mode:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;154780

Hope this helps,
Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst
WWW.Pall.com
My religion consists of a humble admiration of the illimitable superior
spirit who reveals himself in the slight details we are able to perceive
with our frail and feeble mind.
Albert Einstein



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set 
WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: JavaScript question

2004-01-08 Thread Pace Computing Limited
Thanks everyone.  I'll check out all of these resources.

Jenni


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: set 
WDVLTALK pw=yourpassword in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.