I need to create link in a coordinate area.

Nice day. I need to create link in an area.

For example, in HTML I would write

<area shape="circle" coords="100,150," 10="" href="circle.html">

or

<area shape="rect" coords="1,2," 10,15="" href="rect.html">

But how can I do it in confluence, using edit mode Wiki Markup?

Sincerely Yours, Serg SSS.

1 answer

This widget could not be displayed.

Hey Serg,

Just replied you in support.atlassian.com, but pasting it here again:

You can just enter that HTML directly using the HTML Macro (if it's enabled, see: https://confluence.atlassian.com/display/CONF32/Enabling+HTML+macros), via <tt>Confluence Admin >> Plugins</tt>, and after that's enabled, you can enter this into the Wiki Markup:

{html}
&lt;area shape="circle" coords="100,150, 10" href="circle.html"&gt;
{html}

Thanks and Regards,
Foogie

Thx for answer, it works! And I have only one question: nor {JavaScript}, nor {Java} didn't let me run javascript on the page, so - how can I run JavaScripts/php in confluence, using edit mode Wiki Markup? Or were I could read about it?

Thx for answer! It works! =)

Oh, new trouble...

The problem - I can see the picture, but can't find a link, so I can't click on it (it's OK with coords, my javascript works like a clock =))

Trying to make it works like this way:

---------------------------------------------------------------------------------------------

{html}

<area shape="circle" coords="706,416,50" href="http://google.com/">

{html}

h2. Google

!google.png|border=0!

---------------------------------------------------------------------------------------------

google.png - picture on the page.

coords - coordinates of link on the picture

Result is worse if I try do it this way:

---------------------------------------------------------------------------------------------

{html}

<img src="http://confluence.mysite.com/download/attachments/156665551/google.png?version=2&modificationDate=1359539776855" width="1200" height="600" border="0" usemap="#map">

<map name="map">

<area shape="circle" coords="742,396,30" href="http://google.com/">

</map>

{html}

---------------------------------------------------------------------------------------------

because if I open the page in Rich Text mode (not Wiki Markup)- it brakes my html code, so I receive something like that when I try to edit it next time

<AREA coords="742,396,30" href="../../../../../../../../../download/attachments/156665551/google.png?version=6&modificationDate=1360235479904" shape="circle"></AREA>

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

134 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you