Gegen Bilderklau - Das Original (https://www.gegen-bilderklau.net/index.php)
- Design, Website, Copyright (https://www.gegen-bilderklau.net/board.php?boardid=80)
--- Homepagehilfe (https://www.gegen-bilderklau.net/board.php?boardid=27)
---- Homepagehilfe - Archiv (https://www.gegen-bilderklau.net/board.php?boardid=139)
----- [JS] Taschenlampen-Code bekomme ich nicht eingebaut ... HELP ! (https://www.gegen-bilderklau.net/thread.php?threadid=40119)


Geschrieben von VanillaSkyHorse am 22.11.2005 um 18:02:

  Taschenlampen-Code bekomme ich nicht eingebaut ... HELP !

Pleeeeeeeeeease help me. Habe den Code auf ICQDALE gefunden und wollte die Taschenlampe einbauen. Naja .. ging nicht ... Da stand was von ein Teil n Body-Tag und einen in Head-Tag ... oder so .. was heißt das ?



Geschrieben von cutie am 22.11.2005 um 18:15:

 

Body und Head Tag ist HTML...bei welchem Anbieter bist du?



Geschrieben von Freyaknuffl am 22.11.2005 um 18:18:

 

Vielleicht klappts so?

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
<body> 
  <style>
<!--

#myimage{
filter:light
}

-->
</style>
    </body>

<head>
<img id="myimage" src="BILD URL">
<script language="JavaScript1.2">

//Image spotlight effect- By Erik F (die_schlampe@hotmail.com)
//Code enhancements by Dynamicdrive.com
//Visit http://www.dynamicdrive.com for this script

s = 50; // the size of the spotlight
vp = 10; // the visibility percent of the picture
startx = 0; // the top position of your sportlight into the image (on start)
starty = 0; // the left position of your spotlight into the image (on start)


//////////////////////////////////////////////////////////////////
//        No need to edit below this line            //
//////////////////////////////////////////////////////////////////

var IE = document.all?true:false

function moveL()
{
xv = tempX;
yv = tempY;
myimage.filters.light.MoveLight(1,xv,yv,s,true);
}

if (IE&&myimage.filters)
document.all.myimage.onmousemove = getMouseXY;
var tempX = 0
var tempY = 0


function getMouseXY(e) {
tempX = event.offsetX
tempY = event.offsetY

  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}
  if (t)
  {
   moveL();
  }

  return true
}

var xv = startx;
var yv = starty;
var t= true;
if (IE&&myimage.filters){
myimage.style.cursor="hand";
myimage.filters.light.addAmbient(255,255,255,vp)
myimage.filters.light.addPoint(startx,starty,s,255,255,255,255)
}

</script>


  </head>



Geschrieben von VanillaSkyHorse am 22.11.2005 um 18:20:

 

Probiere es aus smile Thx smile

Edit :Geht nicht unglücklich



Geschrieben von mickymouse am 22.11.2005 um 18:53:

 

einfach alles in eine Seite klatschen?



Geschrieben von Freyaknuffl am 22.11.2005 um 18:56:

 

Was ist denn genau das Problem? Siehst du das ganze Bild nicht, oder funzt nur die Taschenlampe nicht,...?
Gib mal Addy, vielleicht kann ich dir ja dann helfen Augenzwinkern



Geschrieben von VanillaSkyHorse am 22.11.2005 um 20:14:

 

ehhh ... warmblutzucht.oyla4.de unter probieren .. da klappt nur die taschenlampe net ..


Forensoftware: Burning Board, entwickelt von WoltLab GmbH