[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - afbeelding onder muis?
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

afbeelding onder muis?

Het echte opmaakwerk, alles vragen over HTMLen, CSSen en Javascripten.

afbeelding onder muis?

Berichtdoor southron » 21 maart 2004 13:14

Ik zou graag nen kleine afbeelding plaatsen schuin onder de cursor zodat iedereen die op mijn site komt die abeelding heeft onder zijn cursor.

KENT IEMAND DAARVOOR HET SCRIPT ?
southron
wmpr
 
Berichten: 1
Geregistreerd: 21 maart 2004 13:12
Woonplaats: USA

Berichtdoor Anonymous » 22 maart 2004 15:41

Dit bijv?niet vergeten zelf een plaatje in te vullen en up te loaden.




<div id="span0" style="position:absolute;visibility:hidden;"><img src="plaatje.gif"></div>

<script>


var step=1
var stepbasic=1
var numberofimages=1
var spacebetweenimgs=30
var x,y
var flag=0
var xpos=new Array()

var ns6=document.getElementById&&!document.all?1:0

for (i=0;i<=8;i++) {
xpos[i]=-100
}

var ypos=new Array()
for (i=0;i<=numberofimages;i++) {
ypos[i]=-100
}

function handlerMM(e) {
x = (document.layers || ns6) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers || ns6) ? e.pageY : document.body.scrollTop+event.clientY
flag=1
}

function initiatetracker() {
if (document.all) {
for (i=0; i<numberofimages; i++) {
var thisspan=eval("span"+(i)+".style")
thisspan.posLeft=xpos[i]
thisspan.posTop=ypos[i]
thisspan.visibility="visible"
}
makesnake()
}

if (ns6) {
for (i=0; i<numberofimages; i++) {
document.getElementById("span"+i).style.left=xpos[i]
document.getElementById("span"+i).style.top=ypos[i]
document.getElementById("span"+i).style.visibility="visible"
}
makesnake()
}
if (document.layers) {
for (i=0; i<numberofimages; i++) {
var thisspan=eval("document.span"+i)
thisspan.left=xpos[i]
thisspan.top=ypos[i]
thisspan.visibility="visible"
}

makesnake()
}
}

function makesnake() {
if (flag==1 && document.all) {
for (i=numberofimages; i>=1; i--) {
xpos[i]=xpos[i-1]+spacebetweenimgs
ypos[i]=ypos[i-1]
}
xpos[0]=x+stepbasic
ypos[0]=y

for (i=0; i<numberofimages; i++) {
var thisspan = eval("span"+(i)+".style")
thisspan.posLeft=xpos[i]
thisspan.posTop=ypos[i]
}
}

if (flag==1 && ns6) {
for (i=numberofimages; i>=1; i--) {
xpos[i]=xpos[i-1]+spacebetweenimgs
ypos[i]=ypos[i-1]
}
xpos[0]=x+stepbasic
ypos[0]=y

for (i=0; i<numberofimages; i++) {
document.getElementById("span"+i).style.left=xpos[i]
document.getElementById("span"+i).style.top=ypos[i]
}
}

else if (flag==1 && document.layers) {
for (i=numberofimages; i>=1; i--) {
xpos[i]=xpos[i-1]+spacebetweenimgs
ypos[i]=ypos[i-1]
}
xpos[0]=x+stepbasic
ypos[0]=y

for (i=0; i<numberofimages; i++) {
var thisspan = eval("document.span"+i)
thisspan.left=xpos[i]
thisspan.top=ypos[i]
}
}
var timer=setTimeout("makesnake()",30)
}

if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove=handlerMM;
window.onload=initiatetracker
</script>
Anonymous
 

Berichtdoor Marcello » 22 maart 2004 15:43

Bovenstaande was ik Cool ohja het script moet in de body.
Avatar gebruiker
Marcello
wmpr
 
Berichten: 257
Geregistreerd: 29 nov 2003 20:55
Woonplaats: Groningen

Re: afbeelding onder muis?

Berichtdoor Boersma » 23 maart 2004 22:42

Avatar gebruiker
Boersma
wmpr
 
Berichten: 525
Geregistreerd: 27 nov 2003 22:43
Woonplaats: Dronten

Berichtdoor julien » 24 maart 2004 11:00

Avatar gebruiker
julien
wmpr
 
Berichten: 2195
Geregistreerd: 28 nov 2003 16:21
Woonplaats: Kortrijk

Berichtdoor Anonymous » 24 maart 2004 12:19

Anonymous
 

Berichtdoor Boersma » 24 maart 2004 12:21

Avatar gebruiker
Boersma
wmpr
 
Berichten: 525
Geregistreerd: 27 nov 2003 22:43
Woonplaats: Dronten

Berichtdoor Bianca » 24 maart 2004 23:39

He Wer, leuk is tie he! gnagna
Avatar gebruiker
Bianca
wmpr
 
Berichten: 257
Geregistreerd: 27 nov 2003 22:11
Woonplaats: Nieuwe Tonge

Berichtdoor Boersma » 24 maart 2004 23:43

Avatar gebruiker
Boersma
wmpr
 
Berichten: 525
Geregistreerd: 27 nov 2003 22:43
Woonplaats: Dronten


Keer terug naar HTML, CSS, Javascript



cron