Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic HtmlBuilder createImageMap (Read 1748 times)
tmtton
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 39
Joined: May 9th, 2008
HtmlBuilder createImageMap
Jun 20th, 2008 at 2:31pm
Print Post  
I use JDiagram 2. The diagram only has DiagramNode (ShapeNode specifically) and DiagramLink. I can export my diagram to an image without a problem.

When I use HtmlBuilder to create a HTML Image Map, all I get is <MAP NAME="fcImgMap"></MAP>. I expected to see map HTML code with multiple AREA elements. What am I missing?

HtmlBuilder htmlBuilder = new HtmlBuilder(diagram);
String createImageMapString = htmlBuilder.createImageMap("fcImgMap");

Also, is there a sample showing how the ExpandButtonHyperlink is used? Thanks,
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: HtmlBuilder createImageMap
Reply #1 - Jun 20th, 2008 at 4:57pm
Print Post  
There are areas generated only for items whose Hyperlink property is set. Have you assigned a hyperlink to any item?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint