Quote:
Originally Posted by BluPhoenix
change:
Code:
/* Start Image RESIZE */
$navigator_user_agent = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : '';
if (stristr($navigator_user_agent, "msie")) {
return '<img src="' . $link . '" border="0" alt="" style="width: expression(this.width > 640 ? 480 : true);" />';
} else {
return '<img src="' . $link . '" border="0" alt="" style="max-width: 730px;" />';
}
/* End Image RESIZE */
to:
Code:
/* Start Image RESIZE */
$navigator_user_agent = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : '';
if (stristr($navigator_user_agent, "msie")) {
return '<a href="' . $link . '" target="_blank"><img src="' . $link . '" border="0" alt="" style="width: expression(this.width > 640 ? 480 : true);" /></a>';
} else {
return '<a href="' . $link . '" target="_blank"><img src="' . $link . '" border="0" alt="" style="max-width: 730px;" /></a>';
}
/* End Image RESIZE */
That'll make it clickable.. but what does the javascript addition do? from what I see your just using css no need for the javascript?
|
Thank you. It works great with IE 7.0 and Firefox. Click install. I am current with VBB 3.5.4