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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 12 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

61 views 3 4
View question

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