| pieter |
|
|---|---|
|
I use this:
/*This is for Jquery*/
/* for understanding browsers */
.resizeimage { max-width:250px;max-height:250px;}
/* for Internet Explorer */
/*\*/
* html .resizeimage{
border-width:1px solid #000000;
height: expression(this.height >= this.width && this.height > 250 ? '250px' : true);
width: expression(this.height < this.width && this.width > 250 ? '250px' : true);
}
<a href="$1"><img src="$1" alt="" class="resizeimage" /></a> Dit gebruik ik in forum, zodat de foto's klein zijn, en als je er op klikt de originele opengaat. Added 37 seconds later: How did you do it? ... can we help you ...
|