Professional Web Applications Themes

Cursor rollover and onClick - Macromedia Dreamweaver

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="javascript :onClick='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....

  1. #1

    Default Cursor rollover and onClick

    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="javascript:onClick='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.


    Renato Guest

  2. #2

    Default Re: Cursor rollover and onClick

    On Wed, 16 Jul 2003 15:00:11 -0400, "Renato" <rgjacobsenhotmail.com>
    wrote:
    >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
    Gary White Guest

  3. #3

    Default Re: Cursor rollover and onClick

    On Wed, 16 Jul 2003 17:35:56 -0400, "Renato" <rgjacobsenhotmail.com>
    wrote:
    >Thanks, Gary, I'll try this one.
    You're welcome.


    Gary
    Gary White Guest

Similar Threads

  1. onclick
    By kt03 in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: April 29th, 07:27 PM
  2. Cursor Rollover With Some Sprites But Not Others
    By MGreen in forum Macromedia Director Lingo
    Replies: 0
    Last Post: September 29th, 04:27 PM
  3. cursor 200-problem on mac but not pc? how to swap cursor image?
    By nickelsock webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 5
    Last Post: August 2nd, 10:58 AM
  4. Rollover and making another rollover with links
    By 360liquid webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 26th, 12:26 AM
  5. Change the "web hand" cursor in normal arrow cursor?
    By FB1976 in forum Adobe Dreamweaver & Contribute
    Replies: 1
    Last Post: July 9th, 07:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139