Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    problemi ie non carica file html

    Salve,
    mi trovo nella spiacevole condizione di dover modificare un sito html creato (non da me) con photoshop..
    ha creato la pagina che devo sostituire: "lavori" con Fireworks e Dreamweaver e ho modificato il link nella pagina "home"..
    fin quì tutto ok..

    Home --> Lavori ok

    il problema è che dalla pagina "lavori" non mi funzionano i link alle pagine originali che non devo modificare (home, gallery ecc.)

    Lavori --> Home NON FA NULLA!!
    Lavori --> Gallery NON FA NULLA!!
    ecc.

    ho provato con firefox: funziona tutto..
    quindi il problema (secondo me) è legato a Internet Explorer..
    credo in particolare al tipo di html che viene esportato da Photoshop.. csobj e altri tag non riconosciuti..

    Come posso risolvere?
    Grazie a tutti.
    ... non può piovere per sempre!

  2. #2
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,781
    magari se posti link da controllare potremmo farci un'opinione...

  3. #3
    ecco i risultati della pagina home passata col validatore html di w3c:

    ------------- inizio -----------------------

    Result: Failed validation, 28 errors
    File: C:\...SITI WEB\SitoAD\home.html
    Encoding: iso-8859-1
    Doctype: HTML 4.01 Transitional

    This page is not Valid HTML 4.01 Transitional!
    Below are the results of attempting to parse this document with an SGML parser.

    Error Line 8 column 16: element "CSSCRIPTDICT" undefined.
    <csscriptdict>
    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.



    Error Line 9 column 11: required attribute "TYPE" not specified.
    <script><!--
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.



    Error Line 106 column 16: element "CSACTIONDICT" undefined.
    <csactiondict>


    Error Line 107 column 11: required attribute "TYPE" not specified.
    <script><!--


    Error Line 118 column 37: there is no attribute "LEFTMARGIN".
    <body bgcolor="#fff400" leftmargin="0" topmargin="0" marginwidth="0" marginhei
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.



    Error Line 118 column 51: there is no attribute "TOPMARGIN".
    ...r="#fff400" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bac


    Error Line 118 column 67: there is no attribute "MARGINWIDTH".
    ...margin="0" topmargin="0" marginwidth="0" marginheight="0" background="immagin


    Error Line 118 column 84: there is no attribute "MARGINHEIGHT".
    ...gin="0" marginwidth="0" marginheight="0" background="immagini/sfondo.jpg" onL


    Error Line 123 column 67: required attribute "ALT" not specified.
    ...c="immagini/home1_01.jpg" width="571" height="144"></td>


    Error Line 126 column 49: value of attribute "ALIGN" cannot be "BASELINE"; must be one of "TOP", "MIDDLE", "BOTTOM", "LEFT", "RIGHT".
    <applet code="jads.class" align="baseline" width="152" height="144">
    The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; a value like “selected="true"” is not allowed.



    Error Line 144 column 101: required attribute "ALT" not specified.
    ...4" border="0" usemap="#home1_03aaf4c"><map name="home1_03aaf4c"><area href="m


    Error Line 144 column 202: required attribute "ALT" not specified.
    ...it" coords="7,86,32,106" shape="rect"></map></td>


    Error Line 147 column 78: required attribute "ALT" not specified.
    ...i/home1_04.jpg" width="760" height="30"></td>


    Error Line 150 column 31: there is no attribute "W".
    <td colspan="3"><csobj w="760" h="90" t="Button" ht="immagini/User_05over.


    Error Line 150 column 39: there is no attribute "H".
    <td colspan="3"><csobj w="760" h="90" t="Button" ht="immagini/User_05over.


    Error Line 150 column 46: there is no attribute "T".
    ... colspan="3"><csobj w="760" h="90" t="Button" ht="immagini/User_05over.jpg"><


    Error Line 150 column 58: there is no attribute "HT".
    ...><csobj w="760" h="90" t="Button" ht="immagini/User_05over.jpg"><a href="gall


    Error Line 150 column 84: element "CSOBJ" undefined.
    ...Button" ht="immagini/User_05over.jpg"></csobj></td>


    Error Line 154 column 84: element "CSOBJ" undefined.
    ...Button" ht="immagini/User_06over.jpg"></csobj></td>


    Error Line 157 column 84: element "CSOBJ" undefined.
    ...Button" ht="immagini/User_07over.jpg"></csobj></td>


    Error Line 160 column 85: element "CSOBJ" undefined.
    ...Button" ht="immagini/User_08over.jpg"></csobj></td>


    Error Line 164 column 85: element "CSOBJ" undefined.
    ...Button" ht="immagini/User_09over.jpg"></csobj></td>


    Error Line 167 column 78: required attribute "ALT" not specified.
    ...i/home1_10.jpg" width="760" height="38"></td>

    ------------------- fine

    Volendo posso postare il codice html..
    ... non può piovere per sempre!

  4. #4
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    	<html>
    
    		<head>
    			<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
    			<meta name="generator" content="Adobe GoLive 4">
    			<title>AVOSS DESIGN</title>
    			<csscriptdict>
    				<script><!--
    CSStopExecution = false;
    CSInit = new Array;
    function CSScriptInit() {
    if(typeof(skipPage) != "undefined") { if(skipPage) return; }
    idxArray = new Array;
    for(var i=0;i<CSInit.length;i++)
    	idxArray[i] = i;
    CSAction2(CSInit, idxArray);
    }
    CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
    function IsIE() { return CSAg.indexOf("MSIE") > 0;}
    function CSIEStyl(s) { return document.all.tags("div")[s].style; }
    function CSNSStyl(s) { return CSFindElement(s,0); }
    function CSFindElement(n,ly) { if (CSBVers < 4) return document[n];
    	var curDoc = ly ? ly.document : document; var elem = curDoc[n];
    	if (!elem) { for (var i=0;i<curDoc.layers.length;i++) {
    		elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
    	return elem;
    }
    function CSClickReturn () {
    	var bAgent = window.navigator.userAgent; 
    	var bAppName = window.navigator.appName;
    	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
    		return true; // dont follow link
    	else return false; // dont follow link
    }
    function CSButtonReturn () {
    	var bAgent = window.navigator.userAgent; 
    	var bAppName = window.navigator.appName;
    	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
    		return false; // follow link
    	else return true; // follow link
    }
    CSIm = new Object();
    function CSIShow(n,i) {
    	if (document.images) {
    		if (CSIm[n]) {
    			var img = (!IsIE()) ? CSFindElement(n,0) : document[n];
    			if (img && typeof(CSIm[n][i].src) != "undefined") {img.src = CSIm[n][i].src;}
    			if(i != 0)
    				self.status = CSIm[n][3];
    			else
    				self.status = " ";
    			return true;
    		}
    	}
    	return false;
    }
    function CSILoad(action) {
    	im = action[1];
    	if (document.images) {
    		CSIm[im] = new Object();
    		for (var i=2;i<5;i++) {
    			if (action[i] != '') { CSIm[im][i-2] = new Image(); CSIm[im][i-2].src = action[i]; }
    			else CSIm[im][i-2] = 0;
    		}
    		CSIm[im][3] = action[5];
    	}
    }
    CSStopExecution = false;
    
    function CSAction(array) { 
    	return CSAction2(CSAct, array);
    }
    function CSAction2(fct, array) { 
    	var result;
    	for (var i=0;i<array.length;i++) {
    		if(CSStopExecution) return false; 
    		var actArray = fct[array[i]];
    		if(actArray == null) return false; 
    		var tempArray = new Array;
    		for(var j=1;j<actArray.length;j++) {
    			if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {
    				if(actArray[j][0] == "VAR") {
    					tempArray[j] = CSStateArray[actArray[j][1]];
    				}
    				else {
    					if(actArray[j][0] == "ACT") {
    						tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
    					}
    				else
    					tempArray[j] = actArray[j];
    				}
    			}
    			else
    				tempArray[j] = actArray[j];
    		}			
    		result = actArray[0](tempArray);
    	}
    	return result;
    }
    CSAct = new Object;
    
    // --></script>
    
    			</csscriptdict>
    			<csactiondict>
    				<script><!--
    CSInit[CSInit.length] = new Array(CSILoad,/*CMP*/'Button',/*URL*/'immagini/home_05.jpg',/*URL*/'immagini/User_05over.jpg',/*URL*/'','');
    CSInit[CSInit.length] = new Array(CSILoad,/*CMP*/'Button2',/*URL*/'immagini/home_06.jpg',/*URL*/'immagini/User_06over.jpg',/*URL*/'','');
    CSInit[CSInit.length] = new Array(CSILoad,/*CMP*/'Button3',/*URL*/'immagini/home_07.jpg',/*URL*/'immagini/User_07over.jpg',/*URL*/'','');
    CSInit[CSInit.length] = new Array(CSILoad,/*CMP*/'Button4',/*URL*/'immagini/home_08.jpg',/*URL*/'immagini/User_08over.jpg',/*URL*/'','');
    CSInit[CSInit.length] = new Array(CSILoad,/*CMP*/'Button5',/*URL*/'immagini/home_09.jpg',/*URL*/'immagini/User_09over.jpg',/*URL*/'','');
    
    // --></script>
    			</csactiondict>
    		</head>
    
    		<body bgcolor="#fff400" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="immagini/sfondo.jpg" onLoad="CSScriptInit();">
    			<center>
    <table width="760" border="0" cellpadding="0" cellspacing="0">
    
    					<tr>
    						<td>[img]immagini/home1_01.jpg[/img]</td>
    						<td>
    							<center>
    								<applet code="jads.class" align="baseline" width="152" height="144">
    									<param name="image_0" value="image/img1.gif">
    									<param name="image_1" value="image/img2.gif">
    									<param name="image_2" value="image/img3.gif">
    									<param name="image_3" value="image/img4.gif">
    
    									<param name="image_4" value="image/img5.gif">
    									<param name="image_5" value="image/img6.gif">
    									<param name="image_6" value="image/img7.gif">
    									<param name="image_7" value="image/img8.gif">
    									<param name="image_8" value="image/img9.gif">
    									<param name="image_10" value="image/img11.gif">
    									<param name="image_11" value="image/img12.gif">
    									<param name="image_12" value="image/img13.gif">
    									<param name="wait" value="50">
    
    								</applet></center>
    						</td>
    						<td>[img]immagini/home1_03.jpg[/img]<map name="home1_03aaf4c"><area href="mailto:avoss@avossdesign.it" coords="7,86,32,106" shape="rect"></map></td>
    					</tr>
    					<tr>
    						<td colspan="3">[img]immagini/home1_04.jpg[/img]</td>
    					</tr>
    					<tr>
    						<td colspan="3"><csobj w="760" h="90" t="Button" ht="immagini/User_05over.jpg">[img]immagini/home_05.jpg[/img]</csobj></td>
    
    					</tr>
    					<tr>
    						<td colspan="3"><csobj w="760" h="97" t="Button" ht="immagini/User_06over.jpg">[img]immagini/home_06.jpg[/img]</csobj></td>
    					</tr>
    					<tr>
    						<td colspan="3"><csobj w="760" h="78" t="Button" ht="immagini/User_07over.jpg">[img]immagini/home_07.jpg[/img]</csobj></td>
    					</tr>
    					<tr>
    						<td colspan="3"><csobj w="760" h="114" t="Button" ht="immagini/User_08over.jpg">[img]immagini/home_08.jpg[/img]</csobj></td>
    
    					</tr>
    					<tr>
    						<td colspan="3"><csobj w="760" h="126" t="Button" ht="immagini/User_09over.jpg">[img]immagini/home_09.jpg[/img]</csobj></td>
    					</tr>
    					<tr>
    						<td colspan="3">[img]immagini/home1_10.jpg[/img]</td>
    					</tr>
    			  </table>
    				
    			</center>
    
    		</body>
    
    	</html>
    ... non può piovere per sempre!

  5. #5
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    2,620

    Aiuto!Tutto codice e niente link!!!!!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.