Quick feature request - No scroll on popup Quick feature request - No scroll on popup
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Quick feature request - No scroll on popup

Started by rphMedia, September 21, 2006, 10:29:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rphMedia

Also a quick mod :)

If the popup from the intermediate image is larger than the current screen resolution, scrollbars are definitely needed - no question.  But if the popup is smaller than the display res, there shouldn't be the ugly (vertical) scroll bar positioning in the browser.  This tiny hack will take care of that and also, just requesting that maybe this be implemented in the future?  If it breaks validation somehow, then I totally understand.  I just think the popup looks neater (for lack of a better word).

In themes.inc.php find
<body>

and replace with

<body scroll="auto">

It's that simple. 


rphMedia

I had a feeling ....... eh, quick 'hack' if they want it :)

Joachim Müller

In cpg1.5.x, there will be two additional options in coppermine's config that will allow you to specify the x and y offset in the pop-up, allowing standards-compliant pop-ups that don't have scroll-bars.

rphMedia