PDA

View Full Version : could sombody help me with this please



gerble1000
Aug 4th, 2012, 04:17 PM
i have this script which works ok except instead of opening another window with the image onclick, i would need to have it blur the background and make the image twice as large in the foreground and with a cancel button and a change button.
the change button would be a submit to a perl script with a value of
name="name"
value="1.jpg"

and the 1.jpg would be the actual number of image
could somebody help me with this please.





<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
ul, li {
list-style:none;
margin:0;
padding:0;
}
li {
margin:10px;
float:left;
}
a img {
border:0;
}
</style>
</head>
<body>
<ul>
<script type="text/javascript">
for (i = 1; i <= 85; i++) {
document.write('<li><a href="bgimages/'+i+'.jpg" onclick="return !window.open(this.href);"><img src="bgimages/'+i+'.jpg" height="100" width="130" alt="'+i+'" title="'+i+'" /></li>');
}
</script>
</ul>
</body>
</html>

gerble1000
Aug 5th, 2012, 12:15 PM
a call out to philip m :)