Welcome
Welcome to <strong>The Linux And Unix Menagerie</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Using Javascript inside html

Any HTML or Java Scripting questions and answers

Using Javascript inside html

Postby PerlGirl on Wed Oct 31, 2007 3:47 pm

Hey again,

I want to be able to do stuff like javascript, for mouse-overs, etc, but can't use javascript on my site. I heard you could just do that inside html tags. Can you give me an example?

Thanks !

PerlGirl
PerlGirl
 
Posts: 4
Joined: Tue Oct 30, 2007 9:13 am

Postby laum on Wed Oct 31, 2007 4:37 pm

Hey There,

Yes, you can do that, unless you're clientel is using a really old browser.

This should be, I think, what's you're looking for:

<a href="http://linuxshellaccount.blogspot.com" onMouseOver="alert('My Blog Awaits')";>My Blog Awaits</a>

Enjoy :)

, Mike
laum
Site Admin
 
Posts: 46
Joined: Sun Oct 14, 2007 7:04 pm


Return to HTML / Javascript

Who is online

Users browsing this forum: No registered users and 0 guests

cron