Welcome Guest, Not a member yet? Register   Sign In
anchor tags
#1

[eluser]Perkin5[/eluser]
I've come across an interesting little puzzle. I want to put in an anchor tag using the url helper like this, largely because it automatically gets the link path right:

Code:
echo anchor('home','images/img.png');

but of course that only puts in 'images/img.png' as text. What I want to do is to be able to click on the image so I want to use the html helper code like:

Code:
echo img('images/img.png');

How can I embed one within another, or otherwise achieve the result?


Messages In This Thread
anchor tags - by El Forum - 07-11-2011, 07:15 AM
anchor tags - by El Forum - 07-11-2011, 07:52 AM
anchor tags - by El Forum - 07-11-2011, 10:26 AM
anchor tags - by El Forum - 07-12-2011, 06:45 AM
anchor tags - by El Forum - 07-12-2011, 07:24 AM
anchor tags - by El Forum - 07-12-2011, 09:58 AM
anchor tags - by El Forum - 07-12-2011, 01:47 PM
anchor tags - by El Forum - 07-12-2011, 02:12 PM
anchor tags - by El Forum - 07-12-2011, 03:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB