Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

top materiale

Autore Messaggio
Sampy

Utente
Utente
99 Discussioni



Profilo - Sampy
23 febbraio 2006 alle 22:06:13 Profilo - SampyInvia un messaggio privato Rispondi quotando
ciao asp nuke è da un pò ke nn posto, cmq sono incappato in un problema ed eccomi qua. vorrei allargare il top materiale della mia prima pagina per tutta la larghezza.

per essere più kiaro ecco un'immagine:


potete aiutarmi?
---------------

http://www.sampy.it
guyver

Esperto
Esperto
1270 Discussioni



Profilo - guyver
23 febbraio 2006 alle 22:55:00 Profilo - guyverInvia un messaggio privato Rispondi quotando
Penso che il tuo problema sia nel default-inc.asp.
Nella riga dove disegna la cella del mateeriale deevi scrivere <td colspan=""2""> al posto di <td> prima della funzione che richiama il disegno del blocco top materiale.
---------------
http://www.aspnukers.it
http://www.bitmaniasnc.com
guyver(at)anime4you.it (non è più attiva dopo aver chiuso il sito www.anime4you.it)
develop(at)aspnuke.it (non più attiva per motivi tecnici)
assistenza(at)bitmaniasnc.com
development(at)aspnukers.it
Sampy

Utente
Utente
99 Discussioni



Profilo - Sampy
26 febbraio 2006 alle 23:28:39 Profilo - SampyInvia un messaggio privato Rispondi quotando
grazie x la risposta ma il suggerimento nn ha funzionato...

provo a riportare il codice:

<!-- #include file="news-inc.asp" -->
<!-- #include file="forum-inc.asp" -->
<!-- #include file="downloads-inc.asp" -->


<%
Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF
Response.Write " <tr>" & vbCRLF
If GLOBAL_NEWS_LINKS_TOP > 0 And GLOBAL_FORUM_TOP > 0 And GLOBAL_DOWNLOADS_TOP > 0 Then
Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " <td>&nbsp;&nbsp;</td>" & vbCRLF
Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr>" & vbCRLF
Response.Write "<td valign=""top"">" & vBcrlf
DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "date"
Response.Write " </td>" & vbCRLF
Response.Write " <tr>" & vbCRLF
ElseIf GLOBAL_NEWS_LINKS_TOP > 0 Then
Response.Write " <td width=""100%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_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
ElseIf GLOBAL_DOWNLOADS_TOP > 0 Then
Response.Write " <td width=""100%"" colspan=""2"">" & vbCRLF
DisplayTopForum GLOBAL_DOWNLOADS_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
End If
Response.Write "</table>" & vbCRLF
DisplayTopNews GLOBAL_NEWS_TOP, 0
%>


---------------

http://www.sampy.it
guyver

Esperto
Esperto
1270 Discussioni



Profilo - guyver
27 febbraio 2006 alle 12:27:53 Profilo - guyverInvia un messaggio privato Rispondi quotando
Modifica il default-inc così


<!-- #include file="news-inc.asp" -->
<!-- #include file="forum-inc.asp" -->
<!-- #include file="downloads-inc.asp" -->


<%
Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF
Response.Write " <tr>" & vbCRLF
If GLOBAL_NEWS_LINKS_TOP > 0 And GLOBAL_FORUM_TOP > 0 And GLOBAL_DOWNLOADS_TOP > 0 Then
Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " <td>&nbsp;&nbsp;</td>" & vbCRLF
Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr>" & vbCRLF
Response.Write "<td colspan=""3"" valign=""top"">" & vBcrlf
DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "date"
Response.Write " </td>" & vbCRLF
Response.Write " <tr>" & vbCRLF
ElseIf GLOBAL_NEWS_LINKS_TOP > 0 Then
Response.Write " <td width=""100%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_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
ElseIf GLOBAL_DOWNLOADS_TOP > 0 Then
Response.Write " <td width=""100%"" colspan=""2"">" & vbCRLF
DisplayTopForum GLOBAL_DOWNLOADS_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
End If
Response.Write "</table>" & vbCRLF
DisplayTopNews GLOBAL_NEWS_TOP, 0
%>

---------------
http://www.aspnukers.it
http://www.bitmaniasnc.com
guyver(at)anime4you.it (non è più attiva dopo aver chiuso il sito www.anime4you.it)
develop(at)aspnuke.it (non più attiva per motivi tecnici)
assistenza(at)bitmaniasnc.com
development(at)aspnukers.it
Sampy

Utente
Utente
99 Discussioni



Profilo - Sampy
28 febbraio 2006 alle 20:30:40 Profilo - SampyInvia un messaggio privato Rispondi quotando
ok funziona (o).

per aggiungere un'altra cs sotto top materale devo inserirla qui:

<!-- #include file="news-inc.asp" -->
<!-- #include file="forum-inc.asp" -->
<!-- #include file="downloads-inc.asp" -->


<%
Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF
Response.Write " <tr>" & vbCRLF
If GLOBAL_NEWS_LINKS_TOP > 0 And GLOBAL_FORUM_TOP > 0 And GLOBAL_DOWNLOADS_TOP > 0 Then
Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " <td>&nbsp;&nbsp;</td>" & vbCRLF
Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr>" & vbCRLF
Response.Write "<td colspan=""3"" valign=""top"">" & vBcrlf
DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "date"
Response.Write " </td>" & vbCRLF
Response.Write " <tr>" & vbCRLF
ElseIf GLOBAL_NEWS_LINKS_TOP > 0 Then
Response.Write " <td width=""100%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_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
ElseIf GLOBAL_DOWNLOADS_TOP > 0 Then
Response.Write " <td width=""100%"" colspan=""2"">" & vbCRLF
DisplayTopForum GLOBAL_DOWNLOADS_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
End If
----------------------------qui?--------------------------
Response.Write "</table>" & vbCRLF
DisplayTopNews GLOBAL_NEWS_TOP, 0
%>


---------------

http://www.sampy.it
guyver

Esperto
Esperto
1270 Discussioni



Profilo - guyver
01 marzo 2006 alle 08:52:53 Profilo - guyverInvia un messaggio privato Rispondi quotando
Esatto.
---------------
http://www.aspnukers.it
http://www.bitmaniasnc.com
guyver(at)anime4you.it (non è più attiva dopo aver chiuso il sito www.anime4you.it)
develop(at)aspnuke.it (non più attiva per motivi tecnici)
assistenza(at)bitmaniasnc.com
development(at)aspnukers.it

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 : 103
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: 5685287 Post sui forum: 51195 Libro degli ospiti: 4 Eventi: 7

Versioni

Temi