www.webdeveloper.com
Results 1 to 6 of 6

Thread: How to found all images and add link on top of them?

  1. #1
    Join Date
    May 2011
    Posts
    58

    Exclamation How to found all images and add link on top of them?

    Hello, I'm new in js, and i need help of guru. I'm need write script to:
    1) Found all images on the page (img)
    2) Add on the top of it link

    I've learned how to count all images and how to add new elements on the page. Seems like need to connect them, but I failed...
    Here is my current code.

    Please help me. Looks like this is very simple task.

  2. #2
    Join Date
    Sep 2008
    Location
    Akron, OH
    Posts
    1,112
    What does this mean?

    Add on the top of it link
    I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

  3. #3
    Join Date
    May 2011
    Posts
    58
    Sorry for my English, I mean like this:
    image

  4. #4
    Join Date
    Dec 2002
    Location
    St. Louis, MO, USA
    Posts
    1,582
    Add a link to all images.
    |||||
    o . Q
    ___ "You live and you learn; or you don't live long." - Lazarus Long

    ^_^

  5. #5
    Join Date
    Sep 2008
    Location
    Akron, OH
    Posts
    1,112
    Give this a try:

    http://jsfiddle.net/haMQB/9/
    I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

  6. #6
    Join Date
    May 2011
    Posts
    58
    Quote Originally Posted by cbVision View Post
    Thanks a lot! This is what I need.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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



Recent Articles