Page 1 of 1

Page width with javascript, how?

Posted: Tue Jul 04, 2006 8:51 am
by Jorem
I have a problem with the width of the page in IE . In all the other browsers it is fixed in CSS, but IE doesn't work with that so the page looks very width.

I found out after searching this forum that I need to add some javascript to fix the width in IE.

My question is now: How do I do that? Where do I have to put the javascript, and what javascript?

Thanks for your help. For the rest everything works great :) .

Re: Page width with javascript, how?

Posted: Wed Jul 05, 2006 12:32 am
by Dr.CSS
default install templates have this in them

{global_content name='JavaScript for IE page width'}

if you goto Content > Global Content Blocks you will see this one, if you clik on it you will see {literal}  {/literal}, you have to clik Source button then you will see the 'code', you may have to change the (P7_MinMaxW(720,950));} so it works with your sizes :.

Re: Page width with javascript, how?

Posted: Wed Jul 05, 2006 2:09 pm
by Jorem
Thanks you very much. Now everything works great :)