Clickable areas of picture?

  • VictorEremita
  • Newbie
  • Newbie
  • VictorEremita
  • Posts: 10

Post 3+ Months Ago

I can't seem to find a tutorial explaining this, so I'll ask you instead. How is it possible to make certain areas of a picture clickable and linking to other scenes?

I'll take this site as an example:
Which has clickable areas of this picture:

How is that done? Maybe I have searched for the wrong keywords but I have had no luck in finding anything explaining this at the internet.
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23469
  • Loc: Woodbridge VA

Post 3+ Months Ago

You would make "invisible buttons" so-to-speak over your image and use the getUrl() method on the hit area of each button to link to the desired URL.

For example, if you wanted to divide your image into 4 equal size quadrants you would make 4 buttons and position them appropriately over the image.

Follow this tutorial to make invisible buttons ... uttons.php

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.