problemi con la visualizzazione in internet explorer

fra82asr

Nuovo Utente
14 Gen 2010
8
0
0
Ho realizzato un sito internet con macromedia dreamweaver ma ho un piccolo problemino che spero tu possa aiutare a risolverlo...quando clicco sulle pagine del menu, quello evidenziato in rosso e grassetto(home,chi siamo,prodotti,realizzazioni,servizi,contatti e link) in mozilla va tutto bene e le apre senza problemi, mentre in internet explorer mi dice di "verificare che il percorso o l'inirizzo internet sia corretto"...in pratica non me le apre..il sito l'ho quasi finito e mi manca da risolvere questo problema...spero di essere stato chiaro e che tu possa aiutarmi..ti posto il codice della pagina interessata, il menu è quello scritto in rosso:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="colemar, laura testa, ippoliti francesco, parquet a roma, resine a roma, trattamenti superfici a roma, trattamento pavimenti a roma"/>

<meta name="description" content="Colemar - Resine e Parquet di Laura Testa"/>
<script src="js/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="js/jquery121.js" type="text/javascript"></script>
<script src="js/sound.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" />

<!--BEGIN OF TERMS OF USE. DO NOT EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE-->
<style>
#free-flash-header a,#free-flash-header a:hover {color:#c2cae0;}#free-flash-header a:hover {text-decoration:none}.Stile1 {
color: #cc0000;
font-size: 20px;
}
</style>
<style type="text/css">

#dropmenudiv{
position:absolute;
background-color: #000000;
border:1px solid #990020;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:30px;
z-index:100;
}

#dropmenudiv a{
color:#999999;
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid #990020;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: #990020;
color:#000000;
}

/* Sample CSS definition for the example list. Remove if desired */
.navlist li {
list-style-type: square;
width: 135px;
background-color: #000000;
}
.Stile3 {color: #FFFFFF}
.Stile4 {color: #cc0000}
.Stile6 {color: #FFFFFF; font-size: 24px; }
</style>

<script type="text/javascript">

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="Nuova cartella/servizi_parquet.html">Parquet</a>'
menu1[1]='<a href="Nuova cartella/servizi_resina.html">Resina</a>'
menu1[2]='<a href="Nuova cartella/servizi_cotto.html">Cotto</a>'
menu1[3]='<a href="Nuova cartella/servizi_marmo.html">Marmo</a>'
menu1[4]='<a href="Nuova cartella/servizi_pietra.html">Pietra</a>'

var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWid th-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWi dth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeig ht-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeigh t
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}

function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+ "px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

</script>
<style type="text/css">
<!--
object,embed{margin:0px!important;}
html {overflow-x:hidden;}
-->
</style>

</head>
<body>
<div id="holder">
<div id="body_bottom_bgd">
<div id="page">

<table width="100%" border="0" align="center">
<tr>
<td><p class="codice">
<applet code="ImagePeel1ech.class" width="770" height="200" archive="ImagePeel1.jar">
<param name="COPYRIGHT" value="ImagePeel applet, Copyright 1999, Eric Harshbarger"></param>
<param name="AUTHOR" value="Eric Harshbarger, http://www.ericharshbarger.org"></param>
<param name="PAUSE" value="5000"></param>
<param name="DIRECTION" value="random"></param>
<param name="TRANSITION.STEPS" value="15"></param>
<param name="TRANSITION.SPEED" value="75"></param>
<param name="TARGET" value="_top"></param>
<param name="IMAGE.0" value="striscia-negozio.jpg"></param>
<param name="IMAGE.1" value="fff.jpg"></param>


</applet>

</p></td>
</tr>
<tr>
<td><applet code="FadeText.class" align="baseline" width="760" height="30" id="FadeText">
<param name="BGCOLOR" value="000000">
<param name="Color" value="FFFF00;77AAFF;00FFAA;FF0000;">
<param name="Font" value="Broadway">
<param name="FPS" value="10">
<param name="Pause" value="1000">
<param name="Size" value="20">
<param name="String"
value="Pavimenti in: Parquet - Legno - Cotto - Resina - Pietra;;Novità: Carta da parati - Decorazioni murali - Moquette;;Colemar...;;">
</applet></td>
</tr>
<tr>
<td><div id="blue_line"></div></td></tr>
</table>

<!--END OF TERMS OF USE-->

<div id="left_col">
<div class="clearboth"></div>
<!-- Menu --><br /><br /><br />
<script type="text/javascript">
myButton('HOME','_home.htm');
</script>
<script type="text/javascript">
myButton('CHI SIAMO','chi siamo.htm');
</script>
<script type="text/javascript">
myButton('PRODOTTI','prodotti.html');
</script>
<script type="text/javascript">
myButton('REALIZZAZIONI','realizzazioni.html');
</script>
<script type="text/javascript">
myButton('CONTATTI','_contact.htm');
</script>
<a href="#" onMouseover="dropdownmenu(this, event, menu1, '70px')" onMouseout="delayhidemenu()"><script type="text/javascript">
myButton('SERVIZI','_services.htm');
</script> </a>
<script type="text/javascript">
myButton('LINK','siti amici.html');
</script>

<!-- Menu end-->

</div>

<div id="right_col">
<div id="header"></div>

<div id="left_bgd">

<noscript>
<!-- PLACE YOUR ALTERNATIVE CONTENT HERE -->
<!-- END ALTERNATIVE -->
</noscript>
<div id="firefoxbug">

<!-- firefoxbug -->

<div class="dynamicContent" >
</div>
</div><!--end firefoxbug-->
</div><!--end left_bgd-->

</div><!--end right_col-->

<!--BEGIN OF TERMS OF USE. DO NOT EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE-->
<div id="copy" style="height: 75px; position: absolute; bottom: 0px; left:0px; border: none; width: 100%;">
<div id="free-flash-header" style="width:820px;margin:0 auto;text-align:right;position:relative;bottom:0px;margin-top:63px;color:#990020;font-size:14px;font-family:Verdana"><strong>Web Master</strong> : <strong><a href="mailto:[email protected]">Francesco Bruni</a></strong></div>
</div>


<div class="clearboth"><br /><div id="blue_line"></div><div align="center" style="color:#990020;font-size:12px;font-family:Verdana"><br />Via Giuseppe Belardinelli, 4 (angolo Via Cassia/Olgiata) 00123 Roma - Tel e Fax: +39 06 30893835</div><br /></div>
</div>
<div id="copyright"></div>
</div>
<br/>
</div>
</body>
</html>

Poi se vuoi vi allego la cartella del sito che tanto è leggera...
grazie e scusate il diturbo
 
CREDO CHE L'ERRORE SIA IN QUESTO FILE JAVASCRIPT...seno ho altri 3 file js che posso postare

//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

var anim_ids=0;

function ControlVersion()
{
var version;
var axo;
var e;

// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

try {
// version will be set for 7.X or greater players
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
version = axo.GetVariable("$version");
} catch (e) {
}

if (!version)
{
try {
// version will be set for 6.X players only
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");

// installed player is some revision of 6.0
// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
// so we have to be careful.

// default to the first public version
version = "WIN 6,0,21,0";

// throws if AllowScripAccess does not exist (introduced in 6.0r47)
axo.AllowScriptAccess = "always";

// safe to call for 6.0r47 or greater
version = axo.GetVariable("$version");

} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 4.X or 5.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = axo.GetVariable("$version");
} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 3.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = "WIN 3,0,18,0";
} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 2.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
version = "WIN 2,0,0,11";
} catch (e) {
version = -1;
}
}
return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
// NS/Opera version >= 3 check for Flash plugin in plugin array
var flashVer = -1;

if (navigator.plugins != null && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
var descArray = flashDescription.split(" ");
var tempArrayMajor = descArray[2].split(".");
var versionMajor = tempArrayMajor[0];
var versionMinor = tempArrayMajor[1];
var versionRevision = descArray[3];
if (versionRevision == "") {
versionRevision = descArray[4];
}
if (versionRevision[0] == "d") {
versionRevision = versionRevision.substring(1);
} else if (versionRevision[0] == "r") {
versionRevision = versionRevision.substring(1);
if (versionRevision.indexOf("d") > 0) {
versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
}
}
var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
}
}
// MSN/WebTV 2.6 supports Flash 4
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
// WebTV 2.5 supports Flash 3
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv" ) != -1) flashVer = 2;
else if ( isIE && isWin && !isOpera ) {
flashVer = ControlVersion();
}
return flashVer;
}

{
versionStr = GetSwfVer();
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
// Given "WIN 2,0,0,11"
tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
tempString = tempArray[1]; // "2,0,0,11"
versionArray = tempString.split(","); // ['2', '0', '0', '11']
} else {
versionArray = versionStr.split(".");
}
var versionMajor = versionArray[0];
var versionMinor = versionArray[1];
var versionRevision = versionArray[2];


if (versionMajor >= parseFloat(reqMajorVer)) {
return true;
} else if (versionMajor == parseFloat(reqMajorVer)) {
if (versionMinor > parseFloat(reqMinorVer))
return true;
else if (versionMinor == parseFloat(reqMinorVer)) {
if (versionRevision >= parseFloat(reqRevision))
return true;
}
}
return false;
}
}

function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '';
anim_ids++;
if (isIE && isWin && !isOpera)
{
str += '<object id="anim_'+anim_ids+'"';
for (var i in objAttrs)
{
str += i + '="' + objAttrs + '" ';
}
str += '>';
for (var i in params)
{
str += '<param name="' + i + '" value="' + params + '" /> ';
}
str += '</object>';
}
else
{
str += '<embed name="anim_'+anim_ids+'" ';
for (var i in embedAttrs)
{
str += i + '="' + embedAttrs + '" ';
}
str += '> </embed>';
}
document.write(str);
}

function AC_FL_RunContent(){
var ret =
AC_GetArgs
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
var ret =
AC_GetArgs
( arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, null
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args.toLowerCase();

switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblclick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
case "id":
ret.objAttrs[args] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "tabindex":
ret.embedAttrs[args] = ret.objAttrs[args] = args[i+1];
break;
default:
ret.embedAttrs[args] = ret.params[args] = args[i+1];
}
}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
}
 

Discussioni simili