Newsgroup: it.comp.lang.javascript
Titolo: AIUUUUTTOOOOOOOO!!!!!!!!!!!!!!!!! CRISI dhtml!!!!

Ciao sono Sara, una webdesigner in crisi DHTML. io non so scrivere il
linguaggio ma mi capita di modificare qualche CSS all'interno di DYNAMIC
HTML SCRIPTS. Non ne vengo fuori da questo: qualcuno sarebbe cosi' gentile
da indicarmi la retta via? Ho l'esigenza di creare menu con un effetto
onmouseover su layers, senza usare javascript su immagini, ho  preso uno
script da HTML IT che mi sono modificata..ma c'e il problema che  la
struttura in cui sto' lavorando e' a frames e non vedo la possibilita' di
indicare il target sul link. Listo qui sotto l'intero menu'. Qualcuno
potrebbe dirmi come fare per indicare il target o essere cosi' gentile da
procurarmi un altro script che faccia lo stesso effetto?? Purtroppo ho
navigato per ore senza trovare niente che faccia a caso mio; lo script e' il
seguente: anticipo che ho gia' provato modifiche quali
 menul[0]='"essential.html" target="framedx"'; // ma senza risultati...
UN GRAZIE a chi mi puo' aiutare!!
sara...@libero.it
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
 <title>Untitled</title>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
 <title>I ain't signin' nothing</title>
 <style type: text/css>
 .title {font-size: 16px; color: #F2F2A2; font-family: verdana; font-weight:
bold; text-align: center}
 .subtitle {font-size: 14px; color: #F2F2A2; font-family: verdana;
font-weight: bold; text-align: center}
 .text {font-size: 14px; color: white; font-family: verdana; text-align:
justify}
 .menuh {
  BORDER-COLOR : #B6583F ;
  cursor : hand ;
  Border-Left : #B6583F ;
  Border-Top : #B6583F ;
  Padding-Left : 1px ;
  Padding-Top : 1px ;
  Background-Color : #F6B74B ;
  }
.menu {
  Background-Color : #B6583F ;
 }
.home {
  cursor : hand ;
 }
.menulinks{
text-decoration:none;
}
 </style>
</head>
<body bgcolor="#F6B74B" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0
marginheight=0>
<SCRIPT Language="Javascript1.2">
<!--
/*
Static menu script III (By maXimus, 
max...@nsimail.com
,
http://absolutegb.com/maximus/
)
Modified slightly/ permission granted to Dynamic Drive to feature script in
archive
For full source, usage terms, and 100's more DHTML scripts, visit
http://dynamicdrive.com
*/
file://configure below variable for menu width, position on page
var menuwidth=180
var offsetleft=0
var offsettop=130
function makeStatic() {
if (document.all) {object1.style.pixelTop=document.body.scrollTop+offsettop}
else{eval(document.object1.top=eval(window.pageYOffset+offsettop));}
setTimeout("makeStatic()",0);
}
if (document.all) {document.write('<DIV ALIGN="CENTER" ID="object1"
STYLE="Position:absolute; Top:20; Left:'+offsetleft+';
Z-Index:5;cursor:hand;background-color:#F6B74B"><TABLE BORDER="0"
width="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="#F6B74B"
bgcolor="#B6583F">')}
else if (document.layers){ document.write('<LAYER top="20" name="object1"
left="'+offsetleft+'" BGCOLOR=#F6B74B><TABLE BORDER="0" CELLPADDING="0"
CELLSPACING="1" bgcolor="#B6583F"><TR><TD><TABLE BORDER="0" CELLPADDING="0"
CELLSPACING="0" bgcolor="#B6583F" width="'+menuwidth+'">')}
var menui = new Array();
var menul = new Array();
file://configure below for menu items. Extend list as desired
menui[0]="<FONT FACE='VERDANA' SIZE=2 COLOR='#F2F2A2'><B><center>Essential
Nik Kershaw</center></B></FONT>";
menui[1]="<FONT FACE='VERDANA' SIZE=2 COLOR='#F2F2A2'><B>15
Minutes</B></FONT>";
menui[2]="<FONT FACE='VERDANA' SIZE=2 COLOR='#F2F2A2'><B>Somebody Loves
You</B></FONT>";
menui[3]="<FONT FACE='VERDANA' SIZE=2
COLOR='#F2F2A2'><B>WDYTOISF?</B></FONT>";
menui[4]="<FONT FACE='VERDANA' SIZE=2
COLOR='#F2F2A2'><B>Sometimes</B></FONT>";
menul[0]='"essential.html" target="framedx"'; // non funziona!!!//
menul[1]="15minutes.html";
menul[2]="sly.html";
menul[3]="wdytoisf.html";
menul[4]="sometimes.html";
for (i=0;i<=menui.length-1;i++)
if (document.all) {document.write('<TR><TD BORDERCOLOR="#F6B74B"
ONCLICK="location=\''+menul[i]+'\'" onmouseover="className=\'menuh\'"
onMouseout="className=\'menu\'"><CENTER><FONT>'+menui[i]+'</FONT></TD></TR>'
)}
else if (document.layers){document.write('<TR><TD
BGCOLOR="#B6583F"><ILAYER><LAYER width="'+menuwidth+'"
onmouseover="bgColor=\'#f6b74b\'"
onmouseout="bgColor=\'#b6583f\'"><CENTER><A HREF="'+menul[i]+'"
class=menulinks>'+menui[i]+'</A></CENTER></LAYER></ILAYER></TD></TR>')}
if (document.all) {document.write('</TABLE></DIV>')}
else if
(document.layers){document.write('</TABLE></TD></TR></TABLE></LAYER>')}
function menu3(){
if (document.all||document.layers)
makeStatic()
}
window.onload=menu3
file://-->
</SCRIPT>
</body>
</html>
--
***********************************************************************
Nik Kershaw site at 
http://www.ciaoweb.net/nik.kershaw/
**NEW SINGLE 'WOUNDED' OUT SOON!!!**
***********************************************************************


Comment: PGP key 
http://asp4free.ravenna2000.it/neowebsite/pubkey.asc
iQEVAwUBOZOvkbiJ7EQFBPgtAQHrCgf+NIYtLEP8YlcZrue3hnd6WwWekT4Uh0cZ
qFoSwuVCmVpQ0y/rQrDyd3kIaEI+xxgdCFeOFwkp2Gwjp8xegLaEvsKj32InU43W
hixsa4YDL0K+duGbagObugM24LNbmSUFRux2ewWGQToT6mrOAXcPzZKDEgdJrK/y
IKF1KBh9jeJCfUNhDSuVPPfHDG2YKQY8sgQSPAAvpBZLxrim5b+Omx5AOLFAUFl0
0AHy3XzDI3QkjM7SbNh8sqb9WNkONhdy69tdibR7RGvubwMVJ9I+3QYaotSoOT5w
tp32Z7cQ4u6tIcBOfgPMWxPwd0HvPP6bCl4nXNVReDv73+ngE/1fxA==
=FQRw
-----END PGP SIGNATURE-----