vue [tutos] Menu flash
Kommunauty
Connexion
Inscription

[tutos] Menu flash


Anonyme Messages : 0

Bonsoir,

tenez un fichier pour un menu flash

bon je le mets pas en fichier car je sais pas ou le mettre donc je le mets comme ça

a mettre dans left_menu.tpl

<div id='leftmenu'>
<script language="JavaScript">
function f(target_url,win_name) {
var new_win = window&#46;open(target_url,win_name,'resizable=yes,scrollbars=yes,menubar=no,toolbar=no,width=550,height=280,top=
0,left=0');
new_win&#46;focus();
}
</script>
<body class="style" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<center>
<div id='menu'>
<br>
<table width="130" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" style="border-top&#58; 1px #545454 solid"><div><center>warmoon<br>(<a href="changelog&#46;php" target={mf}><font color=red>{XNovaRelease}</font></a>)<center></div></td>
</tr><tr>
<td colspan="2" background="{dpath}img/bg1&#46;gif">
<a href="java script&#058;void(0);" onclick="var x = document&#46;getElementsByName('riepilogo');

if(x&#91;0&#93;&#46;style&#91;'display'&#93;!='none'){


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='none';
}

}else{


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='';
}

}"><center><font color=yellow><b>Gioco</b></font></center></td>
</tr></tr><tr name="riepilogo">
<td colspan="2"><div><a href="overview&#46;php" accesskey="g" target="{mf}">{Overview}</a></div></td>
</tr></tr><tr name="riepilogo">
<td height="1px" colspan="2" style="background-color&#58;#FFFFFF"></td>
</tr></tr><tr name="riepilogo">
<td colspan="2"><div><a href="buildings&#46;php" accesskey="b" target="{mf}">{Buildings}</a></div></td>
</tr></tr><tr name="riepilogo">
<td colspan="2"><div><a href="buildings&#46;php?mode=research" accesskey="r" target="{mf}">{Research}</a></div></td>
</tr></tr><tr name="riepilogo">
<td colspan="2"><div><a href="buildings&#46;php?mode=fleet" accesskey="f" target="{mf}">{Shipyard}</a></div></td>
</tr></tr><tr name="riepilogo">
<td colspan="2"><div><a href="buildings&#46;php?mode=defense" accesskey="d" target="{mf}">{Defense}</a></div></td>
</tr></tr><tr name="riepilogo">
<td colspan="2"><div><a href="officier&#46;php" accesskey="o" target="{mf}">{Officiers}</a></div></td>
</tr></tr><tr name="riepilogo">{marchand_link}<tr><tr>
<td colspan="2" background="{dpath}img/bg1&#46;gif">
<a href="java script&#058;void(0);" onclick="var x = document&#46;getElementsByName('navi');

if(x&#91;0&#93;&#46;style&#91;'display'&#93;!='none'){


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='none';
}

}else{


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='';
}

}"><center><font color=yellow><b>{navig}</b></font></center></td>

</tr><tr name="navi">
<td colspan="2"><div><a href="alliance&#46;php" accesskey="a" target="{mf}">{Alliance}</a></div></td>
</tr><tr name="navi">
<td colspan="2"><div><a href="fleet&#46;php" accesskey="t" target="{mf}">{Fleet}</a></div></td>
</tr><tr name="navi">
<td colspan="2"><div><a href="messages&#46;php" accesskey="c" target="{mf}">{Messages}</a></div></td>
</tr>
<td colspan="2" background="{dpath}img/bg1&#46;gif">
<a href="java script&#058;void(0);" onclick="var x = document&#46;getElementsByName('gala');

if(x&#91;0&#93;&#46;style&#91;'display'&#93;!='none'){


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='none';
}

}else{


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='';
}

}"><center><font color=yellow><b>{observ}</b></font></center></td>

</tr><tr name="gala">
<td colspan="2"><div><a href="galaxy&#46;php?mode=0" accesskey="s" target="{mf}">{Galaxy}</a></div></td>
</tr><tr name="gala">
<td colspan="2"><div><a href="imperium&#46;php" accesskey="i" target="{mf}">{Imperium}</a></div></td>
</tr><tr name="gala">
<td colspan="2"><div><a href="resources&#46;php" accesskey="r" target="{mf}">{Resources}</a></div></td>
</tr><tr name="gala">
<td colspan="2"><div><a href="techtree&#46;php" accesskey="g" target="{mf}">{Technology}</a></div></td>
</tr><tr name="gala">

<td height="1px" colspan="2" style="background-color&#58;#FFFFFF"></td>
</tr><tr name="gala">
<td colspan="2"><div><a href="records&#46;php" accesskey="3" target="{mf}">{Records}</a></div></td>
</tr><tr name="gala">
<td colspan="2"><div><a href="stat&#46;php?range={user_rank}" accesskey="k" target="{mf}">{Statistics}</a></div></td>
</tr><tr name="gala">
<td colspan="2"><div><a href="search&#46;php" accesskey="b" target="{mf}">{Search}</a></div></td>
</tr><tr name="gala">
<td colspan="2"><div><a href="banned&#46;php" accesskey="3" target="{mf}">{blocked}</a></div></td>
</tr>{announce_link}<tr>

<td colspan="2" background="{dpath}img/bg1&#46;gif">
<a href="java script&#058;void(0);" onclick="var x = document&#46;getElementsByName('staff');

if(x&#91;0&#93;&#46;style&#91;'display'&#93;!='none'){


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='none';
}

}else{


for (var i = 0; i < x&#46;length; i++) {
x&#91;i&#93;&#46;style&#91;'display'&#93;='';
}

}"><center><font color=yellow><b>{commun}</b></font></center></td>

</tr><tr name="staff">
<td colspan="2"><div><a href="#" onClick="f('buddy&#46;php', '');" accesskey="c">{Buddylist}</a></div></td>
</tr><tr name="staff">{notes_link}</tr><tr name="staff">
<td colspan="2"><div><a href="chat&#46;php" accesskey="a" target="{mf}">{Chat}</a></div></td>
</tr><tr name="staff">
<td colspan="2"><div><a href="{forum_url}" accesskey="1" target="{mf}">{Board}</a></div></td>
</tr><tr name="staff">
<td colspan="2"><div><a href="add_declare&#46;php" accesskey="1" target="{mf}">{multi}</a></div></td>
</tr><tr name="staff">
<td colspan="2"><div><a href="rules&#46;php" accesskey="c" target="{mf}">{Rules}</a></div></td>
</tr><tr name="staff">
<td colspan="2"><div><a href="contact&#46;php" accesskey="3" target="{mf}" >{Contact}</a></div></td>
</tr><tr name="staff">
<td colspan="2"><div><a href="options&#46;php" accesskey="o" target="{mf}">{Options}</a></div></td>
</tr>
{ADMIN_LINK}
<tr>
</tr>
{added_link}
<tr>
<td colspan="2"><div><a href="java script&#058;top&#46;location&#46;href='logout&#46;php'" accesskey="s" style="color&#58;red">{Logout}</a></div></td>
</tr><tr>
<td colspan="2" background="{dpath}img/bg1&#46;gif"><center>{infog}</center></td>
</tr>
{server_info}
<tr>
</div></td>
</tr>
</table>
</div>
</center>
</body>
</div>

ps : les copy je ne me souviens plus  :embarassed:

vendredi 18 juin 2010

Imbaron Messages : 242

Merci à toi; ça aurais était super avec un petit exemple sur ton FTP par exemple.

vendredi 18 juin 2010

Anonyme Messages : 0

oué je sais

mais il va pas rester longtemps

mais sa va c'est un petit code

pas un grand tutos de 12 pages

samedi 19 juin 2010

trolx Messages : 274

tu n'aurais pas un piti screen pour voir sque sa donne ?

samedi 19 juin 2010

Mizur Messages : 6615

Oui c'est vrai que sans image, on sait pas trop ce que ça donne, s'il faut remplacer des choses, etc...

samedi 19 juin 2010

Anonyme Messages : 0

Bouge pas je le mets sur mon jeu dès que je peux ensuite jte fais un screen

samedi 19 juin 2010

Anonyme Messages : 0

Bon voila

j'ai fais sa vite fait

voila ça vous plait ?

samedi 19 juin 2010

Mizur Messages : 6615

Au fait, le démonstratif, c'est "ça", pas "sa", ça devient frustrant à la longue de voir ecrit pas français

Merci quand meme pour le tuto

samedi 19 juin 2010

trolx Messages : 274

wai il est pas mal mais comment tu a modifier ou on voi la plannete mere ??

tu pourai me passer ton script stp il est super

samedi 19 juin 2010

Anonyme Messages : 0

Mizur dsl je suis pas français

wai il est pas mal mais comment tu a modifier ou on voi la plannete mere ??

peut tu reprendre le screen et entourer ce que tu dis ?

ps: le script ?

j'ai tous donné

samedi 19 juin 2010

Page suivante »