. ::  Quale Computer - Gen 2010  ::  Tema Soccer-Football  ::  Modulo E-Commerce 4 Nuke  ::  Nuovo tema Hitman  ::  Trasforma il tuo PHPNuke in Ajax ::.
Benvenuto su PHP-Nukefordonkeys.com Donkeys76 Mercatino 1200Temi Manuale
 
Benvenuto su PHP-Nukefordonkeys.com

  Iscriviti! E' Gratis!                                                                                      
Menu Generale
Home
News
Archivio News
Invia News
Mappa del Sito
Recensioni
Trova Tutto
Utenti
Forums
Downloads
Contatti
Top Nuke Italia
Web Links
1 Million Nuke Pixel
Tutorials
Speciali
Manuali
PHPNuke Tools
Utility
Gallerie
Nuke Shopping
Documenti

La Tua WebAgency


Recensioni Siti
· MemHT Portal
· Web Agency
  Il tuo sito qui

**************
·Casino online
·Sfrutta meglio il web

100 Power Scripts

Mega Pack





Site Navigator con Float Bar
Stampa

Autore della versione originale: http://gp4tweaker.vadertrophy.com/cms/index.php
Autore della release modificata e di questo tutorial: Piermin http://www.gensherminia.it
Versione scaricabile qui: Site Navigator - Float Bar


E' disponibile lo zip per installare la Barra del Site Navigator originale (versione 10rc1) al quale sono state aggiunte le modifiche per il float della barra, i files per la lingua italiana e le immagini con colori alternativi a quelli di default.

Per chi volesse procedere a mano con le modifiche necessarie a rendere mobile la barra riporto qui di seguito la procedura con i vari passaggi.

Fare tutti gli inserimenti previsti nel file install.txt quindi aprire il file snavi.php ed effettuare le seguenti modifiche, necessarie per ottenere il float della barra di navigazione

- circa alla riga 1440

<?php
}
/* end - construct notification menu for registered users */
?>
=========== >>>>>>>> inserire qui <<<<<<<< ==============
//--></script >

<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0"><tr>
<td class="ThemeMenu_Heading" width="150" nowrap>&nbsp;</td>

inserire il codice per il float

function snavi_floatMenuBar(floatId){var smoothscroll=3;var ns=(navigator.appName.indexOf("Netscape")!=-1);var d=document;
function ml(id){var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];if(d.layers)el.style=el;el.sP=function(x,y){this.style.left=x;this.style.top=y;};el.x=0;el.y=0;return el;}
window.stayTopLeft=function(){if(smoothscroll<=0)smoothscroll=1;var pY=ns?pageYOffset:document.body.scrollTop;ftlObj.y+=(pY-ftlObj.y)/smoothscroll;ftlObj.sP(ftlObj.x,ftlObj.y);setTimeout("stayTopLeft()",10);}
ftlObj=ml(floatId);stayTopLeft();}
if (!document.layers)document.write('<div id="snaviFloatBar" style="margin:0px;position:absolute;overflow:visible;">');
document.write('<layer id="snaviFloatBar" style="margin:0px;position:absolute;overflow:visible;">');

in modo da ottenere

<?php
}
/* end - construct notification menu for registered users */
?>
function snavi_floatMenuBar(floatId){var smoothscroll=3;var ns=(navigator.appName.indexOf("Netscape")!=-1);var d=document;
function ml(id){var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];if(d.layers)el.style=el;el.sP=function(x,y){this.style.left=x;this.style.top=y;};el.x=0;el.y=0;return el;}
window.stayTopLeft=function(){if(smoothscroll<=0)smoothscroll=1;var pY=ns?pageYOffset:document.body.scrollTop;ftlObj.y+=(pY-ftlObj.y)/smoothscroll;ftlObj.sP(ftlObj.x,ftlObj.y);setTimeout("stayTopLeft()",10);}
ftlObj=ml(floatId);stayTopLeft();}
if (!document.layers)document.write('<div id="snaviFloatBar" style="margin:0px;position:absolute;overflow:visible;">');
document.write('<layer id="snaviFloatBar" style="margin:0px;position:absolute;overflow:visible;">');
//--></script>

<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0"><tr>
<td class="ThemeMenu_Heading" width="150" nowrap>&nbsp;</td>

- circa alla riga 1550 (dopo lo script per le date in italiano)

strDate = strDayOfWeek[date.getDay()] + ',&nbsp;' + strMonth[date.getMonth()] + '&nbsp;' + date.getDate() + ',&nbsp;' + date.getFullYear();
document.write(strDate);
//--></script>
</span>
</td>
</tr></table>
=========== >>>>>>>> inserire qui <<<<<<<< ==============
<?php

/*
* freed layout buffer since we don't need them any longer
*/

 

inserire il codice per il float

<SCR IPT language=Java Script type=text/javascript><!--
document.write('</layer>');
if (!document.layers)document.write('</div>');
snavi_floatMenuBar("snaviFloatBar");
//--></
SCR IPT>

in modo da ottenere

strDate = strDayOfWeek[date.getDay()] + ',&nbsp;' + strMonth[date.getMonth()] + '&nbsp;' + date.getDate() + ',&nbsp;' + date.getFullYear();
document.write(strDate);
//--></scri pt>
</span>
</td>
</tr></table>
<SCR IPT language=Java Script type=text/javascript><!--
document.write('</layer>');
if (!document.layers)document.write('</div>');
snavi_floatMenuBar("snaviFloatBar");
//--></
SCR IPT>
<?php

/*
* freed layout buffer since we don't need them any longer
*/
 

ATTENZIONE IMPORTANTE !
Ricordatevi di correggere le scritte SCR IPT e Java Script che diventeranno SCRIPT e JavaScript (sono state scritte in modo errato per non farle riconoscere a Nuke che non avrebbe permesso la pubblicazione di questo tutorial scambiandole per codice da eseguire).

E' tutto. Come sempre buon divertimento con PHP-Nuke!


Testo, immagini e loghi (esclusi quelli registrati) presenti in questa pagina sono proprietą intellettuale di Gennaro Cinquegrana (ik0wmq@virgilio.it) e ne č vietato l'utilizzo senza la preventiva autorizzazione dell'autore. Tutti i diritti riservati a Gennaro Cinquegrana © 2005 www.phpnukefordonkeys.com

  

[ Torna su 005Mixture | Indice Sezioni ]





Siti consigliati: Weblord - Tiempolibresite - jugo- pcprimipassi - aliek - tweakness - Script e Manuali - net-free - Manuali - Ati Power - Web Promotion - Directory - Tuttosoft.it - GBComputer - Mystartpage -

Network: PHP Nuke Maximus - 1 Million Free Games - 1 Million Nuke Pixel - Million Games Homepage - Corvoingordo - Ingegneria Gestionale - Torre del Greco

PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Generazione pagina: 0.27 Secondi