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] Lightbox Hilfe (https://www.gegen-bilderklau.net/thread.php?threadid=179380)


Geschrieben von TattooedZebra am 21.03.2011 um 22:41:

  Lightbox Hilfe

Ich wollte die Lightbox bei mir einbauen, allerdings öffnet sich das Bild in einem neuen Fenster und nicht mit der Lightbox, hier ist der Code, woran kann es liegen? brauche dringen Hilfe!!!


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:
<head>
<title>work</title>

<script type="text/javascript" src="http://joydana.jo.ohost.dejs/prototype.js"></script>
<script type="text/javascript" src="http://joydana.jo.ohost.de/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="http://joydana.jo.ohost.dejs/lightbox.js"></script>

<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

</head>
<p align="center">

<link rel="stylesheet" type="text/css" href="http://joydana.jo.ohost.de/style.css">

<body bgcolor="#c2c2c2" text="white">
<div style="position: absolute; left: 50px; top: 0px;">
<img src="http://joydana.jo.ohost.de/layout/green.png" border="0">
</div>


<div style="position: absolute; left: 60px; top: 100px; width: 300px;">
<br>
text
<a href="http://joyfulfotos.bplaced.net/Johnossi/Johnossi1.png" rel="lightbox[1]" title="Johnossi (Johnossi, Freiburg)"><img src=http://joyfulfotos.bplaced.net/Johnossi/vorjohn1.png></a>   
<a href="http://joyfulfotos.bplaced.net/Johnossi/johnossi3.png" rel="lightbox[1]" title="Johnossi (Johnossi, Freiburg)"><img src=http://joyfulfotos.bplaced.net/Johnossi/vorjohn3.png></a>   

		</div>
	</body>
</html>



Geschrieben von Thorim am 22.03.2011 um 06:11:

 

Zeile 4 und 6 fehlt beidesmal ein "/"

src="http://joydana.jo.ohost.dejs/

müsste

src="http://joydana.jo.ohost.de/js/

heißen



Geschrieben von TattooedZebra am 22.03.2011 um 17:24:

 

Hab ich geändert aber daran lag es nicht unglücklich



Geschrieben von bolop am 22.03.2011 um 17:59:

 

http://www.huddletogether.com/projects/lightbox2/#download
runterladen, hochladen, anweisungen folgen



Geschrieben von TattooedZebra am 22.03.2011 um 19:57:

 

das hatte ich ja gemacht
habs jetzt aber auch geschafft



Geschrieben von bolop am 22.03.2011 um 20:02:

 

Dann erzähl wie



Geschrieben von TattooedZebra am 22.03.2011 um 23:12:

 

Ich hatte es falsch verlinkt und hab es leider erst zu spät gesehen


Forensoftware: Burning Board, entwickelt von WoltLab GmbH