HighDots Forums  

Cursor rollover and onClick

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Cursor rollover and onClick in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Renato
 
Posts: n/a

Default Cursor rollover and onClick - 07-16-2003 , 02:38 PM






I have an image map with a link that opens a new window through an onClick
action:

<area shape="rect" coords="69,46,164,69"
onClick="MM_openBrWindow('../virtual/tour.html','360','scrollbars=yes,width=
800,height=600,left=0,top=0')" target="_blank" alt="Virtual Tour"
title="Virtual Tour">

It works, but I couldn't yet make the mouse cursor change on rollover as
with any other link. I tried using href in three different ways,

<area shape="rect" coords="69,46,164,69"
href="javascriptnClick='MM_openBrWindow('../virtual/tour.html','360','scro
llbars=yes,width=800,height=600,left=0,top=0')'" target="_blank"
alt="Virtual Tour" title="Virtual Tour">

<area shape="rect" coords="69,46,164,69" href=""
onClick="MM_openBrWindow('../virtual/tour.html','360','scrollbars=yes,width=
800,height=600,left=0,top=0')" target="_blank" alt="Virtual Tour"
title="Virtual Tour">

<area shape="rect" coords="69,46,164,69" href="#"
onClick="MM_openBrWindow('../virtual/tour.html','360','scrollbars=yes,width=
800,height=600,left=0,top=0')" target="_blank" alt="Virtual Tour"
title="Virtual Tour">

but none works. I would appreciate any suggestions. Thanks.



Reply With Quote
  #2  
Old   
Gary White
 
Posts: n/a

Default Re: Cursor rollover and onClick - 07-16-2003 , 03:34 PM






On Wed, 16 Jul 2003 15:00:11 -0400, "Renato" <rgjacobsen (AT) hotmail (DOT) com>
wrote:

Quote:
I've just found one solution myself, in case anyone needs it:

area shape="rect" coords="69,46,164,69" href="this_page.htm"
onClick="MM_openBrWindow('../virtual/tour.html','360','scrollbars=yes,width=
800,height=600,left=0,top=0')" target="_self" alt="Virtual Tour"
title="Virtual Tour"

where "this_page.htm" represents the page where the code resides -- it
reloads the page while the other opens on a new window, but I am still
trying other solutions.

<area shape="rect" coords="69,46,164,69" href="../virtual/tour.html"
onClick="MM_openBrWindow('../virtual/tour.html','360','scrollbars=yes,width=
800,height=600,left=0,top=0');return false" target="_blank"
alt="Virtual Tour" title="Virtual Tour">



Gary


Reply With Quote
  #3  
Old   
Gary White
 
Posts: n/a

Default Re: Cursor rollover and onClick - 07-16-2003 , 06:03 PM



On Wed, 16 Jul 2003 17:35:56 -0400, "Renato" <rgjacobsen (AT) hotmail (DOT) com>
wrote:

Quote:
Thanks, Gary, I'll try this one.
You're welcome.


Gary


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.