Vai al contenuto

LINK DA DIV AD IFRAME....NON FUNGE CON MAC....


danny

Messaggi raccomandati

ho scritto il codice di questa pagina html....

ho fatto le varie prove browser....

sul mac (safari ed explorer) i link nella pagina non funzionano e non mi caricano le pagine esterne nell'iframe corrispondente....

posto il codice....mi aiutate? :roll: grazie mille....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; charset=windows-1252">

<STYLE>

A {

BORDER-RIGHT: #ffe 1px solid; BORDER-TOP: #ffe 1px solid; BORDER-LEFT: #ffe 1px solid; BORDER-BOTTOM: #ffe 1px solid; TEXT-DECORATION: none

}

A:hover {

BORDER-RIGHT: #ff8c00 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ff8c00 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; BORDER-LEFT: #ff8c00 1px solid; COLOR: #000000; PADDING-TOP: 0px; BORDER-BOTTOM: #ff8c00 1px solid; BACKGROUND-COLOR: #e0e0e0; TEXT-DECORATION: none

}

A:link {

FONT-SIZE: 8pt; COLOR: #ff8c55; FONT-FAMILY: Tahoma; TEXT-DECORATION: none

}

DIV {

CURSOR: hand; TEXT-DECORATION: none

}

.a {

BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: normal; FONT-SIZE: 11px; Z-INDEX: 10; BACKGROUND: #CC0000; LEFT: 12px; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; WIDTH: 150px; COLOR: #fff; LINE-HEIGHT: normal; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; FONT-STYLE: normal; POSITION: absolute; TOP: 140px; HEIGHT: 40px; FONT-VARIANT: normal

}

.b {

BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: normal; FONT-SIZE: 11px; Z-INDEX: 9; BACKGROUND: #CC0000; LEFT: 12px; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; WIDTH: 150px; COLOR: #fff; LINE-HEIGHT: normal; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; FONT-STYLE: normal; POSITION: absolute; TOP: 185px; HEIGHT: 40px; FONT-VARIANT: normal

}

.c {

BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: normal; FONT-SIZE: 11px; Z-INDEX: 8; BACKGROUND: #CC0000; LEFT: 12px; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; WIDTH: 150px; COLOR: #fff; LINE-HEIGHT: normal; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; FONT-STYLE: normal; POSITION: absolute; TOP: 230px; HEIGHT: 40px; FONT-VARIANT: normal

}

.d {

BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: normal; FONT-SIZE: 11px; Z-INDEX: 7; BACKGROUND: #CC0000; LEFT: 12px; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; WIDTH: 150px; COLOR: #fff; LINE-HEIGHT: normal; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; FONT-STYLE: normal; POSITION: absolute; TOP: 275px; HEIGHT: 40px; FONT-VARIANT: normal

}

.e {

BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: normal; FONT-SIZE: 11px; Z-INDEX: 6; BACKGROUND: #CC0000; LEFT: 12px; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; WIDTH: 150px; COLOR: #fff; LINE-HEIGHT: normal; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; FONT-STYLE: normal; POSITION: absolute; TOP:320px; HEIGHT: 40px; FONT-VARIANT: normal

}

iframe

{

background-color: transparent;

}

</STYLE>

<SCRIPT>

aus();

function st1(a,id){

i=a;i+=19;

document.getElementById(id).style.letterSpacing=i/9;

document.getElementById(id).style.filter='alpha(opacity='+i+')';

if (i<90){setTimeout('st1('+i+','+id+')',1)}return(i)}

function st2(a,id){

i=a;i-=5;

document.getElementById(id).style.letterSpacing=i/13

document.getElementById(id).style.filter='alpha(opacity='+i+')';

if (i>50){setTimeout('st2('+i+','+id+')',1)}}

function aus(){

for (z=1;z<=5;z++){

document.getElementById(z).style.filter='alpha(opacity=70)';

document.getElementById(z).style.letterSpacing=2;

document.getElementById(7).style.filter='progid:DXImageTransform.Microsoft.Shadow(direction=130,color=gray,strength=5)'}

}

</SCRIPT> <SCRIPT language=JavaScript>

nedstatbasic("ABEsyQFtNLgfEEbtEj/ekbQUdSuQ", 0);

</SCRIPT>

<META content="MSHTML 5.50.4926.2500" name=GENERATOR></HEAD>

<BODY><a href="frame.htm" target="testo">

<DIV class=a id=1 onmouseover=st1(20,1) onmouseout=st2(80,1)>products</DIV></A>

<DIV class=as id=a1><TABEL><TR><TD></TABLE></DIV><A

href="http://www.kreativamente.com">

<DIV class=b id=2 onmouseover=st1(20,2) onmouseout=st2(80,2)>support</DIV></A>

<DIV class=bs id=a2><TABEL><TR height="100%"

width="100%"><TD></TR></TD></TABLE></DIV><A href="">

<DIV class=c id=3 onmouseover=st1(20,3) onmouseout=st2(80,3)>download</DIV></A>

<DIV class=bs id=a2><TABEL><TR><TD></TABLE></DIV><A href="">

<DIV class=d id=4 onmouseover=st1(20,4) onmouseout=st2(80,4)>contact</DIV></A>

<DIV class=bs id=a2><TABEL><TR><TD></TABLE></DIV><A href="">

<DIV class=e id=5 onmouseover=st1(20,5) onmouseout=st2(80,5)>order</DIV></A>

<DIV class=bs id=a2><TABEL><TR><TD></TABLE></DIV>

<DIV class=g id=7 >

</DIV>

<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" >

<tr>

<td width="780" height="88" valign="top">imageUP.jpg</td>

</tr>

<tr> </tr>

</table>

<table width="780" height="579" border="0" align="center" cellpadding="0" cellspacing="0" background="sfondo.jpg">

<tr>

<td width="237" height="48"></td>

<td width="482"></td>

<td width="61"></td>

</tr>

<tr>

<td height="478"></td>

<td valign="top"><iframe allowtransparency="true" class="iframe" src="1.htm" name="testo" frameBorder=0 width=482 scrolling=no height=478></IFRAME></td>

<td></td>

</tr>

<tr>

<td height="53"></td>

<td></td>

<td></td>

</tr>

</table>

</BODY></HTML>

Link al commento
Condividi su altri siti

A quanto ho letto proprio stamattina, Mozilla (e forse anche Netscape 7.2) è l'unico browser Mac noto per supportare correttamente iframe.

Safari attualmente non ha alcun supporto e così anche IE 5 Mac.

hic manebimus optime

Link al commento
Condividi su altri siti

Passato da Icab 2.9 e da SEEdit

file://localhost/Dalmatian HD/Documenti/NewDocument5.htm

Altogether 49 errors found. Only 25 errors are listed below.

JavaScript Error (56/26): Cannot create an object from the "null" value

JavaScript Error (61/46): "nedstatbasic": Invalid reference (function/object/variable not defined?)

Error (65/1): ID/NAME tokens must start with a letter and must contain only the characters A-Z, a-z, "_", "-", ":", ".".

Warning (65/1): In the tag <DIV> the value of the attribute "ONMOUSEOVER" must be enclosed in quotes.

Warning (65/1): In the tag <DIV> the value of the attribute "ONMOUSEOUT" must be enclosed in quotes.

Error (65/1): <A> must not contain block level elements like <DIV>.

Error (66/21): The tag <TABEL> is not part of HTML 4.0.

Error (66/28): The end tag </DIV> is missing.

Error (66/28): <TR> is only allowed inside tables.

Error (66/32): The end tag </DIV> is missing.

Error (66/32): <TD> is only allowed inside tables.

Error (66/36): The start tag for </TABLE> can't be found.

Error (68/1): ID/NAME tokens must start with a letter and must contain only the characters A-Z, a-z, "_", "-", ":", ".".

Warning (68/1): In the tag <DIV> the value of the attribute "ONMOUSEOVER" must be enclosed in quotes.

Warning (68/1): In the tag <DIV> the value of the attribute "ONMOUSEOUT" must be enclosed in quotes.

Error (68/1): <A> must not contain block level elements like <DIV>.

Error (69/21): The tag <TABEL> is not part of HTML 4.0.

Error (69/28): In the tag <TR> the attribute "HEIGHT" is not allowed.

Error (69/28): In the tag <TR> the attribute "WIDTH" is not allowed.

Error (69/28): The end tag </DIV> is missing.

Error (69/28): <TR> is only allowed inside tables.

Error (70/14): The end tag </DIV> is missing.

Error (70/14): <TD> is only allowed inside tables.

Error (70/18): The start tag for </TR> can't be found.

Error (70/23): The start tag for </TD> can't be found.

Error (70/28): The start tag for </TABLE> can't be found.

Error (71/1): ID/NAME tokens must start with a letter and must contain only the characters A-Z, a-z, "_", "-", ":", ".".

Warning (71/1): In the tag <DIV> the value of the attribute "ONMOUSEOVER" must be enclosed in quotes.

Warning (71/1): In the tag <DIV> the value of the attribute "ONMOUSEOUT" must be enclosed in quotes.

Error (71/1): <A> must not contain block level elements like <DIV>.

Error (72/21): The tag <TABEL> is not part of HTML 4.0.

Warning (73/1): In the tag <DIV> the value of the attribute "ONMOUSEOVER" must be enclosed in quotes.

Warning (73/1): In the tag <DIV> the value of the attribute "ONMOUSEOUT" must be enclosed in quotes.

Warning (75/1): In the tag <DIV> the value of the attribute "ONMOUSEOVER" must be enclosed in quotes.

Warning (75/1): In the tag <DIV> the value of the attribute "ONMOUSEOUT" must be enclosed in quotes.

Warning (86/1): The attribute "HEIGHT" is not allowed for the tag <TABLE>.

Warning (86/1): The attribute "BACKGROUND" is not allowed for the tag <TABLE>.

Un Mac è per sempre !

Link al commento
Condividi su altri siti

beh, il validatore di iCab (ma anche quello del W3C) talvolta è sin troppo fiscale.

Ad esempio, segnala la mancata chiusura di alcuni tag <div> che invece è presente nel codice. Alcuni tag, piuttosto, sembrano tradire origini proprietarie o "foreste" come l'inusuale (per me) <TABEL>.

hic manebimus optime

Link al commento
Condividi su altri siti

Archiviato

Questa discussione è archiviata e chiusa a future risposte.

×
×
  • Crea Nuovo...