Link Specific Numbers Of Pixels

Discussion in 'Programming' started by Kuna, Feb 14, 2013.

  1. #1
    I was wondering is there any way to make some html element like div, image map or any other linkable elemente to fill only specific amount of pixels.
    Example. If I click within document I will get coordinates of my click (it could be 100x100) and than if I want 23 pixels to be filled and linked somewhere around that area. Is it possible?

    But my idea is to make somekind of image map. But problem is that I cannot use background-color on image map and on canvas is hard to link shapes. I need somehow to generate some shape with specific number of pixels (23px,57... doesn't matter, everytime is different). This area of pixels must be linked to some site. E.G. it is difficult to make shape that consists of 23pixels exactly. if you understand me
     
    Kuna, Feb 14, 2013 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    I don't think I'm entirely following your meaning, since you can't link a DIV...

    Almost sounds like all you want is two anchors floated side-by-side... but really it sounds more like you're doing goofy graphical nonsense without working from semantic markup and actual content (aka text)...
     
    deathshadow, Feb 14, 2013 IP