4images Forum & Community
4images Modifications / Modifikationen => Requests for paid modifications / Jobbörse => Topic started by: thomasb on February 12, 2008, 07:58:32 AM
-
Wer modifiziert mir meine Homepage www.galerie-jumpy.de so, dass bei einem Klick auf die Thumbnails die Grossansicht
des Bildes mittig am Desktop im Ajax-Effekt erscheint?
Anybody here wo modifies my homepage with the Ajax-Effect?
The popup should display in the middle of the desktop with darkende background.
Danke und Gruss, Thomas
-
im prinzip ist das recht einfach
du musst nur die Parameter des Javascript open(popup) etwas erweitern
guck mal hier:
http://www.drweb.de/javascript/popup.shtml
du kannst auch hier: http://www.webmaster-resource.de/tricks/javascript/popup-fenster-erstellen.php nachlesen, popup mittig ausrichten
ein einfacher Code, teils in die header.html, teils in den Body-Tag, teils in die detail.html
<head>
<script type="text/javascript">
function popup() {
var winWidth = 700;
var winHeight = 500;
var winLeft = Math.round((screen.width - winWidth) / 2);
var winTop= Math.round((screen.height - winHeight) / 2);
var win = window.open('meineurl.html', 'meinbezeichner', 'width=' + winWidth + ',height=' + winHeight + ',left=' + winLeft + ',top=' + winTop);
}
</script>
</head>
<body>
<a href="meineurl.html" target="_blank" onclick="popup(); return false;"><img src=".." /></a>
</body>
-
Danke für die Antwort!
Könntest Du das für mich machen? Nicht umsonst.
Es ist Jahre her, dass ich mit html zu tun hatte und Javascript sagt mir gar nichts.
Würde Dir das Passwort zum FTP geben.
Viele Grüsse, Thomas
-
... oder versuche das hier ... Addon, Highslide from Thumbnail Image ...
... http://www.4homepages.de/forum/index.php?topic=20461.0 ...
-
das ist ja sogar noch besser
und recht einfach einzubauen