PDA

Visualizza la versione completa : [JAVA] Modifica di applet (presa da HTML.it)


Cadmir
20-09-2005, 14:50
Ragazzi ho preso un script in Applet Java. Esso questo: SCRIPT IN QUESTIONE (http://www.html.it/java/a307/applet.htm)
Ora io l'ho modificato essendo un web designer (almeno cos mi ritengo :D )e ecco come venuto:


<applet code="lockscreen.class" width="390" height="210" align="center">
<param name="fontsize" value="18">
<param name="delay" value="40">
<param name="openspeed" value="10">
<param name="closespeed" value="15">
<param name="windowsize" value="300">
<param name="tolerance" value="-1">
<param name="target" value="_self">
<param name="button" value="Bottone1.jpg">

<param name="clickbutton" value="Bottoneclick.jpg">
<param name="leftdoor" value="portasx.gif">
<param name="rightdoor" value="portadx.gif">
<param name="fontsize0" value="20">
<param name="fontsize1" value="20">
<param name="fontsize2" value="20">
<param name="fontsize3" value="20">
<param name="fontsize4" value="20">
<param name="fontsize5" value="20">

<param name="menuitem0" value="Caccia">
<param name="menuitem1" value="Script">
<param name="menuitem2" value="Servizi">
<param name="menuitem3" value="Guide">
<param name="menuitem4" value="Grafica">
<param name="menuitem5" value="Info">
<param name="url0,0" value="http://www.redrock.it">
<param name="url1,0" value="http://www.html.it">
<param name="url1,1" value="http://www.html.it">

<param name="url2,0" value="http://www.html.it">
<param name="url2,1" value="http://www.html.it">
<param name="url2,2" value="http://www.html.it">
<param name="url3,0" value="http://www.html.it">
<param name="url3,1" value="http://www.html.it">
<param name="url3,2" value="http://www.html.it">
<param name="url3,3" value="http://www.html.it">
<param name="url3,4" value="http://www.html.it">
<param name="url3,5" value="http://www.html.it">

<param name="url3,6" value="http://www.html.it">
<param name="url3,7" value="http://www.html.it">
<param name="url3,8" value="http://www.html.it">
<param name="url4,0" value="http://www.html.it">
<param name="url5,0" value="http://www.html.it">
<param name="menuitem0,0" value="RedRock">
<param name="menuitem0,1" value="Un JS a settimana">
<param name="menuitem0,2" value="Pillole di Webpublishing">
<param name="menuitem1,0" value="350 Javascript">

<param name="menuitem1,1" value="130 demo DHMTL">
<param name="menuitem1,2" value="300 script CGI">
<param name="menuitem2,0" value="Forum">
<param name="menuitem2,1" value="Sondaggi">
<param name="menuitem3,0" value="HTML">
<param name="menuitem3,1" value="CSS">
<param name="menuitem3,2" value="Flash">
<param name="menuitem4,0" value="GIF animate">
<param name="menuitem4,1" value="Sfondi">

<param name="menuitem4,2" value="Font">
<param name="menuitem5,0" value="Autori">
<param name="menuitem5,1" value="Pubblicita'">
<param name="image0" value="spacebg.jpg">
<param name="image1" value="spaceback.jpg">
<param name="image2" value="unixbar.jpg">
<param name="image3" value="unixbar.jpg">
<param name="image4" value="bg147.gif">
<param name="image5" value="bg522.jpg">

<param name="font" value="Arial">
<param name="background" value="000000">
<param name="textcolor" value="ffbf00">
<param name="overcolor" value="FFFFFF">
<param name="transcolor" value="ff0000">
<param name="textcolor0" value="00FF00">
<param name="textcolor1" value="ff00ff">
<param name="textcolor2" value="ff0000">
<param name="textcolor3" value="ffff00">

<param name="textcolor4" value="FFAFAF">
<param name="textcolor5" value="FFFF00">
<param name="overcolor0" value="00F1FF">
<param name="overcolor1" value="00F1FF">
<param name="overcolor2" value="00F1FF">
<param name="overcolor3" value="00F1FF">
<param name="overcolor4" value="00F1FF">
<param name="overcolor5" value="00F1FF">
<param name="italic" value="No">

<param name="bold" value="No">
<param name="spreadsubitems" value="Yes">
<param name="drawline" value="No">
</applet>

E potete come venuto nel mio sito: MIO SITO (http://xoomer.virgilio.it/cadmir/) (il vostro effetto goccia una bomba :unz: )

Ora poich dove l'ho messo un frame, io vorrei che, cliccando su uno dei link, la pagina mi si aprisse NON sullo stesso frame di dove ho messo il men, ma nel frame centrale (nome del frame: princ)
Mi potete aiutare? Grazie. :ciauz:

Andrea1979
20-09-2005, 15:15
provo ad indovinare:

<param name="target" value="nomedelframedidestinazione">

da sostituire dove dice

<param name="target" value="_self">


Ciao

Cadmir
20-09-2005, 15:51
Grazie mille... sai non ci avevo proprio fatto caso :D
:yuppi:
GRAZIE!

Loading