Suche im Forum:
Suchen


Autor Nachricht
Beitrag10.07.2007 um 16:25 (UTC)    
Titel: Galerie aus editor

Hi,

Habe in einem exterenen exitor mir mal ein script für eine Galerie machen lassen.

Dabei habe ich zwei scripts bekommen.

Aber irgendwie funktionierne beide jetzt hier nicht.

Die Codes schicke ich euch jetzt mal ohne eingesetzte Url, ich schreibe nur an diese stellen was hin muss, beim ausprobierne habe ich natürlich Urls eingefügt.



Jetzt kommt der, wo sich das Bild in groß in einem PopUp anzeigen soll:

Zitat:
<html>

<head>
<title>Galerie</title>


<script language="JavaScript">
<!--
function nph_open_window(url, name, feature)
{
var new_window = window.open(url, name, feature);
new_window.focus();
}
// -->
</script>
</head>



<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table border="0" cellpadding="0" cellspacing="0" width="0" height="0">
<tr>


<td width="163">
<a href="javascript:nph_open_window('file:///
URL',
'nph_window', '
width=400,
height=400,
toolbar=no,
menubar=no,
status=no,
scrollbars=no,resizable=no')">
<img src="DSCN1992_tm1.jpg"
border="0"
alt="Bildname von Bild der URL">
</a></td>



<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1993.JPG"></a></td>
<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1994.JPG"></a></td>
<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1997.JPG"></a></td>
<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1999.JPG"></a></td>
</tr>

</table>
<p>&nbsp;</p>
</body>

</html>


Jetzt nochmal der, bei dem die Bilder in Groß unter den kleinen Bildern angezeigt werden sollen:

Zitat:
<html>

<head>
<title>Galerie</title>


<script language="JavaScript">
<!--
function nph_change_img_src(name, nsdoc, rpath)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '') return;
if (img) { img.altsrc = img.src; img.src = rpath; }
}
// -->
</script>


</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table border="0" cellpadding="0" cellspacing="0" width="600" height="600" bgcolor="#3399FF">


<tr>
<td width="163">
<a href="javascript:nph_change_img_src('nph_slide1',
'document', '
file:///Bild URL');">
<img src="DSCN1992_tm.jpg"
border="0"
alt="
Bild Name">
</a>
</td>


<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1993_tm.jpg" border="0" alt="Bild Name"></a></td>
<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1994_tm.jpg" border="0" alt="Bild Name"></a></td>
<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1997_tm.jpg" border="0" alt="Bild Name"></a></td>
<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1999_tm.jpg" border="0" alt="Bild Name"></a></td>
</tr>


</table>
<p><img src="file:///F|/Homepage/Grafik/Mitternachtsturnier 23.06.07/MUT Galerie Bilder/DSCN1992.JPG" border="0" name="nph_slide1";hight="600";width="600px"></p>
<p>&nbsp;</p>
</body>

</html>


Ich kenne mich eigentlich nicht mit scripts aus, also kann ich auch nicht mehr dazu sagen, wie gesagt, ich habs so aus dem editor bekommen.
______________
Gruß Basti
(unihockeyu17-tsge.de.tl)
[img:cc4977d475]http://srv3.onlinestuffs.com/pictureupload/bild25/rwps40o3y5ubb3dgsw2x.gif[/img:cc4977d475]
[img:cc4977d475]http://img.webme.com/pic/p/pazox/ripbenoit.jpg[/img:cc4977d475]
Beitrag10.07.2007 um 18:06 (UTC)    
Titel:

Hi,

da sind Teile dabei, welche in den "HEAD&acute;"-Breich müssen.
Dies geht hier leider nicht.
______________
http://blog.mamuehi.de
Beitrag10.07.2007 um 18:23 (UTC)    
Titel:

also auf gut deutsch, sind net verwendbar. Dann muss ich weiter probieren
______________
Gruß Basti
(unihockeyu17-tsge.de.tl)
[img:cc4977d475]http://srv3.onlinestuffs.com/pictureupload/bild25/rwps40o3y5ubb3dgsw2x.gif[/img:cc4977d475]
[img:cc4977d475]http://img.webme.com/pic/p/pazox/ripbenoit.jpg[/img:cc4977d475]
Beitrag10.07.2007 um 18:33 (UTC)    
Titel:

unihockeyu17-tsge hat Folgendes geschrieben:
also auf gut deutsch, sind net verwendbar. Dann muss ich weiter probieren

Hi,

probiere es ma so:

Text über dem Design
Zitat:
<script language="JavaScript">
<!--
function nph_open_window(url, name, feature)
{
var new_window = window.open(url, name, feature);
new_window.focus();
}
// -->
</script>


An der entsprechenden Stelle:
Zitat:
<table border="0" cellpadding="0" cellspacing="0" width="0" height="0">
<tr>


<td width="163">
<a href="javascript:nph_open_window('file:///
URL',
'nph_window', '
width=400,
height=400,
toolbar=no,
menubar=no,
status=no,
scrollbars=no,resizable=no')">
<img src="DSCN1992_tm1.jpg"
border="0"
alt="Bildname von Bild der URL">
</a></td>



<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1993.JPG"></a></td>
<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1994.JPG"></a></td>
<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1997.JPG"></a></td>
<td width="163"><a href="javascript:nph_open_window('file:///Bild URL', 'nph_window', 'width=400,height=400,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no')"><img src="Bild Name" border="0" alt="DSCN1999.JPG"></a></td>
</tr>

</table>
<p>&nbsp;</p>


Code zwei:
Text über dem Design:
Zitat:
<script language="JavaScript">
<!--
function nph_change_img_src(name, nsdoc, rpath)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '') return;
if (img) { img.altsrc = img.src; img.src = rpath; }
}
// -->
</script>



An der gewünschten Stelle:
Zitat:
<table border="0" cellpadding="0" cellspacing="0" width="600" height="600" bgcolor="#3399FF">


<tr>
<td width="163">
<a href="javascript:nph_change_img_src('nph_slide1',
'document', '
file:///Bild URL');">
<img src="DSCN1992_tm.jpg"
border="0"
alt="
Bild Name">
</a>
</td>


<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1993_tm.jpg" border="0" alt="Bild Name"></a></td>
<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1994_tm.jpg" border="0" alt="Bild Name"></a></td>
<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1997_tm.jpg" border="0" alt="Bild Name"></a></td>
<td width="163"><a href="javascript:nph_change_img_src('nph_slide1', 'document', 'file:///Bild URL');"><img src="DSCN1999_tm.jpg" border="0" alt="Bild Name"></a></td>
</tr>


</table>
<p><img src="file:///F|/Homepage/Grafik/Mitternachtsturnier 23.06.07/MUT Galerie Bilder/DSCN1992.JPG" border="0" name="nph_slide1";hight="600";width="600px"></p>
<p>&nbsp;</p
>
______________
http://blog.mamuehi.de
Beitrag10.07.2007 um 19:18 (UTC)    
Titel:

also, ich habs jetzt mal so grob probiert, auf anhieb hats net geklappt, ich bin jetzt im Urlaub, und danach werde ichs nochmal probieren.

Hast dus mal probiert??

Wenn ne, kannst dus mal ausprobieren??
______________
Gruß Basti
(unihockeyu17-tsge.de.tl)
[img:cc4977d475]http://srv3.onlinestuffs.com/pictureupload/bild25/rwps40o3y5ubb3dgsw2x.gif[/img:cc4977d475]
[img:cc4977d475]http://img.webme.com/pic/p/pazox/ripbenoit.jpg[/img:cc4977d475]
Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de