12 messaggi dal 08 luglio 2005
Salve a tutti, vorrei inserire nel mio sito internet un menù orizzontale con le relative tendine che funzioni sia con IExplorer che con Firefox.

Dopo una lunga ricerca, ho trovato il menù che mi piace e funziona perfettamente con IExplorer, ma non è altrettanto funzionante con FireFox.

Riporto il codice JScript e la relativa pagina HTML.

Qualcuno sa darmi qualche aiuto e far funzionare questo Menu anche su FireFox?

File: data-delux-menu.js
---------------------------
// -- Deluxe Tuner Style Names
var itemStylesNames=["Top Item",];
var menuStylesNames=["Top Menu",];
// -- End of Deluxe Tuner Style Names

//--- Common
var isHorizontal=1;
var smColumns=1;
var smOrientation=0;
var smViewType=0;
var dmRTL=0;
var pressedItem=-2;
var itemCursor="pointer";
var itemTarget="_self";
var statusString="link";
var blankImage="deluxe-menu.files/blank.gif";

//--- Dimensions
var menuWidth="100px";
var menuHeight="21px";
var smWidth="";
var smHeight="";

//--- Positioning257
var absolutePos=1;
var posX="20.4%";
var posY="110";
var topDX=10;
var topDY=1;
var DX=-5;
var DY=0;

//--- Font
var fontStyle="normal 11px Arial";
var fontColor=["#000080","#000080"];
var fontDecoration=["none","none"];
var fontColorDisabled="#DAEFFA";

//--- Appearance
var menuBackColor="#89C6E7";
var menuBackImage="";
var menuBackRepeat="repeat";
var menuBorderColor="#13445E #FFFFFF";
var menuBorderWidth=1;
var menuBorderStyle="solid";

//--- Item Appearance
var itemBackColor=["#89C6E7","#279CC9"];
var itemBackImage=["",""];
var itemBorderWidth=1;
var itemBorderColor=["#89C6E7","#15546C #FFFFFF"];
var itemBorderStyle=["solid","solid"];
var itemSpacing=2;
var itemPadding="2px 5px 2px 10px";
var itemAlignTop="left";
var itemAlign="left";
var subMenuAlign="";

//--- Icons
var iconTopWidth=16;
var iconTopHeight=16;
var iconWidth=16;
var iconHeight=16;
var arrowWidth=7;
var arrowHeight=7;
var arrowImageMain=["deluxe-menu.files/arrv_white.gif",""];
var arrowImageSub=["deluxe-menu.files/arr_black.gif","deluxe-menu.files/arr_white.gif"];

//--- Separators
var separatorImage="";
var separatorWidth="100%";
var separatorHeight="3";
var separatorAlignment="left";
var separatorVImage="";
var separatorVWidth="3";
var separatorVHeight="100%";
var separatorPadding="0px";

//--- Floatable Menu
var floatable=0;
var floatIterations=6;
var floatableX=1;
var floatableY=1;

//--- Movable Menu
var movable=0;
var moveWidth=12;
var moveHeight=20;
var moveColor="#DECA9A";
var moveImage="";
var moveCursor="move";
var smMovable=0;
var closeBtnW=15;
var closeBtnH=15;
var closeBtn="";

//--- Transitional Effects & Filters
var transparency="85";
var transition=37;
var transOptions="maxSquare=5";
var transDuration=350;
var transDuration2=200;
var shadowLen=3;
var shadowColor="#B1B1B1";
var shadowTop=0;

//--- CSS Support (CSS-based Menu)
var cssStyle=0;
var cssSubmenu="";
var cssItem=["",""];
var cssItemText=["",""];

//--- Advanced
var dmObjectsCheck=0;
var saveNavigationPath=1;
var showByClick=0;
var noWrap=1;
var pathPrefix_img="images/vista1/";
var pathPrefix_link="";
var smShowPause=200;
var smHidePause=1000;
var smSmartScroll=1;
var smHideOnClick=1;
var dm_writeAll=1;

//--- AJAX-like Technology
var dmAJAX=0;
var dmAJAXCount=0;

//--- Dynamic Menu
var dynamic=0;

//--- Keystrokes Support
var keystrokes=0;
var dm_focus=1;
var dm_actKey=113;

var itemStyles = [
["itemWidth=123px","itemBorderWidth=0","fontStyle=normal 11px Arial","fontColor=#000080,#FFFFFF","itemBackImage=deluxe-menu.files/btn_tealblack.gif,deluxe-menu.files/btn_teal.gif"],
];
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 5px"],
];

var menuItems = [

["Home","", , , , , "0", "0", , ],
["|Home","CMhome.asp", , , , , , , , ],
["About Us","", , , , , "0","0", , ],
["|Mission Statement","CMMission.asp", , , , , , , , ],
["|Core Business","CMCore.asp", , , , , , , , ],
["|Find Us","Prova.asp", , , , , , , , ],
["Photogallery","", , , , , "0", "0", , ],
["|Photogallery","CMPhotoGallery.asp", , , , , , , , ],
["Our Products","", , , , , "0","0", , ],
["|Solar cylinders","CMBolSol.asp", , , , , , , , ],
["|DHW cylinders","CMBolDHW.asp", , , , , , , , ],
["|Geothermal cylinders","CMBolGEO.asp", , , , , , , , ],
["|Combi cylinders","CMBolCMB.asp", , , , , , , , ],
["|Buffer tanks","Prova.asp", , , , , , , , ],
["|Solar tanks","Prova.asp", , , , , , , , ],
["|Solar kit","Prova.asp", , , , , , , , ],
["|Accessories","Prova.asp", , , , , , , , ],
["Utility","", , , , , "0","0", , ],
["|Subscribe","Prova.asp", , , , , , , , ],
["|News","Prova.asp", , , , , , , , ],
["|Useful Links","Prova.asp", , , , , , , , ],
["Contact Us","", , , , , "0","0", , ],
["|Contact Us","Prova.asp", , , , , , , , ],

];

dm_init();


File: deluxe-menu.html
---------------------------
<html>
<head>
<BR>
<TABLE width="60%" border=0 align="center">
<TR width="100%">
<TD width="100%" style="FONT-FAMILY: Trebuchet MS; FONT-SIZE: 8pt; COLOR: DarkBlue;">
<IMG SRC="/cohme/IMG/Logo.png" height="60" width="180">
</TD>
</TR>
</TABLE>
<!-- Deluxe Menu -->
<noscript>Javascript Menu by Deluxe-Menu.com</noscript>
<script type="text/javascript">var dmWorkPath="deluxe-menu.files/";</script>
<script type="text/javascript" src="deluxe-menu.files/dmenu.js"></script>

<!-- Code for Deluxe Menu Items. Generated by Deluxe Tuner -->
<div id="dmlinks" style="font:normal 11px Trebuchet MS, Tahoma;color:#000000;text-decoration:none">
<a id="dmI0" href="testlink.html">Home</a>
<a id="dmI2" href="testlink.html">CHi Siamo</a>
<a id="dmI4" href="testlink.html">Description of Files</a>
<a id="dmI5" href="testlink.html">How To Setup</a>
<a id="dmI6" href="testlink.html">Parameters Info</a>
<a id="dmI7" href="testlink.html">Dynamic Functions</a>
<a id="dmI23" href="testlink.html">Sample 1</a>
<a id="dmI24" href="testlink.html" target="_">Sample 2 is Disabled</a>
<a id="dmI25" href="testlink.html">Sample 3</a>
<a id="dmI26" href="testlink.html">Sample 4</a>
<a id="dmI27" href="testlink.html">Sample 5</a>
<a id="dmI28" href="testlink.html">Sample 6</a>
<a id="dmI29" href="testlink.html">Sample 7</a>
<a id="dmI30" href="testlink.html">Sample 8</a>
<a id="dmI31" href="testlink.html">Sample 9</a>
<a id="dmI32" href="http://deluxe-menu.com/order-purchase.html" target="_blank">Purchase</a>
<a id="dmI33" href="testlink.htm">Contact Us</a>
</div>
</head>
<html>
<body leftmargin=10 topmargin=10 marginwidth=0 marginheight=0 bgcolor=#FFFFFF>
<script type="text/javascript" src="data-deluxe-menu.js"></script>
</body>
</HTML>

Torna al forum | Feed RSS

ASPItalia.com non è responsabile per il contenuto dei messaggi presenti su questo servizio, non avendo nessun controllo sui messaggi postati nei propri forum, che rappresentano l'espressione del pensiero degli autori.