- Home
- Categorie
- Coding e Sistemistica
- HTML e CSS
- Problema Banner
-
Probabilmente utilizzi ie che ha bisogno del tag object oltre a embed.
Quanto pesa il file flash che richiama questo script ? Forse e quello che rallenta il caricamento
-
penso sia 200 kb mica e troppo
-
prova ad inserire i tag object
-
Se posso incollo il codice in questa sezione e lo commentiamo insieme se vi va.
Grazie
-
Va bene
-
Ciao ecco il codice di cui ti parlavo naturalmente e' una porzione.
echo "<script type='text/javascript' src='".THEME."/js/jsapi.js'></script>
<table bgcolor='#FFFFFF' cellSpacing='0' cellPadding='0' width='97%' align='center' border='0'>
<tr><td width='15' style='background-image:url(".THEME."images/left.gif);'>
<img alt src='".THEME."images/left.gif' width='15' border='0'></td>
<td width='100%'><table border='0' cellpadding='0' cellspacing='0' width='100%' style='height:210px;'><tr>
<td width='50%' style='background-image:url(".THEME."images/nav_bg.gif);'>
<a href='".BASEDIR."index.php'><img alt='' title='".$settings[sitename]."' border='0' src='".THEME."images/logo.jpg'></a></td>
<a href='".BASEDIR."index.php'><p alignimg alt='' title='".$settings[sitename]."' border='0' src='http:indirizzodelsito.it/banner_320x135.swf'></a></td>ecco il codice che ne pensi secondo te perche' non carica ne l'swf e poi viene tutto sfalsato
Aspetto tue notizie grazie ancora
-
Ciao ti aggiorno sul codice , perche' forse ho trovato la soluzione a riguardo pero' soltanto che ora il logo centrale e' in basso e il banner e' in alto.
<a href='".BASEDIR."index.php'><img alt='' title='".$settings[sitename]."' border='0' src='".THEME."images/logo.jpg'></a></td><div style='text-align:center;margin:0 auto;'>
<object type='application/x-shockwave-flash' data='".THEME."banner_320x135.swf' width='320' height='135' align='right'>
<param name='movie' value='".THEME."banner_320x135.swf' />
<param name='quality' value='high' />
</object>
come posso fare.Grazie
-
così si capisce poco puoi postare magari il link o tutto il codice compreso css?
-
Ok dopo te lo posto
-
Ecco il codice del file .php che contiene il banner non ti posto tutto il codice perche' e' solo questa la parte che ti puo' interessare tutto il resto e' a parte
// theme settings
$body_text = "#626C6F";
$body_bg = "#BEC8CE";
$theme_width = "100%";
$theme_width_l = "165";
$theme_width_r = "165";
// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
include LOCALE.LOCALESET."search.php";
global $theme_width,$settings;echo "<script type='text/javascript' src='".THEME."/js/jsapi.js'></script>
<table bgcolor='#FFFFFF' cellSpacing='0' cellPadding='0' width='97%' align='center' border='0'>
<tr><td width='15' style='background-image:url(".THEME."images/left.gif);'>
<img alt src='".THEME."images/left.gif' width='15' border='0'></td>
<td width='100%'><table border='0' cellpadding='0' cellspacing='0' width='100%' style='height:210px;'><tr>
<td width='50%' style='background-image:url(".THEME."images/nav_bg.gif);'>
<a href='".BASEDIR."index.php'><img alt='' title='".$settings[sitename]."' border='0' src='".THEME."images/logo.jpg'></a></td><div style='text-align:center;margin:0 auto;'><td align='right' style='padding-top:0px; padding-bottom:4px; padding-right:14px; background-image:url(".THEME."images/nav_bg.gif);' width='50%'>";
<object type='application/x-shockwave-flash' data='".THEME."banner_320x135.swf' width='320' height='135' align='right'>
<param name='movie' value='".THEME."banner_320x135.swf' />
<param name='quality' value='high' />
</object>include THEME."js_functions.php";
mentre questo e' il css completo come da te richiesto
body {
background-color: #ACB6BC;
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:12px;
margin: 0px;
scrollbar-face-color:#E2E2E3;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight-color: #D1D7DC;
scrollbar-arrow-color:#92A9C3;
scrollbar-track-color: #DBDBDB;
scrollbar-darkshadow-color: #C2C2C2;
text-decoration:underline;
}
a {
color:#235769;
text-decoration:none;
font-weight:normal;
}
a:hover {
color:#5679A0;
text-decoration:none;
}
a.side {
color:#235769;
text-decoration:none;
font-weight: bold;
font-size:10.9px;
font-family:arial;}
a:hover.side {
color:#003366;
text-decoration:underline;
background:;
}
img {
border: 0px;
}
.panel {
background: #EEF0F1 url(images/cellpic.gif);
color: #787E84;
font-weight: bold;
text-align: left;
height: 24px;
padding-left:4px; padding-right:4px; padding-top:0px; padding-bottom:0px
}
.panel2 {
background: url(images/cellpic2.gif);
color:;
font-weight: bold;
text-align: left;
height: 24px;
padding-left:4px; padding-right:4px; padding-top:0px; padding-bottom:0px
}
#wv_menu1 {
position : absolute;
top : 165px;
left : 280px;
visibility : hidden;
width : 663px;
height : 33px;
background: #CCCCCC url('images/search_pic.gif');
border : 1px solid #89959B
}
form {
margin:0px 0px 0px 0px;
}
hr {
border-top:1px #E2E2E2 solid;
border-bottom:1px #F9F9F9 solid;
}
hr.side-hr {
border:1px solid;
border-bottom:1px solid;}
.side-border-left { padding:5px; }
.side-border-right {padding:5px; }
td {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
}
pre {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
}
.alt {
color:#666;
}
.footer
{
background: url('images/footer.gif') repeat-x top left;
color:;
height:36px;
padding-left:4px; padding-right:4px; padding-top:14px; padding-bottom:4px
}
.foot-links
{
font-size: 10px; color: #E1E40B; font-weight: bold;
}
a.foot-links
{
text-decoration: none; color:; font-weight: bold;
}
a.foot-links:visited
{
text-decoration: none; color:;
}
a.foot-links:hover
{
text-decoration: none; color: #FFA200;
}
.tabclass
{
background-color:;
color: #000000;
}
.button {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;font-weight:bold;
color:#496690; background: #E9ECF2 url('images/inputbg.gif');
border:1px solid;
margin-top:2px
}.textbox {
font-family:Tahoma,Verdana,Tahoma,Arial,Sans-Serif;
font-size:12px;
color:#17354B;
background-color:#EEEEEE;
border-top: #999 1px solid;
border-left: 1px solid;
border-right: #fff 1px solid;
border-bottom: 1px solid;
}
.main-bg {
padding:5px 0px 5px 0px;
}
.news-body {
font-size:10px;
color:#364A51;
background-color:#F7F7F7;
padding:3px 4px 3px 4px;
}
.tables {
border-top:1px #BCC8D0 solid;
border-bottom:1px solid;
border-right:1px solid;
border-left:1px solid;
}
.side-body {
font-size:12px;
color:#364A51;
background-color:#EEF0F1;
padding:4px 4px 6px 4px;
}
.border { background-color:#ddd;
border:1px solid;
}
.border2 {
border-width:0px 1px 1px 1px;
border-color:#BCC8D0;
border-style:solid;
}
.news-footer {
font-size:9px;
font-weight:normal;
color:#142000;
background-color:#BEBCB5;
background-image:url('images/news-footer.gif');
padding:4px;
}
.tbl-border {
background-color:#CDD4D8;
}
.tbl {
font-size:10px;
padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:10px;
color:#364A51;
background-color:#F3F3F3;
padding:4px;
}
.tbl2 {
font-size:10px;
color:#364A51;
background-color:#EEF0F1;
padding:4px;
}.forum-caption {
font-size:11px/125px;
font-weight:bold;
color:#5B7B86;
background-color:#E1E1E1;
background-image:url('images/forum-caption.gif');
padding:4px;
}
.quote {
font-size:11px;
font-family:sans-serif, Arial, Verdana;
font-weight:normal;
color:#368204;
background-color:#ECECEC;
padding:2px;
margin:0px 20px 0px 20px;
border-top: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
border-bottom: 1px solid;
}.poll {
height:12px;
border:0px #BBBBBB solid;
}
.comment-name {
font-weight:bold;
color:#626C6F;
}
.shoutboxname {
font-weight:bold;
color:#626C6F;
}
.shoutbox {
color:#555;
}
.shoutboxdate {
font-size:9px;
color:#333;
text-align:right;
}
.small {
font-size:10px;
font-weight:normal;
}
.small2 {
font-size:10px;
font-weight:normal;
color:#555;
}
.side-small {
font-size:9px;
font-weight:normal;
color:#333;
}
.side-label {
background-color:#e3e3e3;
padding:2px;
}
#contentwrapper
{
width: 320px;
height: 135px;
border: 0px solid black;
background-color: transparent;
padding: 5px;
text-align:justify;
}
.billcontent
{
width: 100%;
display:block;
}ti posto anche uno screen di come viene la situazione
htt://ww.ilportaledinapoli.com/portale/Immagine.png
dacci un occhiata e se puoi farmi sapere cosa ne pensi te ne sarei grato.
ps naturalmente si accettano anche altri consigli se no che comunità siamo
Grazie