Skip to main content

Link Image

January 31, 2010 by senz

senz's picture

Mao tanya donk.... Saya ingin memasukkan link ke dalam sebuah image bagaimana ya caranya?... Klo link text kan memakai perintah :

   <p><?=anchor('about','About Us');

Lalu bagaimana sebuah image dimasukkan perintah 'anchor' tersebut?...
Mohon penjelasannya teman2...

Thanks,
senz

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

coba membantu..... Selama ini

February 15, 2010 by satandik, 1 year 50 weeks ago
Comment: 5919

satandik's picture

coba membantu.....
Selama ini saya make tags link biasa seperti ini dan nga ada masalah:

 
<a href="index.php/namaKelas/namaFungsi/(bisa ditambahin parameter klo ada)"> <img src="image.jpg" /></a>

<?phpecho anchor('about', img

February 6, 2010 by mul14, 1 year 51 weeks ago
Comment: 5880

mul14's picture

echo anchor('about', img('about.png'))

Jangan lupa html dan url helper di-load.

--
http://framework.web.id - Komunitas pengguna web framework

RE: link image

February 1, 2010 by ant1xf1233, 2 years 4 days ago
Comment: 5872

ant1xf1233's picture

bisa dengan tag html biasa saja

mudah-mudahan membantu

Regards
ant1xf1233

Ok...thanks ant1xf1233

February 2, 2010 by senz, 2 years 2 days ago
Comment: 5874

senz's picture

Ok...thanks ant1xf1233

Premium Drupal Themes by Adaptivethemes