Geez, I wish I'd have known that before!  So are you saying that if the browser 
doesn't recognize the target as one of the predefined types, it will assume it 
should open a new window named according to the target value?  That's cool, and 
I didn't know it.  It would have saved me some trouble a few weeks back because 
I had to add some code to a system to deal with a situation where a popup 
window might have been opened and things broke if a certain request was 
submitted again with it still open.  I just added a quick Javascript check and 
closed the window if it was open before submitting the form, but this would 
have been much better!

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Wed, January 19, 2005 1:50 pm, PA said:
> 
> On Jan 19, 2005, at 19:05, [EMAIL PROTECTED] wrote:
> 
>> For my own edification, can you expand on the ability to "...define
>> whatever target you like"?  I've never heard that before, I'd be
>> interested to know more.  I'm wondering specifically since the browser
>> wouldn't know what anything other than the defined targets you
>> referenced meant, how would you go about handling them yourself?  Can
>> you give an example use case?
> 
> The target can be named anyway you choose. This is handy when you want
> to create an external window and consistently reuse it (e.g. always
> open external link in "target = 'externalLink'").
> 
> Cheers
> 
> --
> PA
> http://alt.textdrive.com/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to