HTML Goodies: Script Tip: Week 3
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
Hello, again, Tippers...
Let's spend a little more time looking at how this basic image flip actually works its magic. Here's the code again:
<IMG SRC="menu1off.gif" BORDER=0 NAME="pic1"></a>
If you're far enough along in your HTML knowledge, you have already noticed that the image flip is put together in the form of a hypertext link.
onMouseOver tells the browser to do something when the mouse is passed over the item. onMouseOut, as if you didn't already know, does something when the mouse leaves the area, no SCRIPT commands needed. These Event Handlers just sit right inside the "A HREF=" command and work from there.
You'll notice in the code that the Event Handler is pointed at the hierarchy statement that we talked about in last week's Script Tip. That statement is telling the browser where to find the image. Remember that?
So, you may be asking, how do two Event Handlers and two hierarchy statements sitting inside the "A HREF=" command affect the image command to post the new images when the mouse passes over? That's a solid question, indeed!
Next Week: How The Image and Script Are Linked
HTML Goodies 30-Step Primer Series
and take the knowledge home with you in
on your Web pages here!
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
Searching our resource database to find your matches...