Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
http://www.tinywebgallery.com/forum/

Options window placement
http://www.tinywebgallery.com/forum/web-photo-gallery-support-f1/options-window-placement-t3520.html
Page 1 of 1

Author:  BrianNY [ 26. Mar 2013, 16:59 ]
Post subject:  Options window placement

Another question! :)

TWG seems to be working well now and is almost to where I'd like it to be. However, I've run into one small issue. When a user clicks on Options, the options menu is partially hidden.

The top and bottom headers span the width of the screen but the central portion is defined as having a width of 960px. The Options menu works just fine in a full screen window (i.e., when a user clicks on "New Window" first) but is cut off in the normal view. I've attached an image showing the problem.

I've looked through the installations and how-to information for a setting on this but have not seen one (although I'm sure I could have missed it). I searched here in the forum and also spent a bit of time glancing through the code.

Is there a setting that I can change that will help this? If not, please let me know where in the PHP files TWG is calculating the placement of the Options menu. Perhaps I will be able to adjust the logic to solve the problem.

Thanks. :)

Brian

Attachments:
Capture.JPG
Capture.JPG [ 102.54 KiB | Viewed 1170 times ]

Author:  TinyWebGallery [ 26. Mar 2013, 19:29 ]
Post subject:  Re: Options window placement

are the other iframe are placed wrong as well?

I have an option to fix the placements if the automatic placement fails:

$iframe_xoffset = 0; // new 1.5.3 - if you are using php include AND divs for your layout it is possible that the iframes are not where they should be - you can define the x offset of the iframes here!
$iframe_yoffset = 0; // new 1.5.3 - if you are using php include AND divs for your layout it is possible that the iframes are not where they should be - you can define the y offset of the iframes here!

Best, Michael

Author:  BrianNY [ 27. Mar 2013, 18:07 ]
Post subject:  Re: Options window placement

Michael,

Thanks! I was able to use those to find a position that seems to work well at all resolutions.

Brian

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/