Agree totally, but there's gotta be a way to fix my code! Unfortunately, most of my family are internet idiots, and they will be using explorer.diabolic.bg wrote:The problem is in IE. Don't use it. In my board I redirect IE to Opera download...
Agree totally, but there's gotta be a way to fix my code! Unfortunately, most of my family are internet idiots, and they will be using explorer.diabolic.bg wrote:The problem is in IE. Don't use it. In my board I redirect IE to Opera download...
Thanks - but I would rather have code that worked in all browsers. Hopefully somebody will look at the source of my page and quickly see an errordiabolic.bg wrote:If you want I can send you my sniffer,s code in PM. It fix the problem. You can test it here: http://fallout.wasteland-bg.com/
Ahh.. Only took about an hour of reading through the prev posts, but I came across this and it was exactly the problem. Thanks also diabolic.bg for your quick response.winampman wrote:Just a note to anyone that might having problems with this mod in Internet Explorer.
The instructions say to add this code to overall_header.tpl:Problem is, some styles/templates don't recognize {T_BODY_LINK} as a variable. In subSilver, this code will be automatically changed to:Code: Select all
<!-- start mod : Resize Posted Images Based on Max Width --> <script type="text/javascript"> //<![CDATA[ <!-- var rmw_max_width = 800; var rmw_border_1 = '1px solid {T_BODY_LINK}'; var rmw_border_2 = '2px dotted {T_BODY_LINK}'; var rmw_image_title = '{L_RMW_IMAGE_TITLE}'; //--> //]]> </script> <script type="text/javascript" src="{U_RMW_JSLIB}"></script> <!-- fin mod : Resize Posted Images Based on Max Width -->
which is fine.Code: Select all
var rmw_border_1 = '1px solid #006699'; var rmw_border_2 = '2px dotted #006699';
but in the style that I am using (Aphrodite), this is what happens:In Internet Explorer, this causes a Javascript error, the Javascript stops working, and the images are not resized. It still works in Firefox (and probably Opera).Code: Select all
var rmw_border_1 = '1px solid #'; var rmw_border_2 = '2px dotted #';
So if the image isn't being resized in Internet Explorer because of the #, all you need to do is open overall_header.tpl, and change {T_BODY_LINK} to any color you want. For example:
2px dotted #000000
2px dotted black
2px dotted #0000FF
2px dotted blue
all work just fine. Do that with all overall_header.tpl's that have the # problem.
Just posting what worked for me
This is right method! It's working with IE too. Thanks!rrjbeals wrote:Ahh.. Only took about an hour of reading through the prev posts, but I came across this and it was exactly the problem. Thanks also diabolic.bg for your quick response.winampman wrote:Just a note to anyone that might having problems with this mod in Internet Explorer.
The instructions say to add this code to overall_header.tpl:Problem is, some styles/templates don't recognize {T_BODY_LINK} as a variable. In subSilver, this code will be automatically changed to:Code: Select all
<!-- start mod : Resize Posted Images Based on Max Width --> <script type="text/javascript"> //<![CDATA[ <!-- var rmw_max_width = 800; var rmw_border_1 = '1px solid {T_BODY_LINK}'; var rmw_border_2 = '2px dotted {T_BODY_LINK}'; var rmw_image_title = '{L_RMW_IMAGE_TITLE}'; //--> //]]> </script> <script type="text/javascript" src="{U_RMW_JSLIB}"></script> <!-- fin mod : Resize Posted Images Based on Max Width -->
which is fine.Code: Select all
var rmw_border_1 = '1px solid #006699'; var rmw_border_2 = '2px dotted #006699';
but in the style that I am using (Aphrodite), this is what happens:In Internet Explorer, this causes a Javascript error, the Javascript stops working, and the images are not resized. It still works in Firefox (and probably Opera).Code: Select all
var rmw_border_1 = '1px solid #'; var rmw_border_2 = '2px dotted #';
So if the image isn't being resized in Internet Explorer because of the #, all you need to do is open overall_header.tpl, and change {T_BODY_LINK} to any color you want. For example:
2px dotted #000000
2px dotted black
2px dotted #0000FF
2px dotted blue
all work just fine. Do that with all overall_header.tpl's that have the # problem.
Just posting what worked for me