Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

Default3-inc.asp problema di sostituzione topforum

Autore Messaggio
dracoon

Amatore
Amatore
27 Discussioni



Profilo - dracoon
04 luglio 2006 alle 14:07:17 Profilo - dracoonInvia un messaggio privato Rispondi quotando
Ciao Ragazzi,Ho modificato il file default3-inc.asp in modo che il top-forum scomparisse nella pagina di default,e così è successo,poi ho voluto aggiungere al posto del top forum la search tool di Google .Ora la search Google me la fa vedere in un modo tutto sbagliato,cioè me la fa vedere sopra la news.Immaginate un blocco con dentro la google search sopra le news.Ora potete dirmi cosa ho sbagliato ho cosa devo fare per far si che il blocco della google search sia inserito correttamente affianco alla topnews?Io ho creto una piccola pagina.asp chiamata google-inc.asp e l'ho inserita nel default3-inc.asp.ora vi faccio vedere i codici:

<%
Sub DisplayTopGoogle
CreateTopTable "goolgle" , ("Top Google")
%>

<!-- Search Google -->
<center>
<_form method=GET action="http://www.google.com/search">
<TABLE bgcolor="#003366" width="323"><tr><td>
<A HREF="http://www.google.com">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0"
ALT="Google" align="absmiddle" width="120" height="48"></A>
<INPUT TYPE=text name=q size=17 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value=it>
&nbsp;<INPUT type=submit name=btnG VALUE="Cerca" width="10" height="2"></td></tr></TABLE>
<p>&nbsp;</p>
<p>&nbsp;</p>
</_form>
</center>
<!-- Search Google -->
<%


End sub
%>

poi ecco qua il file default3-inc.asp modificato:

%>
<!-- #include file="news-inc.asp" -->
<!-- #include file="newsscroll-inc.asp"-->
<!-- #include file="google-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 Then
Response.Write "<td align=""center"" class=""small"" width=""50%"">" & vbCrlf
Response.Write "<MARQUEE behavior='scroll' align='center' direction='up' height='100' scrollamount='2' scrolldelay='80' onmouseover='this.stop()' onmouseout='this.start()'>" & vbCRLF
DisplayScrollNewsLinks 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
DisplayTopGoogle
'Response.Write "
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
DisplayTopGoogle
End If
Response.Write "</table>" & vbCRLF
DisplayTopNews GLOBAL_NEWS_TOP, 0
%>


Ora vi chiedo cortesiemente se potete far si che il blocco google search sia affiancata alla topnews che ora è la scrollnews.Attendo al più presto, se è possibile, risposta.
GRAZIE!. [lo]

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

Versioni

Temi