The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Click on image, opens up a new tab?

View previous topic View next topic Go down

Solved Click on image, opens up a new tab?

Post by xRelapsex on February 4th 2012, 1:29 am

Is it possible to have a image that when you click on it, it will open up a new tab?

For example, lets say there is a Enter button/image. When you click on the enter button/image, it will open up a new tab and you will be redirected to wherever the link takes you.

xRelapsex
New Member

Posts : 8
Reputation : 1
Language : English

Back to top Go down

Solved Re: Click on image, opens up a new tab?

Post by LGforum on February 4th 2012, 1:50 am

Yes its done by setting a target attribute on the link.
Code:

<a href="LINK" target="_blank"><img src="IMAGE URL"></a>

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Click on image, opens up a new tab?

Post by xRelapsex on February 4th 2012, 1:54 am

Thanks!

xRelapsex
New Member

Posts : 8
Reputation : 1
Language : English

Back to top Go down

Solved Re: Click on image, opens up a new tab?

Post by Sanket on February 4th 2012, 5:44 am

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum