Page 1 of 1

no scroll bar? and a weird js error.

Posted: Thu Nov 24, 2005 1:53 pm
by yingjai
i made a skin (need to finish menu) and it works almost perfect. the problem is that in Maxthon browser, I am not seeing any scroll bars even though i can scroll with wheelmouse. I believe the scrollbar is visible in Microsoft Internet Explorer. I can force the scrollbar to appear by using the <body scroll=yes> tag, but that is technically the wrong way to do it so I was wondering how to fix this.

you can view page here http://meta.sytes.net:8000/serendipity/

anyways, as for the javascript error, it only happens when you go into the full view of a post. all other pages (ie. external php script or static page) does not have a script error. also the error says line 2, which is odd since i believe it's a smarty tag.

Re: no scroll bar? and a weird js error.

Posted: Thu Nov 24, 2005 2:31 pm
by garvinhicking
Hm, I don't have/use maxthon, but in my IE and firefox it works properly. Maybe it's an issue with floating elements?

Your JS errors is because you use this line:

Code: Select all

<script type="text/javascript" src="pngfix.js"></script>
You must use an absolute path to reference your script:

Code: Select all

<script type="text/javascript" src="/serendipity/pngfix.js"></script>
because else, when you look at an detailed entry, you are in the path "/serendipity/archives", and there is no pngfix.js in your virtual /serendipity/archives/ folder :)

Regards,
Garvin

Posted: Fri Nov 25, 2005 12:06 am
by yingjai
i see.. thanks..
but the other skins work fine for maxthon.. and the layout is laid out with tables only cept for the header..

Posted: Fri Nov 25, 2005 5:02 am
by yingjai
nevermind.. it mysteriously fixed itself after i gave up. never understood what the problem for the scrollbar was.