Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

larghezza blocchi

Autore Messaggio
anfrybogard

Principiante
Principiante
18 Discussioni



Profilo - anfrybogard
13 maggio 2006 alle 22:35:10 Profilo - anfrybogardInvia un messaggio privato Rispondi quotando
ciao ragazzi ho un piccolo problemino:
volevo modificare la larghezza dei blocchi di destra. ho letto sul forum che devo modificare il toppage-inc alla fine e così ho fatto ma purtroppo varia la larghezza dei soli blocchi di sinistra e non di destra (non ditemi che ho confuso left con right perchè ho modificato entrambi).
sulla destra ho il login e la top8articoli che hanno la larghezza fissa a 150

qualche soluzione?

grazie a tutti

gianfranco
ugrakarma

Principiante
Principiante
4 Discussioni



Profilo - ugrakarma
13 maggio 2006 alle 22:55:33 Profilo - ugrakarmaInvia un messaggio privato Rispondi quotando
prova a intervenire sui fogli di stile {addons.css oppure default.css, in themesdefault}
anfrybogard

Principiante
Principiante
18 Discussioni



Profilo - anfrybogard
14 maggio 2006 alle 12:37:05 Profilo - anfrybogardInvia un messaggio privato Rispondi quotando
ma su default.css che parametri dovrei cambiare? perche ho trovato solo quelli per impostare la dimensione fissa del sito ma non quelli dei blocchi laterali
guyver

Esperto
Esperto
1270 Discussioni



Profilo - guyver
14 maggio 2006 alle 16:41:54 Profilo - guyverInvia un messaggio privato Rispondi quotando
Se usi aspnuke 2.0.6 in toppage-inc.asp trovi queste righe

lColW = 150
rColW = 150

che identificano la larghezza, rispettivamente, della colonna di sinistra e quella di destra.

Baste che tu modifichi queste variabili con il valore che interessa a te.

---------------
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
anfrybogard

Principiante
Principiante
18 Discussioni



Profilo - anfrybogard
15 maggio 2006 alle 22:44:28 Profilo - anfrybogardInvia un messaggio privato Rispondi quotando
uso la versione 2.0.5 in cui non ci sono questi valori.
posso inserirli comunque? o si può fare diversamente?
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
15 maggio 2006 alle 22:56:36 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
Come non ci sono...? E come vengono determinati i valori delle colonne?
Guarda il file toppage-inc.asp alla riga 162 e 172, troverai i valori sinistro e destro.
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

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

anfrybogard

Principiante
Principiante
18 Discussioni



Profilo - anfrybogard
15 maggio 2006 alle 22:57:58 Profilo - anfrybogardInvia un messaggio privato Rispondi quotando
non ci sono i lcolw che diceva guyver
anfrybogard

Principiante
Principiante
18 Discussioni



Profilo - anfrybogard
15 maggio 2006 alle 23:00:35 Profilo - anfrybogardInvia un messaggio privato Rispondi quotando
provo a modificare la voce
If IsArray(tRightColumn) Then
%>
<td width="10">&nbsp;</td>
<td width="150">&nbsp;</td>

portando il valore da 150 a 200 ma non fa nulle.
il valore precedente se lo porto da 10 a 50 ok ma l'altro nulla.
invece per il LEFT tutto ok
dove sbaglio?
anfrybogard

Principiante
Principiante
18 Discussioni



Profilo - anfrybogard
15 maggio 2006 alle 23:03:10 Profilo - anfrybogardInvia un messaggio privato Rispondi quotando
cmq se volete vedere il sito è www.rockaction.it
in cui si nota il blocco log-in e topo8articoli fissi a 150 mentre il blocco disco e contatore a 200 perche da me modificati a mano
anfrybogard

Principiante
Principiante
18 Discussioni



Profilo - anfrybogard
15 maggio 2006 alle 23:05:57 Profilo - anfrybogardInvia un messaggio privato Rispondi quotando
se può essere utile questo è il toppage-inc.asp

<!-- #include file="toolbar_js-inc.asp" -->
<%
Dim oImgFs, oImgFolder, oImgFile, sImgType, sImgList
Dim sColSpan
Dim dblStartTimer, dblFinishTimer
dblStartTimer = Timer()

sTheme = GetAndSetTheme()
if sDynTitle = "" Then
sDynTitle = " - " & sTitlePage
End If
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<_html>
<_head>
<_title><%=GLOBAL_PAGE_NAME & sDynTitle%><_/title>
<_meta http-equiv="Content-Type" content="text/html;charset=<%=sCharset%>">
<_meta name="Keywords" content="<%=GLOBAL_META_KEYWORDS%>">
<_meta name="Description" content="<%=GLOBAL_META_DESCRIPTION%>">
<_meta name="Author" content="<%=GLOBAL_META_AUTHOR%>">
<_meta name="Generator" content="<%=GLOBAL_SITE_VERSION%>">
<_meta name="robots" content="index,follow">
<%
If sIcon <> "" Then
Response.write "<link rel=""Shortcut Icon"" href=""" & GLOBAL_SITE_URL & GLOBAL_SITE_PATH & sIcon & """>"
End If
%>
<link rel="stylesheet" href="<%=GLOBAL_SITE_THEMES_PATH & sTheme & "/default.css"%>" type="text/css">
<%
' Added to have a addons.css to mantain compatibility with old themes
IF ExistFile(Server.MapPath(GLOBAL_SITE_THEMES_PATH & sTheme & "/addon.css")) Then
Response.Write "<link rel=""stylesheet"" href=""" & GLOBAL_SITE_THEMES_PATH & sTheme & "/addon.css"" type=""text/css"">" & vbCRLF
ElseIF ExistFile(Server.MapPath(GLOBAL_SITE_THEMES_PATH & "addon.css")) Then
Response.Write "<link rel=""stylesheet"" href=""" & GLOBAL_SITE_THEMES_PATH & "addon.css"" type=""text/css"">" & vbCRLF
End IF
%>
<!-- #include file="base_js-inc.asp" -->
<_Script type="text/Java_Script" language="Java_Script">
var myWin;
var opened = false;
var myimages=new Array();
var ie4 = false;
var RGB = new Array(256);
var k = "0123456789abcdef";

for (var i = 0; i < 16; i++)
for (var j = 0; j < 16; j++)
RGB[16*i+j] = k.charAt(i) + k.charAt(j);

preloadimages(<%
If bPreloadImages Then
sImgList = ""
Set oImgFs = Server.CreateObject("Scripting.FileSystemObject")
Set oImgFolder = oImgFs.GetFolder(Server.MapPath(GLOBAL_SITE_IMAGES_PATH))
For Each oImgFile In oImgFolder.Files
sImgType = lcase(right(oImgFile.Name, 4))
If sImgType = ".jpg" Or sImgType = ".gif" Or sImgType = ".png" Then
If sImgList = "" Then
sImgList = "'" & GLOBAL_SITE_IMAGES_PATH & oImgFile.Name & "'"
Else
sImgList = sImgList & ",'" & GLOBAL_SITE_IMAGES_PATH & oImgFile.Name & "'"
End If
End If
Next
Set oImgFolder = Nothing
Set oImgFs = Nothing
Response.write sImgList
End If
%>);

if(document.all) {
ie4 = true;
}

getZone();
</_Script>
<%
'True is you want to use WYGSIWYG Editor
If bWYSIWYGeditor then
PrepareWYSIWYGeditor
End if
%>
<_/head>
<_body bottommargin="0" leftmargin="0" marginheight="0" marginwidth="0" rightmargin="0" topmargin="0" onUnload="closeChild()" onLoad="updateToolbar()">
<table id="TopPage" width="100%" height="60" border="0" align="center" cellpadding="0" cellspacing="0" class="topbanner">
<tr>
<td align="left" width="40%"><a href="<%=GLOBAL_SITE_PATH%>"><img src="<%=GLOBAL_SITE_THEMES_PATH & sTheme & "/logo.gif"%>" border="0" alt="Logo"></a></td>
<td align="right" width="60%">
<%
If bDisplayAdvertising Then
DisplayWebsiteAdvertising()
End if
%>
</td>
</tr>
</table>
<%
if bDisplayToolbar then
DisplayToolBar
end if
%>
<table id="InfoPage" width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="InfoPage">
<tr>
<td width="10">&nbsp;</td>
<td width="300"><%=sTitlePage%>&nbsp;
<%
DisplayNewPrivateMessages(sPseudo)
%>
</td>
<td align="right">&nbsp;<%=sInfoPage%></td>
<td width="10">&nbsp;</td>
</tr>
</table>
<%
Response.Flush
%>
<table id="MainPage" width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="mytable">
<tr class="mytr">
<%
if Session("printable") = "OK" Then
%>
<td width="100%">
<%
else
%>
<td width="10">&nbsp;</td>
<%
If IsArray(tLeftColumn) Then
%>
<td width="150">&nbsp;</td>
<td width="10">&nbsp;</td>
<%
End If
%>
<td>&nbsp;</td>
<%
If IsArray(tRightColumn) Then
%>
<td width="10">&nbsp;</td>
<td width="200">&nbsp;</td>
<%
End If
%>
<td width="10">&nbsp;</td>
</tr>
<tr class="mytr">
<td width="10">&nbsp;</td>
<%
If IsArray(tLeftColumn) Then
%>
<td width="150" valign="top">
<%
DisplayColumn(tLeftColumn)
%>
</td>
<td width="10">&nbsp;</td>
<%
End If
%>
<td valign="top">
<table id="Display" width="100%" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="440" valign="top">
<%
Response.Flush
end if
%>
 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 : 120
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: 5685262 Post sui forum: 51195 Libro degli ospiti: 4 Eventi: 7

Versioni

Temi