Changing mouse cursor

S

Steve Easton

Try adding an empty href to the tag.
Change this: ( for the Hud )
<img border="0" src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
height="67" onclick="FP_openNewWindow('850', '580', false, false, false, false, false,
false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')">

To this:
<a href="" img border="0" src="images/design_examples/thumbs/f4e_hud_small.jpg"
width="100" height="67" onclick="FP_openNewWindow('850', '580', false, false, false,
false, false, false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')"></td>

Then preview in browser. It should work.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
H

Helpful person

Steve said:
Try adding an empty href to the tag.
Change this: ( for the Hud )
<img border="0" src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
height="67" onclick="FP_openNewWindow('850', '580', false, false, false, false, false,
false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')">

To this:
<a href="" img border="0" src="images/design_examples/thumbs/f4e_hud_small.jpg"
width="100" height="67" onclick="FP_openNewWindow('850', '580', false, false, false,
false, false, false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')"></td>

Then preview in browser. It should work.

I will try your suggestion but I don't consider it a long time solution
as it is fooling the interpreter. There must be a mouse property I can
set, probably using Javascript.
 
H

Helpful person

Helpful said:
I am using the "open browser" action (behaviour) when a picture is
clicked. However, the mouse cursor does not change to a hand when
hovering over the picture. How do I change the mouse cursor?

The relevent web page is:

www.richardfisher.com/new_design_examples.htm

I spent many hours trying to find a solution to this problem and 30
minutes after this post I found it.

Add the following line in the css

img#testing{cursor: pointer}

For the img object with ID testing the cursor becomes a pointer

www.richardfisher.com
 
M

Murray

Actually, Steve is on the right track, and had he not been "in his cups" I'm
sure he would have told you to do THIS (which is the semantically and the
HTML-ly correct way to do it) 8) -

<a href="design_example_pages/f4e_hud.htm" onclick="FP_openNewWindow('850',
'580', false, false, false, false, false, false, 'F4EHUD',
/*href*/'design_example_pages/f4e_hud.htm');return false;"><img border="0"
src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
height="67"></a>
 
S

Steve Easton

LOL,
Thanks Murray.

Little too early for the "cups" though.

However it was carpet cleaners first thing this am, then I took the lawn mower apart
because the "self propel" quit and I'm not pushing the sucker.
Went to the mower shop and ordered parts.
Then met the wife for lunch.
Now I'm reading the manual for the new alarm system, trying to figure out why "Exit"
doesn't give a two minute delay like it's supposed to.

This is all between FP, EWD, SP-D and tinkering in Visual Studio.

Therefore, when it "is" time for "the cups".... one won't do it.

;-)


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
M

Murray

LOL.

--
Murray
--------------
MVP FrontPage


Steve Easton said:
LOL,
Thanks Murray.

Little too early for the "cups" though.

However it was carpet cleaners first thing this am, then I took the lawn
mower apart because the "self propel" quit and I'm not pushing the sucker.
Went to the mower shop and ordered parts.
Then met the wife for lunch.
Now I'm reading the manual for the new alarm system, trying to figure out
why "Exit" doesn't give a two minute delay like it's supposed to.

This is all between FP, EWD, SP-D and tinkering in Visual Studio.

Therefore, when it "is" time for "the cups".... one won't do it.

;-)


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
 
M

Murray

That's the epitome of tricking the browser in my opinion. You have a good
solution that involves best practice HTML. Why not use it?
 
H

Helpful person

Murray said:
That's the epitome of tricking the browser in my opinion. You have a good
solution that involves best practice HTML. Why not use it?
Surely a single line of code in a CSS (or on the page) is the simplest
and most elegant solution. It's no more tricking the browser than
specifying a font style in a CSS

My final code is as below, one line.

img {cursor: pointer}
 
S

Steve Easton

Actually, what I think the OP wants is:
img {cursor: hand}

Which from what I understand does not work in all browsers.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
H

Helpful person

Steve said:
Actually, what I think the OP wants is:
img {cursor: hand}

Which from what I understand does not work in all browsers.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
I have found "pointer" works in IE Netscape and Firefox. I believe
that "hand" is non standard.

I am assuming that www.w3schools.com/css/pr_class_cursor.asp is correct.
 
R

Rob Giordano \(Crash\)

I'm a security consultant/designer dood...lemme know if I can help.



| LOL,
| Thanks Murray.
|
| Little too early for the "cups" though.
|
| However it was carpet cleaners first thing this am, then I took the lawn
mower apart
| because the "self propel" quit and I'm not pushing the sucker.
| Went to the mower shop and ordered parts.
| Then met the wife for lunch.
| Now I'm reading the manual for the new alarm system, trying to figure out
why "Exit"
| doesn't give a two minute delay like it's supposed to.
|
| This is all between FP, EWD, SP-D and tinkering in Visual Studio.
|
| Therefore, when it "is" time for "the cups".... one won't do it.
|
| ;-)
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
|
|
|
| | > Actually, Steve is on the right track, and had he not been "in his cups"
I'm sure he
| > would have told you to do THIS (which is the semantically and the
HTML-ly correct way to
| > do it) 8) -
| >
| > <a href="design_example_pages/f4e_hud.htm"
onclick="FP_openNewWindow('850', '580',
| > false, false, false, false, false, false, 'F4EHUD',
| > /*href*/'design_example_pages/f4e_hud.htm');return false;"><img
border="0"
| > src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
height="67"></a>
| >
| >
| > --
| > Murray
| > --------------
| > MVP FrontPage
| >
| >
| > | >>
| >> Steve Easton wrote:
| >>> Try adding an empty href to the tag.
| >>> Change this: ( for the Hud )
| >>> <img border="0" src="images/design_examples/thumbs/f4e_hud_small.jpg"
width="100"
| >>> height="67" onclick="FP_openNewWindow('850', '580', false, false,
false, false, false,
| >>> false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')">
| >>>
| >>> To this:
| >>> <a href="" img border="0"
src="images/design_examples/thumbs/f4e_hud_small.jpg"
| >>> width="100" height="67" onclick="FP_openNewWindow('850', '580', false,
false, false,
| >>> false, false, false, 'F4EHUD',
/*href*/'design_example_pages/f4e_hud.htm')"></td>
| >>>
| >>> Then preview in browser. It should work.
| >>>
| >>> --
| >>> Steve Easton
| >>> Microsoft MVP FrontPage
| >>>
| >>
| >> I will try your suggestion but I don't consider it a long time solution
| >> as it is fooling the interpreter. There must be a mouse property I can
| >> set, probably using Javascript.
| >>
| >
| >
|
|
 
S

Stefan B Rusynko

I would normally add at least 1 more attribute - target="_blank"
- to make it support even non-javascript enabled browsers
(plus would add a title attribute to the <a> tag and alt attribute to the <img> tag

<a href="design_example_pages/f4e_hud.htm" target="_blank" onclick="FP_openNewWindow('850',
'580', false, false, false, false, false, false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm');return false;"><img
border="0" src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
height="67"></a>



--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Actually, Steve is on the right track, and had he not been "in his cups" I'm
| sure he would have told you to do THIS (which is the semantically and the
| HTML-ly correct way to do it) 8) -
|
| <a href="design_example_pages/f4e_hud.htm" onclick="FP_openNewWindow('850',
| '580', false, false, false, false, false, false, 'F4EHUD',
| /*href*/'design_example_pages/f4e_hud.htm');return false;"><img border="0"
| src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
| height="67"></a>
|
|
| --
| Murray
| --------------
| MVP FrontPage
|
|
| | >
| > Steve Easton wrote:
| >> Try adding an empty href to the tag.
| >> Change this: ( for the Hud )
| >> <img border="0" src="images/design_examples/thumbs/f4e_hud_small.jpg"
| >> width="100"
| >> height="67" onclick="FP_openNewWindow('850', '580', false, false, false,
| >> false, false,
| >> false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')">
| >>
| >> To this:
| >> <a href="" img border="0"
| >> src="images/design_examples/thumbs/f4e_hud_small.jpg"
| >> width="100" height="67" onclick="FP_openNewWindow('850', '580', false,
| >> false, false,
| >> false, false, false, 'F4EHUD',
| >> /*href*/'design_example_pages/f4e_hud.htm')"></td>
| >>
| >> Then preview in browser. It should work.
| >>
| >> --
| >> Steve Easton
| >> Microsoft MVP FrontPage
| >>
| >
| > I will try your suggestion but I don't consider it a long time solution
| > as it is fooling the interpreter. There must be a mouse property I can
| > set, probably using Javascript.
| >
|
|
 
M

Murray

You would need to do it this way if you used that method -

img { cursor:pointer; cursor:hand; }

Mozilla will read the first one, and IE will read the second one. It's
still the wrong way to do the link, since it will fail if javascript is not
enabled. My method (with Stefan's modifications) will not.

And as for a single line being better, for every problem there is a simple
and elegant solution that is wrong. This one falls into that category.
 
S

Steve Easton

Hi Rob.

When the system is set in Stay mode, ( F1 Button ) the Quick Exit ( F5 Button ) is
supposed to give you 2 minutes to open and close an entry door.

It doesn't, it starts the entry delay tone when a door is opened, as if you had armed the
system in Away mode.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
R

Rob Giordano \(Crash\)

Does it actually go into alarm though? (put it on test with the CS first if
your monitored, if you want to test it)

Some alarms do make the entry tone during the excursion.

Email me with make and model of alarm. It may be the installer never
programmed the excursion feature to actually work.


| Hi Rob.
|
| When the system is set in Stay mode, ( F1 Button ) the Quick Exit ( F5
Button ) is
| supposed to give you 2 minutes to open and close an entry door.
|
| It doesn't, it starts the entry delay tone when a door is opened, as if
you had armed the
| system in Away mode.
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
|
|
|
|
| | > I'm a security consultant/designer dood...lemme know if I can help.
| >
| >
| >
| > | > | LOL,
| > | Thanks Murray.
| > |
| > | Little too early for the "cups" though.
| > |
| > | However it was carpet cleaners first thing this am, then I took the
lawn
| > mower apart
| > | because the "self propel" quit and I'm not pushing the sucker.
| > | Went to the mower shop and ordered parts.
| > | Then met the wife for lunch.
| > | Now I'm reading the manual for the new alarm system, trying to figure
out
| > why "Exit"
| > | doesn't give a two minute delay like it's supposed to.
| > |
| > | This is all between FP, EWD, SP-D and tinkering in Visual Studio.
| > |
| > | Therefore, when it "is" time for "the cups".... one won't do it.
| > |
| > | ;-)
| > |
| > |
| > | --
| > | Steve Easton
| > | Microsoft MVP FrontPage
| > | 95isalive
| > | This site is best viewed............
| > | .......................with a computer
| > |
| > |
| > |
| > |
| > | | > | > Actually, Steve is on the right track, and had he not been "in his
cups"
| > I'm sure he
| > | > would have told you to do THIS (which is the semantically and the
| > HTML-ly correct way to
| > | > do it) 8) -
| > | >
| > | > <a href="design_example_pages/f4e_hud.htm"
| > onclick="FP_openNewWindow('850', '580',
| > | > false, false, false, false, false, false, 'F4EHUD',
| > | > /*href*/'design_example_pages/f4e_hud.htm');return false;"><img
| > border="0"
| > | > src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
| > height="67"></a>
| > | >
| > | >
| > | > --
| > | > Murray
| > | > --------------
| > | > MVP FrontPage
| > | >
| > | >
| > | > | > | >>
| > | >> Steve Easton wrote:
| > | >>> Try adding an empty href to the tag.
| > | >>> Change this: ( for the Hud )
| > | >>> <img border="0"
src="images/design_examples/thumbs/f4e_hud_small.jpg"
| > width="100"
| > | >>> height="67" onclick="FP_openNewWindow('850', '580', false, false,
| > false, false, false,
| > | >>> false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')">
| > | >>>
| > | >>> To this:
| > | >>> <a href="" img border="0"
| > src="images/design_examples/thumbs/f4e_hud_small.jpg"
| > | >>> width="100" height="67" onclick="FP_openNewWindow('850', '580',
false,
| > false, false,
| > | >>> false, false, false, 'F4EHUD',
| > /*href*/'design_example_pages/f4e_hud.htm')"></td>
| > | >>>
| > | >>> Then preview in browser. It should work.
| > | >>>
| > | >>> --
| > | >>> Steve Easton
| > | >>> Microsoft MVP FrontPage
| > | >>>
| > | >>
| > | >> I will try your suggestion but I don't consider it a long time
solution
| > | >> as it is fooling the interpreter. There must be a mouse property I
can
| > | >> set, probably using Javascript.
| > | >>
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
R

Rob Giordano \(Crash\)

Is that a DSC system?


| Hi Rob.
|
| When the system is set in Stay mode, ( F1 Button ) the Quick Exit ( F5
Button ) is
| supposed to give you 2 minutes to open and close an entry door.
|
| It doesn't, it starts the entry delay tone when a door is opened, as if
you had armed the
| system in Away mode.
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
|
|
|
|
| | > I'm a security consultant/designer dood...lemme know if I can help.
| >
| >
| >
| > | > | LOL,
| > | Thanks Murray.
| > |
| > | Little too early for the "cups" though.
| > |
| > | However it was carpet cleaners first thing this am, then I took the
lawn
| > mower apart
| > | because the "self propel" quit and I'm not pushing the sucker.
| > | Went to the mower shop and ordered parts.
| > | Then met the wife for lunch.
| > | Now I'm reading the manual for the new alarm system, trying to figure
out
| > why "Exit"
| > | doesn't give a two minute delay like it's supposed to.
| > |
| > | This is all between FP, EWD, SP-D and tinkering in Visual Studio.
| > |
| > | Therefore, when it "is" time for "the cups".... one won't do it.
| > |
| > | ;-)
| > |
| > |
| > | --
| > | Steve Easton
| > | Microsoft MVP FrontPage
| > | 95isalive
| > | This site is best viewed............
| > | .......................with a computer
| > |
| > |
| > |
| > |
| > | | > | > Actually, Steve is on the right track, and had he not been "in his
cups"
| > I'm sure he
| > | > would have told you to do THIS (which is the semantically and the
| > HTML-ly correct way to
| > | > do it) 8) -
| > | >
| > | > <a href="design_example_pages/f4e_hud.htm"
| > onclick="FP_openNewWindow('850', '580',
| > | > false, false, false, false, false, false, 'F4EHUD',
| > | > /*href*/'design_example_pages/f4e_hud.htm');return false;"><img
| > border="0"
| > | > src="images/design_examples/thumbs/f4e_hud_small.jpg" width="100"
| > height="67"></a>
| > | >
| > | >
| > | > --
| > | > Murray
| > | > --------------
| > | > MVP FrontPage
| > | >
| > | >
| > | > | > | >>
| > | >> Steve Easton wrote:
| > | >>> Try adding an empty href to the tag.
| > | >>> Change this: ( for the Hud )
| > | >>> <img border="0"
src="images/design_examples/thumbs/f4e_hud_small.jpg"
| > width="100"
| > | >>> height="67" onclick="FP_openNewWindow('850', '580', false, false,
| > false, false, false,
| > | >>> false, 'F4EHUD', /*href*/'design_example_pages/f4e_hud.htm')">
| > | >>>
| > | >>> To this:
| > | >>> <a href="" img border="0"
| > src="images/design_examples/thumbs/f4e_hud_small.jpg"
| > | >>> width="100" height="67" onclick="FP_openNewWindow('850', '580',
false,
| > false, false,
| > | >>> false, false, false, 'F4EHUD',
| > /*href*/'design_example_pages/f4e_hud.htm')"></td>
| > | >>>
| > | >>> Then preview in browser. It should work.
| > | >>>
| > | >>> --
| > | >>> Steve Easton
| > | >>> Microsoft MVP FrontPage
| > | >>>
| > | >>
| > | >> I will try your suggestion but I don't consider it a long time
solution
| > | >> as it is fooling the interpreter. There must be a mouse property I
can
| > | >> set, probably using Javascript.
| > | >>
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top