[Javascript] Quick question on passing reference to url

Nathan V. Patwardhan nvp at noopy.org
Wed Nov 29 12:10:12 CST 2006

On Thu, Nov 30, 2006 at 04:53:54AM +1100, David Chance wrote:
: <script>
: var ImgUrl="http://mysite.verizon.net/stove1.jpg"
: 		</script>		
: 		<A HREF="javascript:ImageWindow(ImgUrl)"><IMG SRC='ImgUrl' width="300"></A> 

Unless I'm missing something, this isn't Javascript.  It's just HTML.

Nathan V. Patwardhan
nvp at noopy.org
"You studied Freud, fed sick children in Honduras, slept with an
 Italian twice your age, but then asked me how close Prague is to
 Czechoslovakia, if the World Series included the entire world and what
 I meant when I referred to "Big Brother." -- from craigslist

More information about the Javascript mailing list