Nuova Discussione
Rispondi
 
Pagina precedente | 1 2 3 | Pagina successiva
Stampa | Notifica email    
Autore

Java Non funziona

Ultimo Aggiornamento: 10/03/2008 12:32
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
12/02/2008 00:44
 
Email
 
Scheda Utente
 
Quota

Ciao a tutti ogni tanto ritorno, allora premetto che lo spunto l'ho preso dal sito di sbirulin e anche altrove, chiarisco, volevo mettere nel forum un menu a scomparsa sulla sinistra e che mimanga centrato durante lo scrol verticale, ho trovato quello che vi riporto qui sotto, io ho solo modificato le voci e i link del menu ma il tutto non funziona chi mi aiuta?



<script language="JavaScript1.2">
/*
Copyright © MaXimuS 2000-2001, All Rights Reserved.
Site: www.absolutegb.com/maximus
E-mail: maximus@nsimail.com
Version: 6.1 (NS6 Compatibility)
*/

// Default settings. Don't change them.

YOffset=40; // no quotes!!
staticYOffset=40; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=1000; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
hdrFontFamily="Verdana";
hdrFontSize="3";
hdrFontColor="#000080";
hdrBGColor="#AFCCDE";
hdrAlign="right";
hdrVAlign="center";
hdrHeight="40";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="#FFF7E5";
linkOverBGColor="#FFF7E5";
linkTarget="_top";
linkAlign="left";
menuBGColor="#000080";
menuIsStatic="yes";
menuWidth=110; // Must be a multiple of 10! no quotes!!
barBGColor="#AFCCDE";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="#000080";
barVAlign="top";
barWidth=20; // no quotes!!

NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")

moving=setTimeout('null',1)
function moveOut() {
if ((NS6 && parseInt(ssm.left)<0)||(IE && ssm.style.pixelLeft<0)||(NS && document.ssm.left<0)) {
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed)
if (NS6) {theleft+=10;ssm.left = theleft;}
if (IE) {ssm.style.pixelLeft += 10;}
if (NS) {document.ssm.left += 10;document.ssm.clip.left-=10}}
else {clearTimeout(moving);moving=setTimeout('null',1)}};
function moveBack() {
clearTimeout(moving);moving = setTimeout('moveBack1()', waitTime)}
function moveBack1() {
if ((NS6 && parseInt(ssm.left)>(-menuWidth))||(IE && ssm.style.pixelLeft>(-menuWidth))||(NS && document.ssm.left>(-menuWidth))) {
clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed);
if (NS6) {theleft-=10;ssm.left = theleft;}
if (IE) {ssm.style.pixelLeft -= 10;}
if (NS) {document.ssm.left -= 10;document.ssm.clip.left+=10}}
else {clearTimeout(moving);moving=setTimeout('null',1)}};

lastY = 0;
function makeStatic() {
if (NS6) {winY = window.pageYOffset;}
if (IE) {winY = document.body.scrollTop;var NM=document.all('ssm').style}
if (NS) {winY = window.pageYOffset;var NM=document.ssm}
if (NS6||IE||NS) {
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY);}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (NS6) {ssm.top=parseInt(ssm.top)+smooth;}
if (IE) NM.pixelTop+=smooth;
if (NS) NM.top+=smooth;
lastY = lastY+smooth;
setTimeout('makeStatic()', 1)}}

function initSlide() {
if (NS6){
ssm=document.getElementById("ssm").style
ssm.visibility="visible";
ssm.left = -menuWidth;}
else if (IE) {
document.all("ssm").style.visibility = "visible"
document.all("ssm").style.pixelLeft = -menuWidth;}
else if (NS) {
document.layers["ssm"].clip.left = menuWidth;
document.layers["ssm"].left = -menuWidth;
document.layers["ssm"].visibility = "show"}
if (menuIsStatic=="yes") makeStatic();}

function reloadPage() {if(NS)location.reload()}

function startMenu(menuHeader, barText) {
if (IE||NS6) {document.write('
')}
if (NS) {document.write('')}
if (NS6){document.write('
')}
tempBar=""
for (i=0;i tempBar+=barText.substring(i, i+1)+"
"}
document.write('') theleft=-menuWidth} function addItem(text, link, target) { if (!target) {target=linkTarget} document.write('')} function addHdr(text) { document.write('')} function endMenu() { document.write('
'+menuHeader+'

'+tempBar+'

'+text+'
')
if (NS6){document.write('
')}
if (IE||NS6) {document.write('
')}
if (NS) {document.write('')}
if (NS6||IE||NS) setTimeout('initSlide();', 500)}

window.onresize=reloadPage

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssmItems colors
*/
YOffset=20; // no quotes!!
staticYOffset=20; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=500; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="#BB1001";
menuIsStatic="yes";
menuWidth=100; // Must be a multiple of 10! no quotes!!
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="#ffffff";
hdrBGColor="#BB1001";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="20";
linkFontFamily="Verdana";
linkFontSize="1";
linkBGColor="white";
linkOverBGColor="#FF1601";
linkTarget="_top";
linkAlign="Left";
barBGColor="#FFFB06";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="white";
barVAlign="center";
barWidth=20; // no quotes!!

startMenu("Link Utili", "Mein Teil Link")
addItem("Home", "http://freeforumzone.leonardo.it/forum.aspx?c=62165&f=62165", "");
addItem("News", "http://freeforumzone.leonardo.it/recenti.aspx?c=62165&f=62165&ev=1", "");
addItem("YouTube", "http://it.youtube.com/", "");
addItem("Meteo", "http://www.ilmeteo.it/portale/meteocomuni?regione=Emilia+Romagna", "");
addItem("Ebay", "http://www.ebay.it/", "");
addItem("Google Map", "http://maps.google.it/maps?hl=it&tab=wl", "");
addItem("VMOA", "http://www.v-max.it/cgi-bin/YaBB/YaBB.cgi", "");
addItem("CroVmax", "http://vmax.blog.hr/", "");
addItem("Host x Foto", "http://photobucket.com/", "");
addItem("Netbikers Raduni", "http://www.netbikers.net/contenuti.asp?cat=calendariot", "");

endMenu()

</script>

OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
12/02/2008 00:46
 
Email
 
Scheda Utente
 
Quota

Dimentica, l'ho inserito nel lyout di inizio pagina ciaoooooooooooo e grazie in anticipo a tutti.
OFFLINE
Post: 56.796
Post: 41.494
Registrato il: 04/02/2004
Registrato il: 13/11/2004
Sesso: Maschile
Admin Unico
CONTENT CREATOR
12/02/2008 08:31
 
Email
 
Scheda Utente
 
Quota

Ciao guem, è sempre un piacere! [SM=x998187]

Ti conviene aspettare l'intervento di Sonia (sbirulin)...sicuramente leggerà questo topic in giornata! [SM=x611821]
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
12/02/2008 08:47
 
Email
 
Scheda Utente
 
Quota


Grazie Poeta, saprò aspettare [SM=x611883]
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
12/02/2008 19:49
 
Email
 
Scheda Utente
 
Quota


Dimenticavo Poeta, ho qualcosa anche per te, io non ci salto fuori, ho una gif statica che vorrei che si muovesse, se vuoi modificarla rendendola più accattivante ben venga, oppure mi basterebbe che il cartello girasse o qualcosa di analogo, insomma che si muovi un po....sempre se hai voglia e tempo, te la posto qui sotto, e grazie mille per il tempo che mi dedicate, i consigli e le varie grafiche che mi avete creato............
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
12/02/2008 20:10
 
Email
 
Scheda Utente
 
Quota


X Sbirulin, se ti sta bene, mi piace anche il tuo menù a scomparsa nell'alro sito, quindi se possibile posso usare anche quello, ma se mi spieghi come inserire i link e come inserirlo, i colori posso modificarli anche da solo, direi di riuscire, almeno spero.....
Cmq grazie mille di tutto ciaoooooooooooooooo e spero a presto!!!Come il solito sempre fretta!!!!!!!!
OFFLINE
Post: 11.049
Post: 2.551
Registrato il: 03/11/2006
Registrato il: 18/11/2006
Sesso: Femminile
12/02/2008 21:38
 
Email
 
Scheda Utente
 
Quota

<head>

<script language="JavaScript1.2">
/*
Copyright © MaXimuS 2000-2001, All Rights Reserved.
Site: www.absolutegb.com/maximus
E-mail: maximus@nsimail.com
Version: 6.1 (NS6 Compatibility)
*/

// Default settings. Don't change them.

YOffset=40; // no quotes!!
staticYOffset=40; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=1000; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
hdrFontFamily="Verdana";
hdrFontSize="3";
hdrFontColor="#000080";
hdrBGColor="#AFCCDE";
hdrAlign="right";
hdrVAlign="center";
hdrHeight="40";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="#FFF7E5";
linkOverBGColor="#FFF7E5";
linkTarget="_top";
linkAlign="left";
menuBGColor="#000080";
menuIsStatic="yes";
menuWidth=110; // Must be a multiple of 10! no quotes!!
barBGColor="#AFCCDE";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="#000080";
barVAlign="top";
barWidth=20; // no quotes!!

NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")

moving=setTimeout('null',1)
function moveOut() {
if ((NS6 && parseInt(ssm.left)<0)||(IE && ssm.style.pixelLeft<0)||(NS && document.ssm.left<0)) {
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed)
if (NS6) {theleft+=10;ssm.left = theleft;}
if (IE) {ssm.style.pixelLeft += 10;}
if (NS) {document.ssm.left += 10;document.ssm.clip.left-=10}}
else {clearTimeout(moving);moving=setTimeout('null',1)}};
function moveBack() {
clearTimeout(moving);moving = setTimeout('moveBack1()', waitTime)}
function moveBack1() {
if ((NS6 && parseInt(ssm.left)>(-menuWidth))||(IE && ssm.style.pixelLeft>(-menuWidth))||(NS && document.ssm.left>(-menuWidth))) {
clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed);
if (NS6) {theleft-=10;ssm.left = theleft;}
if (IE) {ssm.style.pixelLeft -= 10;}
if (NS) {document.ssm.left -= 10;document.ssm.clip.left+=10}}
else {clearTimeout(moving);moving=setTimeout('null',1)}};

lastY = 0;
function makeStatic() {
if (NS6) {winY = window.pageYOffset;}
if (IE) {winY = document.body.scrollTop;var NM=document.all('ssm').style}
if (NS) {winY = window.pageYOffset;var NM=document.ssm}
if (NS6||IE||NS) {
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY);}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (NS6) {ssm.top=parseInt(ssm.top)+smooth;}
if (IE) NM.pixelTop+=smooth;
if (NS) NM.top+=smooth;
lastY = lastY+smooth;
setTimeout('makeStatic()', 1)}}

function initSlide() {
if (NS6){
ssm=document.getElementById("ssm").style
ssm.visibility="visible";
ssm.left = -menuWidth;}
else if (IE) {
document.all("ssm").style.visibility = "visible"
document.all("ssm").style.pixelLeft = -menuWidth;}
else if (NS) {
document.layers["ssm"].clip.left = menuWidth;
document.layers["ssm"].left = -menuWidth;
document.layers["ssm"].visibility = "show"}
if (menuIsStatic=="yes") makeStatic();}

function reloadPage() {if(NS)location.reload()}

function startMenu(menuHeader, barText) {
if (IE||NS6) {document.write('
')}
if (NS) {document.write('')}
if (NS6){document.write('
')}
tempBar=""
for (i=0;i tempBar+=barText.substring(i, i+1)+"
"}
document.write('') theleft=-menuWidth} function addItem(text, link, target) { if (!target) {target=linkTarget} document.write('')} function addHdr(text) { document.write('')} function endMenu() { document.write('
'+menuHeader+'

'+tempBar+'

'+text+'
')
if (NS6){document.write('
')}
if (IE||NS6) {document.write('
')}
if (NS) {document.write('')}
if (NS6||IE||NS) setTimeout('initSlide();', 500)}

window.onresize=reloadPage

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssmItems colors
*/
YOffset=20; // no quotes!!
staticYOffset=20; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=500; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="#006600";
menuIsStatic="yes";
menuWidth=100; // Must be a multiple of 10! no quotes!!
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="#ffffff";
hdrBGColor="#006600";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="20";
linkFontFamily="Verdana";
linkFontSize="1";
linkBGColor="white";
linkOverBGColor="#66ff66";
linkTarget="_top";
linkAlign="Left";
barBGColor="#990000";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="white";
barVAlign="center";
barWidth=20; // no quotes!!

startMenu("Menu", "Web-Link")
addItem("Home", "http://www.web-link.it", "");
addItem("voce 1", "http://www.web-link.it", "");
addItem("voce 2", "http://www.web-link.it", "");
addItem("voce 3", "http://www.web-link.it", "");
addItem("voce 4", "http://www.web-link.it", "");
addItem("voce 5", "http://www.web-link.it", "");
addItem("voce 6", "http://www.web-link.it", "");
addItem("voce 7", "http://www.web-link.it", "");
addItem("voce 8", "http://www.web-link.it", "");
addItem("voce 9", "http://www.web-link.it", "");
addItem("voce 10", "http://www.web-link.it", "");
addItem("voce 11", "http://www.web-link.it", "");
addItem("voce 12", "http://www.web-link.it", "");
addItem("voce 13", "http://www.web-link.it", "");
addItem("voce 14", "http://www.web-link.it", "");
addItem("voce 15", "http://www.web-link.it", "");
addItem("voce 16", "http://www.web-link.it", "");
addItem("voce 17", "http://www.web-link.it", "");
addItem("voce 18", "http://www.web-link.it", "");
addItem("voce 19", "http://www.web-link.it", "");
endMenu()

</script>
</head>


OFFLINE
Post: 11.049
Post: 2.551
Registrato il: 03/11/2006
Registrato il: 18/11/2006
Sesso: Femminile
12/02/2008 21:39
 
Email
 
Scheda Utente
 
Quota

modifica solo questa parte




startMenu("Menu", "Web-Link")
addItem("Home", "http://www.web-link.it", "");
addItem("voce 1", "http://www.web-link.it", "");
addItem("voce 2", "http://www.web-link.it", "");
addItem("voce 3", "http://www.web-link.it", "");
addItem("voce 4", "http://www.web-link.it", "");
addItem("voce 5", "http://www.web-link.it", "");
addItem("voce 6", "http://www.web-link.it", "");
addItem("voce 7", "http://www.web-link.it", "");
addItem("voce 8", "http://www.web-link.it", "");
addItem("voce 9", "http://www.web-link.it", "");
addItem("voce 10", "http://www.web-link.it", "");
addItem("voce 11", "http://www.web-link.it", "");
addItem("voce 12", "http://www.web-link.it", "");
addItem("voce 13", "http://www.web-link.it", "");
addItem("voce 14", "http://www.web-link.it", "");
addItem("voce 15", "http://www.web-link.it", "");
addItem("voce 16", "http://www.web-link.it", "");
addItem("voce 17", "http://www.web-link.it", "");
addItem("voce 18", "http://www.web-link.it", "");
addItem("voce 19", "http://www.web-link.it", "");
endMenu()
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
12/02/2008 21:51
 
Email
 
Scheda Utente
 
Quota

ciao sbirulin, ma se voglio cambiare i colori come posso fare??? Oppure dove posso trovarne uno uguale al tuo? Vorrei mettere i colori del nostro forum nel menu!
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
12/02/2008 21:58
 
Email
 
Scheda Utente
 
Quota

provato ma non funziona, aiutoooooooooooo
OFFLINE
Post: 11.049
Post: 2.551
Registrato il: 03/11/2006
Registrato il: 18/11/2006
Sesso: Femminile
13/02/2008 20:25
 
Email
 
Scheda Utente
 
Quota

guem
appena posso te lo faccio
linkami il forum
e dimmi come lo vuoi
mandami il link x ffz mail
se riesco stasera te lo faccio
sono appena arrivata a casa e lavoro tutto il giorno e ho poco tempo
cmq massimo x venerdi hai tutto
sempre se mi linki e mi spieghi come vuoi :D
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
13/02/2008 21:52
 
Email
 
Scheda Utente
 
Quota

Grazie Sbirulin ti ho risposto in emali ffz, a presto senza fretta, questo non è un lavoro ma un hobby con passione. Ciao
OFFLINE
Post: 11.049
Post: 2.551
Registrato il: 03/11/2006
Registrato il: 18/11/2006
Sesso: Femminile
15/02/2008 22:05
 
Email
 
Scheda Utente
 
Quota

nn funziona nemmeno a me....quando ho + tempo ne cerco uno migliore...ho kiesto in assistenza il come mai,vedremo poi cosa risponderanno
scusa ma non posso farci nulla x questo preciso codice
magari sono problemi di ffz
bhuu
OFFLINE
Post: 3.280
Post: 101
Registrato il: 29/04/2004
Registrato il: 03/06/2007
Sesso: Maschile
16/02/2008 02:55
 
Email
 
Scheda Utente
 
Quota


Nessun problema sbirulin, aspetto senza problemi, domanda quello tuo nellaltro sito è sempre questo oppure un altro?

Nel nostro forum non riesco neppure ad aggiungere colore o a farlo girare e nemmeno ad aumentare il carattere nel conto alla rovescia dei compleanni, sai il perchè?
Le ho provate, direi, tutte, bhoooooooooo


P.S. Poeta, forse ti è sfuggito un pezzo del 3D, tove ti chiedevo per la gif, puoi aiutarmi, se troppo complicato o ti porta via troppo tempo lascia stare, nessun problema, aspetto la tua sentenza.

Ciao a tutti e grazie di tutto......................
OFFLINE
Post: 56.796
Post: 41.494
Registrato il: 04/02/2004
Registrato il: 13/11/2004
Sesso: Maschile
Admin Unico
CONTENT CREATOR
16/02/2008 23:18
 
Email
 
Scheda Utente
 
Quota


P.S. Poeta, forse ti è sfuggito un pezzo del 3D, tove ti chiedevo per la gif, puoi aiutarmi, se troppo complicato o ti porta via troppo tempo lascia stare, nessun problema, aspetto la tua sentenza.



No problem! [SM=x998213]

Innanzitutto la trasparenza...di motion ne ho un casino...questa te gusta?
OFFLINE
Post: 11.049
Post: 2.551
Registrato il: 03/11/2006
Registrato il: 18/11/2006
Sesso: Femminile
16/02/2008 23:29
 
Email
 
Scheda Utente
 
Quota

billooooo ziooo
OFFLINE
Post: 56.796
Post: 41.494
Registrato il: 04/02/2004
Registrato il: 13/11/2004
Sesso: Maschile
Admin Unico
CONTENT CREATOR
16/02/2008 23:41
 
Email
 
Scheda Utente
 
Quota

Ciao nipotina...eccone un'altra! [SM=x998213]

OFFLINE
Post: 11.049
Post: 2.551
Registrato il: 03/11/2006
Registrato il: 18/11/2006
Sesso: Femminile
16/02/2008 23:47
 
Email
 
Scheda Utente
 
Quota

nn la vedo bene
mi si blocca l'immagine
bhoo
OFFLINE
Post: 56.796
Post: 41.494
Registrato il: 04/02/2004
Registrato il: 13/11/2004
Sesso: Maschile
Admin Unico
CONTENT CREATOR
16/02/2008 23:51
 
Email
 
Scheda Utente
 
Quota

È strano, in ACDSee le visualizzo benissimo...quì invece si bloccano!!! [SM=x611890]

Adesso provo a fare un'animazione con un altro programma!
OFFLINE
Post: 56.796
Post: 41.494
Registrato il: 04/02/2004
Registrato il: 13/11/2004
Sesso: Maschile
Admin Unico
CONTENT CREATOR
17/02/2008 00:05
 
Email
 
Scheda Utente
 
Quota

Vediamo...

Amministra Discussione: | Chiudi | Sposta | Cancella | Modifica | Notifica email Pagina precedente | 1 2 3 | Pagina successiva
Nuova Discussione
Rispondi



Feed | Forum | Utenti | Cerca | Login | Registrati | Amministra
Crea forum gratis, gestisci la tua comunità! Iscriviti a FreeForumZone
FreeForumZone [v.6.1] - Leggendo la pagina si accettano regolamento e privacy
Tutti gli orari sono GMT+01:00. Adesso sono le 08:33. Versione: Stampabile | Mobile
Copyright © 2000-2024 FFZ srl - www.freeforumzone.com