[Javascript] Class and ID

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Thu Aug 2 06:46:48 CDT 2001


You might try 

onClick="javascript:window.open('itempic.html?Picture=ItemPic','','')"

Then in your itempic.html onload function capture the value for the
'Picture'

 

 

Bob Filipiak (Contractor)
MCP 

-----Original Message-----
From: Cutter Bl [mailto:cutterbl at hotmail.com]
Sent: Wednesday, August 01, 2001 8:47 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Class and ID



varImgSrc = opener.document.images.clsItemPic.id; 

 

If this will not work in NN4, is it possible to pass the image name variable
to the new window through a function? can I do that with the window.open
event? The current code is:

onClick="javascript:window.open('itempic.html','ItemPic','')"

 

Could I pass the image name as the second variable of this statement, then
call an onload function to apply that as the image source?

Cutter


  _____  

Get your FREE download of MSN Explorer at http://explorer.msn.com
<http://go.msn.com/bql/hmtag_itl_EN.asp> 
_______________________________________________ Javascript mailing list
Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010802/fba5f97d/attachment.htm>


More information about the Javascript mailing list