Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I need to create link in a coordinate area.

Serg Serg February 10, 2013

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

1 vote
fsim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2013

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

Serg Serg February 10, 2013

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?

Serg Serg February 10, 2013

Thx for answer! It works! =)

Serg Serg February 11, 2013

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
TAGS
AUG Leaders

Atlassian Community Events