Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with assigning "open new browser" behaviour to hotspot!

Status
Not open for further replies.

neillawler

Programmer
Apr 13, 2008
1
GB
Can somebody please help me with this issue? I am sure that I have entered all the details correctly but I just can't get this to work correctly!

I have an image in dreamweaver. I have added a hotspot to an area of the image and want a small new window to open when you click on the hotspot.

So, I select the hotspot, click on the behaviour + button, select "open new browser". select the image i want to open, fill in the size of the window, etc. Then in the properties box I write "javascript:;" and target "blank".

Is this correct as it's not working when I preview in firefox.

If anyone could help it would be much appreciated!

Cheers
 
Then in the properties box I write "javascript:;" and target "blank"."
- this step should be the step before you add Behaviour.
End result will look close to:
===========
<img src="/images/some.gif" width="60" height="60" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="circle" coords="38,33,10" href="#" target="_blank" onclick="MM_openBrWindow('test.com','test','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=400,height=400')" />
</map>
==========

All the best!

:--------------------------------------:
Do the DW »|MostarNetworks|
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top