Search…

X3 Photo Gallery Support Forums

Search…
 
devin
Experienced
Topic Author
Posts: 45
Joined: 16 Apr 2007, 00:15

Browser Window Size help

10 Dec 2007, 20:11

on my site .. Devinlefevere.net .. The name overlays on top of everything if you resize it down to small . How can I make it so that the broswer window stays to a fixed size ? Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

10 Dec 2007, 22:44

I have created a fix for this here:
https://www.photo.gallery/imagevue/index ... emenu=true

It creates a 'minimal-height' attribute into the document so that the stage does not scale below 580px height. If the browser goes below this, a scrollbar will appear. It works with Firefox and IE7, but I'm not 100% sure it works with IE6. Perhaps someone can confirm?

To implement it, only a few changes are required in your index.php -
Change the following line:
Code
overflow: auto;
Add the following CSS style:
Code
#imagevue {
	min-height: 580px;
	_height: 580px;
}
IE7 and firefox support the "min-height" attribute, but IE6 does not. I have reason to believe using the "_height" attribute is a workaround for IE6.
 
devin
Experienced
Topic Author
Posts: 45
Joined: 16 Apr 2007, 00:15

11 Dec 2007, 19:26

Sorry about the stupid question but , where does the css go ? Into the css of index.php or .... ?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

12 Dec 2007, 00:46

devin wrote:Sorry about the stupid question but , where does the css go ? Into the css of index.php or .... ?
There is no external CSS file, so that code goes directly into the "index.php" file.

The first line in my post above, you must simply change from the original value "overflow: hidden". The second chunk of code, you just paste in the CSS section below the "body" style definition.
 
devin
Experienced
Topic Author
Posts: 45
Joined: 16 Apr 2007, 00:15

12 Dec 2007, 17:12

Thank you so much .. Have you ever thought about hiring extra help !? You seem to being the one doing all of the work 8)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

13 Dec 2007, 00:41

I have thought about it, and I will certainly be looking further into it in the new year. I do have a partner who does PHP programming, but unfortunately, it's not that easy to simply hire help in building our future releases.