With this html / javascript, you can create a drop-down menu, drop-down or waterfall. It 'a very useful tool, you can create by putting the links, categories ... in a small space. Just enter in our blog a gadget html / javascript and insert the following code:
language \u0026lt;script = "JavaScript" & gt;! \u0026lt;-
goThere function (form) {
var linklist = form.selectThis.selectedIndex
if (linklist ==""){ window.location.href = form.selectThis.options [link list] value;}}
/ / -. -> \u0026lt;/ script>
\u0026lt;form name="MenuTendina" >
\u0026lt;select name="selectThis" size="1" onChange="goThere(this.form);" > \u0026lt;option selected value="" > Menu Name \u0026lt; option value = "http:// LINK INCLUDED "> WRITTEN THAT YOU WANT TO SEE
\u0026lt;option value = "http:// INCLUDING THE LINK" > WRITTEN THAT YOU WANT TO SEE
\u0026lt;option value=" INCLUDING THE LINK http://" > WRITTEN THAT YOU WANT TO SEE
\u0026lt;/ select>
\u0026lt;/ form>
** to add another link or more categories, just add this line
\u0026lt; option value = "http:// INCLUDING THE LINK" > WRITTEN THAT YOU WANT TO SEE
and add other links.
If we want to keep in alphabetical order, simply insert the row with the code among the already existing ones.
information taken from this blog .
>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>
Ca sa puneti pe blog un meniu autoderulant...ca in exemplu de mai sus... in care se poate vizualiza o lista de bloguri/site-uri , trebuie doar sa introduceti codul html scris dedesubt , in modul urmator:
Unde scrie :
* NOME DEL MENU ...puneti titlul de meniu dorit.
* IL LINK COMPRESO http://...scrieti link-ul inclusiv http://
* SCRITTA CHE VOLETE FAR VISUALIZZARE...scrieti textul corelat care doriti sa se vada la link-ul respectiv
* pentru a adauga la meniul deja creat, un link in plus (in codul exemplu sunt doar 3 ...adaugati in plus doar :
<option value="IL LINK COMPRESO http://" > SCRITTA CHE VOLETE FAR VISUALIZZARE
Ca sa se vizualizeze in ordine alfabetica , il introduceti in mijlocul celor deja scrise.
** Aceleasi operatiuni se pot face daca dorim sa cream o lista pe categorii .
Selectionati aspect > adauga obiect gadget > adauga element html/javascript,introduceti codul si salvati intai codul si apoi sablonul.
Iata codul html/javascript:
<script language= "JavaScript" & gt;! \u0026lt;-
goThere function (form) {var
link list = form.selectThis.selectedIndex !
if (linklist ==""){ window.location.href = form.selectThis.options [link list] value;.}}
//--> \u0026lt;/ script>
\u0026lt;form name="MenuTendina" >
\u0026lt;select name = "select this" size = "1" onChange="goThere(this.form);" > <option selected value="" > Nome del menu < option value="IL LINK COMPRESO http://" > SCRITTA CHE VOLETE FAR VISUALIZZARE
<option value="IL LINK COMPRESO http://" > SCRITTA CHE WANT TO SEE
\u0026lt;option value=" INCLUDING THE LINK http://" > WRITTEN THAT YOU WANT TO SEE
\u0026lt;/ select>
\u0026lt;/ form>
0 comments:
Post a Comment