Bug in html maps

Please post bug reports for earlier versions of Help & Manual (3 and 4) here, along with reports for TNT.

Moderators: Alexander Halser, Tim Green

Post Reply
cnovak
Posts: 7
Joined: Tue Jul 01, 2003 11:03 pm
Location: Munich/Germany
Contact:

Bug in html maps

Unread post by cnovak »

I have encountered the problem that maps do not work in browser based help. After compiling a map looks like as follows:

Code: Select all

<map name="CLIP0020"><area shape="rect" coords="6,17,631,38" href="javaScript:parent.reDisplay('2.2',1,0)#Description"><area shape="rect" coords="6,40,631,111" href="javaScript:parent.reDisplay('2.2',1,0)#Details"><area shape="rect" coords="6,155,631,176" href="javaScript:parent.reDisplay('2.2',1,0)#Release Date"></map><img src="clip0020.png" width="651" height="295" border="0" ismap usemap="#CLIP0020">
The issue lies with the href="javaScript:parent.reDisplay('xx', x,x)#anchorname"> code. The anchor can not be just added outside to the reDisplay function. IMO, there is no need to do JS at all for a map, just plain html.
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Unread post by Tim Green »

I haven't checked this myself yet, but there is one question: What image format are you using for your maps in H&M? You must use the Impict .IPP format for your compiled output to work properly. If you use the Microsoft .SHG format it won't work.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
cnovak
Posts: 7
Joined: Tue Jul 01, 2003 11:03 pm
Location: Munich/Germany
Contact:

Unread post by cnovak »

Hi Tim,

I am using the IPP format to create the hotspot areas.

Best regards

Christian
Post Reply