~ .Pretty Graphic.

Immagine che segue il puntatore

« Older   Newer »
  Share  
† PrettY †
view post Posted on 16/2/2007, 23:15




Per far sì che una piccola immagine segua il puntatore del nostro sito/blog/forum, basta incollare questo script nella homepage (per i forum: amministrazione->gestione codice HTML->visualizza in ogni pagina in cima al forum)


CODICE
<!-- Prelevato Sul Forum Pretty Graphic www.pgraphic.forumfree.net -->
<script language="JavaScript">

var immagine='PGraphic - LINK DELL'IMMAGINE';
var code = '';
if (document.all) {
code += '<SPAN ID="pointer" STYLE="position: absolute; left: -100">';
code += '<IMG NAME="pointerImg" SRC="' + immagine + '" BORDER=0>';
code += '</SPAN>';
} else {
code += '<LAYER ID="pointer" POSITION="absolute" LEFT="-100">';
code += '<IMG ID="pointerImg" SRC="' + immagine + '" BORDER=0>';
code += '</LAYER>';
}
document.write(code);

if(document.layers) document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = coordinate;

function coordinate(e) {
if (document.layers) {
document.layers.pointer.left = e.pageX + 8;
document.layers.pointer.top = e.pageY + 8;
}
if (document.all) {
pointer.style.left = event.clientX + document.body.scrollLeft + 8;
pointer.style.top = event.clientY + document.body.scrollTop + 8;
}
return true;
}
</script>



Dove

- a PGraphic - LINK DELL'IMMAGINE va sostituito l'url dell'immagine che vogliamo segua il puntatore (http://......)


Usatelo per abbellire il vostro spazio web ^__*
 
Top
{ NekO ChaN }
view post Posted on 1/3/2007, 19:57




Questo mi serviva °ç°
 
Top
† PrettY †
view post Posted on 5/3/2007, 16:26




:cool:
 
Top
~ ikiko
view post Posted on 8/3/2007, 16:55




utilissimo *-*
 
Top
† PrettY †
view post Posted on 8/3/2007, 17:06




thank you!^^
 
Top
serena.sos
view post Posted on 9/3/2007, 13:57




bellissimo!
 
Top
::baby95::
view post Posted on 12/3/2007, 20:27




bellissimo
 
Top
(¯`·._)»Cika«(¯`·._)
view post Posted on 28/3/2007, 19:08




c'è un modo x farlo andare con Mozzilla? ^-^
 
Top
† PrettY †
view post Posted on 28/3/2007, 19:59




eh non credo°° mozilla non visualizza neppure i cursori personalizzati =__= (l'unica sua grande fregatura XD)
 
Top
(¯`·._)»Cika«(¯`·._)
view post Posted on 28/3/2007, 20:06




eshatto ç_ç xD grassie cmq ^-^
 
Top
~ ikiko
view post Posted on 17/6/2007, 13:06




ma visto ci sn forum ke segue la scritta del proprio forum oppure kome c'è ora nel PG cm si fà T_T?
 
Top
*Sele_BlueInside*
view post Posted on 17/6/2007, 13:40




penso che hostino il link del blinkie con il nome del forum (almeno quelli che ho visto io) o della scritta che segue il puntatore.. per il PG può darsi sia una gif
 
Top
~ ikiko
view post Posted on 18/6/2007, 14:29




no quello ke dico io nn è un blikie ^^'
 
Top
12 replies since 16/2/2007, 23:15   1157 views
  Share