Version: , by lazytown
Developer Last Online: Nov 2023
Version: Unknown
Rating:
Released: 02-02-2005
Last Update: Never
Installs: 0
No support by the author.
I've had some users complaining that the vBGarage full size pop-ups don't automatically resize in Internet Explorer like they do with other photos in VB. IE6 has the auto-resize feature that scales images to fit a users brower. For some reason they don't scale with vBGarage.
-V
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
If you are running IE6, you will know what I am talking about. It affects all users of IE6 and vBGarage. Try it on your motorcycle forums if you have IE installed. You'll see that normal enlarged VB photos resize when you change your browser's window size (interactively) and VBG popups don't.
By the way, some people disable auto-resizing in IE so they won't notice it.
In your version of IE, when you see a very large photo and change the window size so that it no longer fits, it should scale the image down in real-time (kind of neat). But the popups from vBGarage are not doing that for me or some of my users. They also don't have scroll bars and sometimes go off-screen if they are large enough. I've never installed a previous version of vBG, so I can't say its a new problem.
Here's what's happening. vB is firing off the data. We are requesting it in an html page when a popup is requested.
You can mimic this behaviour by changing the your vbgarage_imagebits template to this... vBGarage is not sending as many headers as vB though, so your milage may vary.
Here's what's happening. vB is firing off the data. We are requesting it in an html page when a popup is requested.
You can mimic this behaviour by changing the your vbgarage_imagebits template to this... vBGarage is not sending as many headers as vB though, so your milage may vary.
Now popups are opening at only 200 pixels wide! By the way, I think you left off the closing </a>
Also -- within the "vbgarage_popup" template, we should first check the user's maximum screen width/height and then only resize the popup window up to that size.. Otherwise we are opening a window larger than a user may be able to handle.
Well its great, so don't get me wrong! My users are very happy overall. Some of the tweaks I've mentioned are pretty easy to implement, so if I do them would you want me to give you the code?
-V
Well its great, so don't get me wrong! My users are very happy overall. Some of the tweaks I've mentioned are pretty easy to implement, so if I do them would you want me to give you the code?
-V
If you are slick with all that in Javascript, sure. I could work it out, but honestly, my hands are full now with the bite I took of this.
This should remain a 2 step process though. In the calling window work out the resolution of the users screen and size of the new window accordingly, then in the recieving window do the focus. Although we do have one problem, nothing is supplying an image size to work with in the calling window.
I'll try and think of the most efficient way to get that for you, unless you have an idea?
Thanks.
EDIT. Shows ya how much I know. I guess ya can do all the resizing and focusing on the recieving window and just pop off the new window with the attributes we need from the calling window, size not mattering to caller.