Show image in popup

admin

Administrator
Staff member
To show an image of a book, I use the following code:
function PopIt(page,label)
{
popup = window.open(page,"popDialog","height=380,width=215,scrollbars=no")
popup.document.close()
}

A window opens with a specific html-page including an image
by using <a href=http://www.webdeveloper.com/forum/archive/index.php/"JavaScript: PopIt('book1.htm','')">

How can i modify this so that i do not have to create several html-pages with different images

TIA

Greetz from Belgium

Luc aka kuifjexx
 
Back
Top