![]() |
fixed it has an error in the first line of the product
|
Quote:
/* 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 . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="width: expression(this.width > 340 ? 180 : true);" /></a>'; } else { return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width: 430px;" /></a>'; } /* End Image RESIZE */ ^^^^ EDIT THIS NUMBERS ^^^^ That will fix your problem |
I discovered one think.
If an image has a link, doesnt not open the link, its opening the image with this effect :( is there any solution? |
Nominated for MOTM! Thank you very much
|
Quote:
|
This hack is great but how do I exclude signatures from using highslide. I edited the image sizes and it still does not exclude signatures.
What sizes have to be put for it to work correctly? |
Quote:
https://vborg.vbsupport.ru/showpost....5&postcount=32 |
once again for everybody:
/* 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 . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="width: expression(this.width > 340 ? 180 : true);" /></a>'; } else { return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width: 430px;" /></a>'; } /* End Image RESIZE */ ---------------------------------------------------------------------------------------------------- (this.width > 340 ? 180 : true); this width 340 ? means max size before the hack make it small to this size ? 180 u have to edit both numbers !!! style="max-width: 430px; here u have to add ur max size again !!! i hope my english is not that bad ;-) |
MOVE don't worked my forum
|
Quote:
If you were doing it for your forum, what would you enter in those fields? |
All times are GMT. The time now is 02:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|