Gaijin.at -
Tip: Analyze your web server log files with HTTP LogStat and see many interesting informations about the hits and downloads.

JavaScript: Picture View

This JavaScript displays a picture an a new page. Additionall, you can add a title for the picture.

Example


Compatible and tested with

Microsoft Internet Explorer 5.0 or higher
Mozilla Gecko 1.1a or higher
Opera 5.11 or higher
Netscape Navigator 4.7 or higher

License

Open Source (GNU GPL)

Call function

In place of linking to the image file, e.g. <a href="bild.jpg">Bild</a>, the below JavaScript code is inserted. By clicking the link the file will be displayed "picview.html". The image and the title of the image based on the passed parameter will be displayed on a new page.

JavaScript sourcecode

(calling page)

HTML sourcecode

(viewing page)

Beta Area | Search | Webmasters | Support | Contact
Copyright © 2003-2010 Gaijin.at