![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a gallery of images that open to new Windows on my website. I'd like to use the Open Window behavior to specify the size of the window opening instead of using target="blank" to open a whole new browser window. However, I've noticed that when I use the behavior, the mouse pointer no longer switches between the default arrow icon and the tell-tale hand for links. Is there any way to modify this so that images using the Open Window behavior will use the hand icon, indicating its "clickability?" Many thanks in advance! |
#3
| |||
| |||
|
|
Yes - you would do that by correctly applying the event for the behavior to an <a> tag around the image, rather than directly to the image. |
#4
| |||
| |||
|
|
Yes - you would do that by correctly applying the event for the behavior to an <a> tag around the image, rather than directly to the image. If you just want to indicate 'clickability' then you can change the cursor via CSS: cursor: pointer Or, you can do as Murray stated. If you do as murray suggests, do take the extra step and put the actual URL of the page in the HREF while you are at it, which will make the page accessible to those without javascript and usable for those that browse in tabbed browsers. -Darrel |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Here is what I've tried: a onClick="MM_openBrWindow('/images_Content/logos_icons/image.jpg','Title','width= 494,height=420')"><img src="images_Content/thumbnails/image_TN.jpg" width="46" height="46" border="0"></a But I still just keep getting the arrow pointer instead of the hand. |
#7
| |||
| |||
|
|
Here is what I've tried: a onClick="MM_openBrWindow('/images_Content/logos_icons/image.jpg','Title','width= 494,height=420')"><img src="images_Content/thumbnails/image_TN.jpg" width="46" height="46" border="0"></a |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Yes, that does make the arrow pointer turn into a hand, as I've been trying to do - but in addition to opening the correctly sized window, it also opens a second browser window with the same file. When you remove the target="_blank" then it redirects your current page in addition to opening the smaller window. :confused; |
![]() |
| Thread Tools | |
| Display Modes | |
| |