Sams Teach Yourself JavaScript in 24 Hours

Sams Teach Yourself JavaScript in 24 Hours

By Michael Moncur

Q&A

Q1:

Is there any way to use some kind of "floating hints" or "balloon help" with links instead of using the status bar?

A1:

Yes, you can use dynamic HTML to achieve this effect. See Hour 19, "Using Dynamic HTML (DHTML)," for information.

Q2:

Can the navigation bar in this hour be used with browsers that don't support JavaScript?

A2:

Yes. You could easily modify it to send the selections to a CGI script, which could send the user to the correct page. This would be slower, but would still work.

Q3:

Can I add status-line descriptions to the graphic links along with rollovers?

A3:

Yes. Because this would lengthen the event handlers considerably, a function would simplify things in this case.

Share ThisShare This

Informit Network