Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Quick question on passing reference to url


  • From: nvp at noopy.org (Nathan V. Patwardhan)
  • Subject: [Javascript] Quick question on passing reference to url
  • Date: Wed Nov 29 12:10:59 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@xxxxxxxxx
"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