|
RIGHT CLICK MENU |
Adesso imparerete a creare un menu che si apre col tasto destro del mouse. Un esempio lo trovate in queste pagine, basta cliccare col tasto destro.
-ENG- Now you will learn how to create a right click menu, similar to the one of my pages.
Prima di tutto copiate la prima parte del codice e incollatela tra <head> e </head>. Per selezionarlo tutto clicca e fai ctrl+5.
-ENG- First copy this part of the code and paste it between <head> and </head>. To select it all click and press ctrl+5.
Ora potete configurare le caratteristiche "fisiche" del vostro menu cambiando i dati alle voci "width", "border", "background-color", "font-family" ecc. non cambiate la voce "visibility".
Quindi copiate la seconda parte e incollatela dopo <body>.
-ENG- Now you can configure your menu changing the width, borders etc. Do not change the voice "visibility".
Then copy the second part and paste it after <body>.
Quindi sostituite l'URL del comando che volete inserire nel menu, dove č scritto YOUR URL e il nome del comando che comparirą nel menu dove č scritto NAME. Potete aggiungere tanti comandi quanti volete, poichč l'altezza varia automaticamente. Se volete che la pagina su cui si clicca appaia in un'altra finestra dovete aggiungere il comando target="newwin", ad es:
<div class="menuitems" url="YOUR URL" target="newwin">NAME</div>
-ENG- Then change the URL you want and the NAME for the Url into the menu. Adding target="newwin" you will cause a download into nother window. This is an example:
<div class="menuitems" url="YOUR URL" target="newwin">NAME</div>
you
can add as many div as you want.
Source: Dynamic Drive