#11 2010-09-23 02:37

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: Imagemap for wiki (hyperlinks placed on various parts of image)

Success!

Stefan, I corrected your test-1, and it works now!
(The page URL needs Renamer: prefix. That's it!)

I also changed tooltip contents. That too works.

***
To conclude, whoever wants to add hotspots can use the sample code given below (coordinates are to be found using the Imagemap editor tool):

<imagemap>
Image:ReNamer Main Steps.png|
rect 76 58 253 82 [[ReNamer:Adding_files_and_folders|Add files and folders to Files pane]]
desc none
</imagemap>

A more generalized formula:

<imagemap>
image name | rect coordinates copied from ImageMap Editor [[page name|desired tooltip text ]] desc none
</imagemap>

(The text in gray is literal.)

***********
Oops, Denis! My original code only produced an additional error line, which I thought would not disturb a user much.

I just thought the single snippet of code I left would be quickly corrected by the other guys and we would be on our way in no time!

I think the two tests have created new orphan pages like this: http://www.den4b.com/wiki/Adding_files_and_folders.
They need to be deleted.

Last edited by narayan (2010-09-23 15:16)

Offline

#12 2010-09-23 16:36

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: Imagemap for wiki (hyperlinks placed on various parts of image)

Check out the sample here. The hotspots do not work in the pdf (they still point at internet).

If this is fine, I will transfer the talk page to the main page.

Offline

Board footer

Powered by FluxBB