Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

Inserire immagine in home page

Autore Messaggio
ragnola

Principiante
Principiante
3 Discussioni



Profilo - ragnola
28 settembre 2004 alle 15:20:23 Profilo - ragnolaInvia un messaggio privato Rispondi quotando
Come posso inserire una immagine fissa in home page, sopra alle top news e alle top del forum.
Il sito è http://www.ragnola.it

Grazie
Zalabard

Moderatore

Esperto
Esperto
781 Discussioni



Profilo - Zalabard
28 settembre 2004 alle 15:51:13 Profilo - ZalabardInvia un messaggio privato fsarzana@hotmail.com 228-720-524 Rispondi quotando
Prima del primo
Response.Write "<table ....
della defaultx-inc.asp, inserisci una tabella con un'immagine:
Response.Write "<table>" & vbCRLF
Response.Write " <tr>" & vbCRLF
Response.Write " <td>" & vbCRLF
Response.Write " <img src=........>" & vbCRLF
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " </table>" & vbCRLF

---------------
Frank Zalabard 8) (sviluppo@aspnuke.it)
ragnola

Principiante
Principiante
3 Discussioni



Profilo - ragnola
28 settembre 2004 alle 17:27:09 Profilo - ragnolaInvia un messaggio privato Rispondi quotando
Ti ringrazio funziona!
8)
Zalabard

Moderatore

Esperto
Esperto
781 Discussioni



Profilo - Zalabard
28 settembre 2004 alle 17:50:19 Profilo - ZalabardInvia un messaggio privato fsarzana@hotmail.com 228-720-524 Rispondi quotando
Vedo (o)
Bello! Ciao, grande [lo]
---------------
Frank Zalabard 8) (sviluppo@aspnuke.it)
Stella_Tigrata

Principiante
Principiante
10 Discussioni



Profilo - Stella_Tigrata
02 ottobre 2004 alle 12:45:57 Profilo - Stella_TigrataInvia un messaggio privato Rispondi quotando
Anche io ho provato ma non funziona..... :~(

Premetto sempre che ho installato il 2.0.3
Per defaultx-inc.asp la X sta ad indicare una delle default2-inc.asp, default3-inc.asp...etc? Perchè io ho provato a modificare come sopra indicato una di queste ma...nessun risultato :~(

Che ho sbagliato?
asnaldo

Utente
Utente
75 Discussioni



Profilo - asnaldo
29 ottobre 2004 alle 09:22:29 Profilo - asnaldoInvia un messaggio privato asnaldo@hotmail.it Rispondi quotando
Pure io non riesco :(
---------------
Ciauz!
http://www.AsnaldoCartoons.it
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
29 ottobre 2004 alle 09:51:39 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
Devi semplicemente creare una tabella, se sai usare HTML non dovrebbe essere difficile compilare una tabella.

Questo è il codice della pagina /includes/dfault-inc.asp:

[cit]
<%

INSERIRE QUI IL CODICE PER LA COSTRUZIONE DELLA TABELLA........................

Response.write "<table>" & vbCrlf
Response:write "<tr>" & vbCrlf
Response.write "<td><img src=""/imgs/nomeimmagine"">" & vbCrlf
Response.write "</td>" & vbCrlf
Response.write "</tr>" & vbCrlf
Response.write "</table>" & vbCrlf

If GLOBAL_NEWS_LINKS_TOP > 0 Then
Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF
Response.Write " <tr>" & vbCRLF
Response.Write " <td width=""100%"" valign=""top"" colspan=""3"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write "</table>" & vbCRLF
End If
DisplayTopNews GLOBAL_NEWS_TOP, 0
%>

Ciauzz DJ
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

http://aspnuke208.somee.com/Default.asp

asnaldo

Utente
Utente
75 Discussioni



Profilo - asnaldo
29 ottobre 2004 alle 10:06:08 Profilo - asnaldoInvia un messaggio privato asnaldo@hotmail.it Rispondi quotando
Non funziona.. Questo è quello ke ho fatto:
Codice della default-inc.asp

<%

<P><TABLE cellSpacing=1 cellPadding=2 width="60%" align=center border=1>
<TBODY>
<TR>
<TD>
<P align=center>Titolo</P></TD></TR>
<TR>
<TD>
<P align=center><IMG alt="" hspace=0
src="http://www.asnaldocartoons.it/io/th_davide_tigre.jpg" align=baseline
border=0></P></TD></TR></TBODY></TABLE></P>

Response.write "<table>" & vbCrlf
Response:write "<tr>" & vbCrlf
Response.write "<td><img src=""/imgs/nomeimmagine"">" & vbCrlf
Response.write "</td>" & vbCrlf
Response.write "</tr>" & vbCrlf
Response.write "</table>" & vbCrlf

If GLOBAL_NEWS_LINKS_TOP > 0 Then
Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF
Response.Write " <tr>" & vbCRLF
Response.Write " <td width=""100%"" valign=""top"" colspan=""3"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write "</table>" & vbCRLF
End If
DisplayTopNews GLOBAL_NEWS_TOP, 0

%>


Però non va ... [!?!]
---------------
Ciauz!
http://www.AsnaldoCartoons.it
emu

Moderatore

Esperto
Esperto
1714 Discussioni



Profilo - emu
29 ottobre 2004 alle 11:24:55 Profilo - emuInvia un messaggio privato Rispondi quotando
Perche' non puoi mescolare codice asp con codice html.
Dopo il <% ci vogliono solo istruzioni asp, il codice della tabella html va PRIMA del <%.
Ciao
---------------
development@aspnuke.it
asnaldo

Utente
Utente
75 Discussioni



Profilo - asnaldo
29 ottobre 2004 alle 11:44:12 Profilo - asnaldoInvia un messaggio privato asnaldo@hotmail.it Rispondi quotando
ok, sono riuscito inserendo questo codice nella Nella default5-inc.asp

<%

Response.write "<TABLE cellSpacing=""1"" cellPadding=""2"" width=""60%"" align=""center"" border=""0"">" & vbCrlf
Response.write "<TBODY>" & vbCrlf
Response.write "<TR>" & vbCrlf
Response.write "<TD>" & vbCrlf
Response.write "<P align=""center"">Sai riconoscere la tigre?</P>" & vbCrlf
Response.write "</TD>" & vbCrlf
Response.write "</TR>" & vbCrlf
Response.write "<TR>" & vbCrlf
Response.write "<TD>" & vbCrlf
Response.write "<P align=""center"">" & vbCrlf
Response.write "<IMG alt="" hspace=""0"" src=""http:\www.asnaldocartoons.it/io/th_davide_tigre.jpg"" align=""baseline"" border=""0""></P>" & vbCrlf
Response.write "</TD>" & vbCrlf
Response.write "</TR>" & vbCrlf
Response.write "</TBODY>" & vbCrlf
Response.write "</TABLE>" & vbCrlf
Response.write "</P>" & vbCrlf

Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCrlf
Response.Write " <tr>" & vbCrlf
If GLOBAL_ARTICLES_LINKS_TOP > 0 and GLOBAL_FORUM_TOP > 0 Then
Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF
DisplayTopArticlesLinks GLOBAL_ARTICLES_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " <td>  </td>" & vbCRLF
Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
ElseIf GLOBAL_ARTICLES_LINKS_TOP > 0 Then
Response.Write " <td width=""100%"" valign=""top"">" & vbCRLF
DisplayTopArticlesLinks GLOBAL_ARTICLES_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
ElseIf GLOBAL_FORUM_TOP > 0 Then
Response.Write " <td width=""100%"" valign=""top"" align=""right"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
End If
Response.Write "</table>" & vbCRLF
DisplayTopNews GLOBAL_NEWS_TOP, 0
%>



:p
---------------
Ciauz!
http://www.AsnaldoCartoons.it
 1  2  >>

Log in

Login
Password
Memorizza i tuoi dati:

Cerca

 

Sostieni AspNuke

Un piccolo gesto per aiutarci a mantenere AspNuke.it online

Promo

MusicWebItalia.it
Video Testi Traduzioni Spot Colonne sonore Accordi e Spartiti gratis.

Visitatori

Visitatori Correnti : 212
Membri : 0 offline Anna

Iscritti

 Utenti: 18940
Ultimo iscritto : glauco
Lista iscritti
Messaggi privati: 3373 Commenti: 2210 Immagini: 39 Downloads: 144 Articoli: 49 Pagine: 101 Siti web: 558 Notizie: 180 Sondaggi: 11 Preferiti: 5688357 Post sui forum: 51195 Libro degli ospiti: 4 Eventi: 7

Versioni

Temi