Link HTML - Mi sfugge qualcosa.
Inviato: 16/01/2006, 15:33
Ho creato un semplice box nel quale ho inserito un'immagine. Intendo, ora, fare in modo che questa immagine linki una pagina html. Non riesco a risolvere 2 questioni:
-Qual'è la sintassi esatta del comando che devo inserire per creare il collegamento?
- In quale cartella, sul server, devo mettere la pagina HTML?
Il codice del box è:
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => tep_image(DIR_WS_IMAGES . 'bottone.gif'). RICETTE_TESTATA);
new infoBoxHeading($info_box_contents, false, false, null );
$info_box_contents = array();
$info_box_contents[] = array('align' => 'center', 'text' => tep_image(DIR_WS_IMAGES . 'libro_ricette.gif'));
new infoBox($info_box_contents);
?>
Grazie.
-Qual'è la sintassi esatta del comando che devo inserire per creare il collegamento?
- In quale cartella, sul server, devo mettere la pagina HTML?
Il codice del box è:
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => tep_image(DIR_WS_IMAGES . 'bottone.gif'). RICETTE_TESTATA);
new infoBoxHeading($info_box_contents, false, false, null );
$info_box_contents = array();
$info_box_contents[] = array('align' => 'center', 'text' => tep_image(DIR_WS_IMAGES . 'libro_ricette.gif'));
new infoBox($info_box_contents);
?>
Grazie.
