Announcement

Collapse
No announcement yet.

Widening index page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Widening index page

    Guys,

    I am trying to widen my page www.knighton-tools.co.uk so i can accomodate some more images etc, how do i do this ?

    Many Thanks

    Johnny
    John Heap
    Knighton Tool Supplies-Leicester
    www.knighton-tools.co.uk
    Litter Pickers-Power Tools-Safety Footwear-Engineering Products

    #2
    HI if you are trying to set the size of the browser when loading your site you can do the following in the HEAD tag


    <script language="javascript">

    function BrowserInfo()
    {
    this.screenWidth = screen.width;
    this.screenHeight = screen.height;
    }

    function ResizePage()
    {
    var b = new BrowserInfo();
    if (b.screenWidth > 800 && b.screenHeight > 600)
    {
    window.resizeTo(1024,768);
    }
    else
    {
    window.resizeTo(800,600);
    }
    }

    </script>



    Now add to the BODY tagonLoad="ResizePage();"

    Hope this helps

    Nick

    Comment

    Working...
    X