vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBgarage (https://vborg.vbsupport.ru/forumdisplay.php?f=104)
-   -   vBGarage popup - doesn't resize in IE (https://vborg.vbsupport.ru/showthread.php?t=75629)

lazytown 02-02-2005 09:22 PM

vBGarage popup - doesn't resize in IE
 
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

noppid 02-02-2005 09:28 PM

Without a screen shot or link we can't make an assessment. Try posting one or the other.

No one else has reported this, we need as much info as possible.

lazytown 02-02-2005 11:35 PM

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.

-V

noppid 02-02-2005 11:53 PM

Quote:

Originally Posted by vissa

1) If you are running IE6, you will know what I am talking about.

2) It affects all users of IE6 and vBGarage.

3) Try it on your motorcycle forums if you have IE installed.

4) You'll see that normal enlarged VB photos resize when you change your browser's window size (interactively) and VBG popups don't.

5) By the way, some people disable auto-resizing in IE so they won't notice it.

-V

1) We are. On windows XP and Win98 and I get the desired result from the popups.

2) We can't confirm that.

3) We did and I get the desired result.

4) I can't seem to duplicate that action? Maybe it's a setting? Got a link to a demo?

5) Thanks for pointing that out, it will help elsewhere.

All the templates in 4.0.0 are as is from version 3.1.1 that magnus released. All the functionalities are as they were.

All of the templates have been updated in the upcoming release, however I'm not sure what functionality you expect, still, or if it will be in there.

lazytown 02-03-2005 12:22 AM

Ok try going to http://ProDogGroomingSupplies.com/forums

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.



Example:

If you click these thumbs from within this post and scale your window down small enough, the photo will shrink.
http://www.prodoggroomingsupplies.co...ead.php?t=4136

However, if you click the thumbs from this vBGarage, they will not shrink and do not even have scroll bars.
http://www.prodoggroomingsupplies.co...o=view&id=1434

-V

noppid 02-03-2005 01:46 AM

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.

HTML Code:

<a style="cursor:pointer; cursor-hand" href="$vboptions[bburl]/vbgarage.php?do=getimage&amp;id=$image[vbgarageid]" onclick="PopupPic(this.href); return false;" target="_blank"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=100&amp;id=$image[vbgarageid]" alt="$image[name]" border="0" /></a>
Here's a link to you. http://www.prodoggroomingsupplies.co...getimage&id=52

lazytown 02-03-2005 08:57 AM

Quote:

Originally Posted by noppid
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.

HTML Code:

<a style="cursor:pointer; cursor-hand" href="$vboptions[bburl]/vbgarage.php?do=getimage&amp;id=$image[vbgarageid]" onclick="PopupPic(this.href); return false;" target="_blank"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=100&amp;id=$image[vbgarageid]" alt="$image[name]" border="0" />
Here's a link to you. http://www.prodoggroomingsupplies.co...getimage&id=52

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.

-V

noppid 02-03-2005 02:26 PM

I'm not a java programmer, so don't expect these details to be dealt with. It is what it is.

Thanks

lazytown 02-03-2005 11:00 PM

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

noppid 02-03-2005 11:06 PM

Quote:

Originally Posted by vissa
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.


All times are GMT. The time now is 08:51 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
  • Page Generation 0.01616 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete