The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Image Resize Help Please...
Hello everyone,
I've been looking for an image resizing hack to use on my vBulletin 3.5 RC2 forum and found one that works for me. But, I have a problem. It works fine and resizes the image and allows you to click on it which opens a new window that shows the original size picture, but the problem is with the mouse over. When I use IE and put my mouse pointer over the resized images it shows a hand and says "click here to see a large version" but when I put my mouse pointer over the resized image with Firefox it wont turn the pointer into the hand and doesn't says "click here to see a large version." Is there a way to fix this for Firefox users? I mean it still functions right and all, but just doesn't show the hand or say the text. Please see the code I'm using in my class_bbcode.php file below. Also you can see what I'm talking about at my forum below the code: Code:
return '<img src="' . $link . '" onload="if(screen.width-650 < this.width) {this.width=screen.width-650;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">'; Any help would be appreciated! Thank you, ~Mr. Bone88 |
#2
|
|||
|
|||
Can anyone help me please?
Thanks, ~Mr. Bone88 |
#3
|
|||
|
|||
ya, i am also reported the problem with ALT in firefox.
|
#4
|
|||
|
|||
Is there a fix for this? Can anyone help?
Thanks, ~Mr. Bone88 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|