Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Write Javascript in ASP


Message #1 by "Joe Murphy" <bacster@o...> on Mon, 30 Sep 2002 14:13:35
Hi Folks

I have been trying and trying and I can't write this code inside ASP 
delimiters.  Can someone show me the secret to getting javascript working 
inside ASP.  I have the js file loaded in the head of the document.

<a href="here.htm" onmouseover="return overlib('Popup with link.');" 
onmouseout="return nd();">Popup with link</a><p>
<a onmouseover="return overlib('Popup no link.');" onmouseout="return nd
();">Popup no link</a>

Thanks

Joe
Message #2 by "Basheer" <bash_web@h...> on Sat, 30 Sep 2000 17:14:38 +0300
This is only HTML code and javascript.
There should be something wrong where you include the js file. If you can
sent the entire file i can help out.

Bashy



----- Original Message -----
From: "Joe Murphy" <bacster@o...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, September 30, 2002 2:13 PM
Subject: [asp_web_howto] Write Javascript in ASP


> Hi Folks
>
> I have been trying and trying and I can't write this code inside ASP
> delimiters.  Can someone show me the secret to getting javascript working
> inside ASP.  I have the js file loaded in the head of the document.
>
> <a href="here.htm" onmouseover="return overlib('Popup with link.');"
> onmouseout="return nd();">Popup with link</a><p>
> <a onmouseover="return overlib('Popup no link.');" onmouseout="return nd
> ();">Popup no link</a>
>
> Thanks
>
> Joe
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
>
Message #3 by Mark Eckeard <meckeard2000@y...> on Mon, 30 Sep 2002 09:16:00 -0700 (PDT)
Try this:

response.write ("<a href=""here.htm""
onmouseover=""return overlib('Popup with link.');""
onmouseout=""return nd();"">Popup with link</a><p>
<a onmouseover=""return overlib('Popup no link.');""
onmouseout=""return nd();"">
Popup no link</a>")

Mark.
--- Joe Murphy <bacster@o...> wrote:
> Hi Folks
> 
> I have been trying and trying and I can't write this
> code inside ASP 
> delimiters.  Can someone show me the secret to
> getting javascript working 
> inside ASP.  I have the js file loaded in the head
> of the document.
> 
> <a href="here.htm" onmouseover="return
> overlib('Popup with link.');" 
> onmouseout="return nd();">Popup with link</a><p>
> <a onmouseover="return overlib('Popup no link.');"
> onmouseout="return nd
> ();">Popup no link</a>
> 
> Thanks
> 
> Joe
> 
> ---
> 
> Improve your web design skills with these new books
> from Glasshaus.
> 
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

  Return to Index