Hand Cursor on rollover (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


erinswift21 -> Hand Cursor on rollover (8/18/2004 11:16:37)

Hey all -

I was wondering if anyone knew a way to have the hand cursor display when a user was mousing over a hot spot. I can't use the typical href because of the way the next page has to be called. Here is what a line of code looks like for my hot spots.

<area shape="polygon" coords="29, 117, 69, 91, 101, 110, 63, 133" alt="Envelope Mount" onmouseover="JavaScript:formFill(Form1, 'RF5-2798-000')",cursor:hand onClick="submit()"


Any thoughts would be greatly appreciated.

Erin




Giomanach -> RE: Hand Cursor on rollover (8/18/2004 11:20:06)

Erin

It's won't quote work like that, try this:

<area shape="polygon" coords="29, 117, 69, 91, 101, 110, 63, 133" alt="Envelope Mount" onmouseover="JavaScript:formFill(Form1, 'RF5-2798-000')" onClick="submit()" class="hand">

Then in the <head></head> section of the HTML insert this:

<style type="text/css">
.hand{
  cursor: hand;
}
</style>

See if that works

Dan




erinswift21 -> RE: Hand Cursor on rollover (8/18/2004 12:07:12)

Thanks for the suggestion, but it didn't help any. I still can only get the arrow when I go over the hot spot




Thomas Brunt -> RE: Hand Cursor on rollover (8/18/2004 14:23:05)

Just guessing here, but maybe...

onmouseover="JavaScript:this.style.cursor='hand';formFill(Form1, 'RF5-2798-000')"




erinswift21 -> RE: Hand Cursor on rollover (8/18/2004 14:30:10)

I found the answer. in the area tag you call href="#".

Thanks for you help




Giomanach -> RE: Hand Cursor on rollover (8/18/2004 14:37:47)

Turn it into a dummy hyperlink...why not?? lol

Glad you found the answer

Dan




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625