![]() |
Well, what I don't like about this so far is that it's never working on IE for me, and it also limits the size in the signatures. I'm looking for something that is only limited in the post and the signature limits do their own work. >_<;
|
Quote:
|
What version of IE are you guys using? I'm using IE6 and it seems to be working fine.
|
Mabey it has something to do with where you place it? Vtec please post a few lines above and below where you posted the text and anything else that might help us. I cannot get it to work either on my site Firefox fine, but ie 6+ does not.
|
Some guide questions for users in trouble (with IE), please answer them so I could have the clue to solve your problem. :rolleyes:
1. Can you see the demo working on IE? (Can -> 2, Cannot->3) 2. Please let me see your forum page where this mod is applied. 3. If you cannot see it working, what version of IE are you using? Thanks! DanLai. |
Example:
http://www.sonyverse.com/forum/showthread.php?t=11 here is my code return '<img src="' . $link . '" onload="if(largerThan(this.width,700)) {this.width=700;this.alt=\'Click here to see a large version\';}" onmouseover="if(this.alt) this.style.cursor=\'hand\';" onclick="if(this.alt) window.open(\'' . $link . '\');" border="0" />'; in Firefox it resizes fine in IE this is what I get.. |
Quote:
Also, as an addition, there is no need to define the largerThan() function. Using Code:
if (this.width > 700) |
Kongo IM new sorry can you please explain where and what needs modified for us so we can enjoy the benifits of this mod?
Thanks in advnace.. Look at my code above thats in the bbcode php file |
I have modified the original HTML a bit, since I didn't like it. I use the title attribute instead of the alt attribute, since HTML standards state that the alt attribute is to be used by screen reading software, whereas the title attribute is usually used to display a 'tooltip' when the mouse is positioned above the element in question.
Also, the hand pointer one sees when the mouse is moved over a link is actually a cursor called pointer, not hand, in the standards. So, I use this code: Code:
return '<img onload="if (this.width > 700) {this.width=700; this.title=\'Click to view normal size\';}" onmouseover="if (this.title) {this.style.cursor=\'pointer\';}" onclick="if (this.title) {window.open(\'' . $link . '\');}" src="' . $link . '" border="0" alt="" />'; Works in all browsers I've tested it in. If it works in Firefox but not IE, I would say the best bet is to check the IE settings. JavaScript may be fully or partially disabled. |
Quote:
Quote:
Good to see everyone helping out each other. :rolleyes: Thanks, DanLai. |
All times are GMT. The time now is 10:11 AM. |
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:
|