+ Post New Thread
Results 1 to 3 of 3
Web Development Thread, Inserting a link into an image in Coding and Web Development; I'm trying to add a link inside an image ... if that makes sense. For example if you have a ...
  1. #1

    Join Date
    Jan 2008
    Location
    UK, West Mids
    Posts
    15
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Inserting a link into an image

    I'm trying to add a link inside an image ... if that makes sense. For example if you have a group staff photo and click on a teachers face it takes you to their profile, how do I do that?

    And if someones being especially clever what I'd really like to do is have a small window that appears when you mouse over their face giving a brief description of the staff member and a link to their main profile. Is this possible to do with JavaScript?

    Any help would be much appreaciated, any good websites to read up on etc.

    TIA.

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,604
    Thank Post
    514
    Thanked 2,441 Times in 1,889 Posts
    Blog Entries
    24
    Rep Power
    828
    Well, the basic way of doing it would be to use image maps: http://www.w3schools.com/tags/tag_map.asp

    To do the fancy mouseover stuff, you can extend this using standard javascript on mouse over code: http://www.w3schools.com/js/js_image_maps.asp

  3. Thanks to localzuk from:

    roo20487 (30th January 2008)

  4. #3

    Join Date
    Jan 2008
    Location
    UK, West Mids
    Posts
    15
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Awesome thanks a lot. I totally forgot about w3schools!

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 10
    Last Post: 10th February 2009, 11:03 PM
  2. PC rebooting when inserting USB Device
    By jman167 in forum Windows
    Replies: 7
    Last Post: 30th January 2008, 10:22 AM
  3. Replies: 5
    Last Post: 13th January 2008, 11:39 PM
  4. Problem inserting images into Joomla content
    By Ric_ in forum EduGeek Joomla 1.0 Package
    Replies: 2
    Last Post: 23rd November 2007, 03:05 PM
  5. Inserting an blank image into content page.
    By Scotmk in forum Web Development
    Replies: 3
    Last Post: 2nd August 2007, 10:14 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •