Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 [2]   Go Down

Author Topic: When viewing gallery, I get double vertical scrollbars  (Read 32951 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: When viewing gallery, I get double vertical scrollbars
« Reply #20 on: November 23, 2005, 10:12:39 pm »

this thread is where your solution should go.
Logged

Daniel123

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Double scrollbars with Mozilla Firefox
« Reply #21 on: March 20, 2006, 01:46:10 am »

As described in tips.txt, the double scrollbars disappear after inserting

include ("iframe_SSI.html");

in header.php and copying iframe_SSI.html  to the root folder of the postnuke site. If the site is viewed with Mozilla Firefox, the double scrollbars remain.
Using Coppermine 1.4.4, pnCPG 3.2, Firefox 1.5.0.1
Is there a way to avoid the double scrollbars also in Firefox?
Regards,

Daniel

Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Double scrollbars with Mozilla Firefox
« Reply #22 on: March 20, 2006, 07:21:46 pm »

I have not found  a solution for Mozilla.

Cas
Logged

msbr

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Double scrollbars with Mozilla Firefox
« Reply #23 on: November 16, 2006, 01:15:51 am »

Has anyone found a solution to this problem??


FYI - There is something in the pnCPG TIPS.txt file:

NETSCAPE
========
Change the iframe line within index.php as follows :
echo "<div class=\"cpgframe\">"
     ."<iframe id='pnCPG' src='$url'  width='580'
height='1500' scrolling='no' marginwidth=0
marginheight=0 frameborder=0 ></iframe></div>";

then in the styleNN.css add :
.cpgframe {
PADDING-BOTTOM: 3px; FONT: 11px/16px tahoma, verdana,
arial; COLOR: #3e494a; PADDING-TOP: 10px; HEIGHT:
1500px; TEXT-ALIGN: center
}



But I cant figure out where this line is in index.php?   Maybe this was for an older version of pnCPG/Coppermine/Postnuke?



It seems that this would be a high priority issue!  More than 50% of my users are using netscape (really firefox) accourding to my stats...  Please let me know if anyone has an answer.
Logged

msbr

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: When viewing gallery, I get double vertical scrollbars
« Reply #24 on: November 16, 2006, 01:23:02 am »

Has anyone found a solution to this problem??


FYI - Is this some sort of fix (from the pnCPG TIPS.txt file):

NETSCAPE
========
Change the iframe line within index.php as follows :
echo "<div class=\"cpgframe\">"
     ."<iframe id='pnCPG' src='$url'  width='580'
height='1500' scrolling='no' marginwidth=0
marginheight=0 frameborder=0 ></iframe></div>";

then in the styleNN.css add :
.cpgframe {
PADDING-BOTTOM: 3px; FONT: 11px/16px tahoma, verdana,
arial; COLOR: #3e494a; PADDING-TOP: 10px; HEIGHT:
1500px; TEXT-ALIGN: center
}


But I cant figure out where this line is in index.php?   Maybe this was for an older version of pnCPG/Coppermine/Postnuke?


It seems that this would be a high priority issue!  More than 50% of my users are using netscape (really firefox) accourding to my stats...  Please let me know if anyone has an answer.
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Double scrollbars with Mozilla Firefox
« Reply #25 on: November 28, 2006, 11:44:13 am »

That line now can be found in pnuser.php

Cas
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: When viewing gallery, I get double vertical scrollbars
« Reply #26 on: November 28, 2006, 11:44:50 am »

double posted, check pnuser.php for that line.

cas
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: When viewing gallery, I get double vertical scrollbars
« Reply #27 on: November 28, 2006, 06:04:30 pm »

Merged threads. In the future, don't double-post!
Logged

msbr

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: When viewing gallery, I get double vertical scrollbars
« Reply #28 on: November 28, 2006, 08:37:35 pm »

double posted, check pnuser.php for that line.

cas

Thanks!

I am going to change this:


Code: [Select]
if (file_exists($filename)){
echo "<iframe id='postwrap-content' name='pnCPG' src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto onload='parent.scrollTo(0,0);' ></iframe>";
} else {
echo "<iframe src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto name='pnCPG' onload='parent.scrollTo(0,0);' ></iframe>";
}

to this:

Code: [Select]
if (file_exists($filename)){
echo "<div class=\"cpgframe\">"."<iframe id='postwrap-content' name='pnCPG' src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto onload='parent.scrollTo(0,0);' ></iframe></div>";
} else {
echo "<iframe src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto name='pnCPG' onload='parent.scrollTo(0,0);' ></iframe>";
}



But I still have two questions:

1. Do I need to add the div / style to the second iframe reference also?
2. In what file do I actually define the style?  There is no reference to styleNN.css in the pnuser.php file, and I can't find styleNN.css anywhere.

Thanks again!
Mike
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: When viewing gallery, I get double vertical scrollbars
« Reply #29 on: November 28, 2006, 09:43:01 pm »

There is no fixed answer for that one, it is a bit trial and error.
Currently i do not use FF so cannot help you there.

Cas
Logged

msbr

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: When viewing gallery, I get double vertical scrollbars
« Reply #30 on: December 15, 2006, 11:22:35 pm »

I have put the div tag on both iframe lines (it seems that firefox always uses the second line) and I have added the style to the theme's style.css file (which is included in the index.htm iframe reference), but it still doesnt work...

Can someone please look at this for me:
http://msbragginrights.com

You will find the div tag around the iframe, and the style is available, but firefox/netscape/mozilla still show double scrollbars.

I still cant belive that no one has encountered/fixed this issue... please help if you can.

Thanks!
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: When viewing gallery, I get double vertical scrollbars
« Reply #31 on: December 16, 2006, 12:15:45 pm »

I have implemented another way which seems to work also for Firefox.
I will release this here on the board as version 3.5

Cas
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.036 seconds with 16 queries.