A little Java help...... Image Popups.....

Status
Not open for further replies.

beta

Ars Tribunus Militum
1,991
I have a script on my site that allows for popup windows....

<script language="JavaScript">
< !--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>


Then you put this on the <a> tag....

a href="#"onClick="MM_openBrWindow('terms/andrecht.jpg','','width=371,height=367')">

But is there any way for the page to auto-fit to the pic, instead of having to put width and height for each link, since I have to do a ton of these?

beta
 
Status
Not open for further replies.