Hi,
After upgrading to the lastest pnCPG I have the double scrollbars issue. It could be something I did at the same time, but I cannot think of anything in paticular.
This scrollbar issue is unique in that it only happens when I access my website by using anything other than
http://mydomain.com. For example, if I access it with
http://www.mydomain.com or
http://mydomainalias.com or
http://www.mydomainalias.com, the scrollbars appear. When I use
http://mydomain.com there are no scrollbars.
I have found a difference in the source output:
NO SCROLLBARS:<script language='javascript' type='text/javascript'>function iFrameHeight() { var h = 0; if ( !document.all ) { h = document.getElementById('blockrandom').contentDocument.height; document.getElementById('blockrandom').style.height = h + 60 + 'px'; parent.scrollTo(0,0); } else if( document.all ) { h = document.frames('blockrandom').document.body.scrollHeight; document.all.blockrandom.style.height = h + 20 + 'px'; parent.scrollTo(0,0); }}</script><iframe onload='iFrameHeight()' id='blockrandom' name='pnCPG' src='http://mydomain.com/gallery/index_pn.php?parm=Guest|1|0|0|0||http://mydomain.com/|english||y|default||y||||%26check=9c7f8121ea7a8b01076b5c6a3205ea98' width='100%' height='400' scrolling='auto' align='top' frameborder='0'></iframe>
SCROLLBARS:
<script language='javascript' type='text/javascript'>function iFrameHeight() { var h = 0; if ( !document.all ) { h = document.getElementById('blockrandom').contentDocument.height; document.getElementById('blockrandom').style.height = h + 60 + 'px'; parent.scrollTo(0,0); } else if( document.all ) { h = document.frames('blockrandom').document.body.scrollHeight; document.all.blockrandom.style.height = h + 20 + 'px'; parent.scrollTo(0,0); }}</script><iframe onload='iFrameHeight()' id='blockrandom' name='pnCPG' src='http://mydomain.com/gallery/index_pn.php?parm=Guest|1|0|0|0||http://www.mydomain.com/|english||y|default||y||||%26check=3737925c67e430b5bad20456c1d85d8d' width='100%' height='400' scrolling='auto' align='top' frameborder='0'></iframe>
It must be related to the difference in output of the "src" paramater. I have looked at the code of this function but it is a little over my head... Does anybody know what would be causing the scrollbar issue here?
Thanks for the help.