Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Can you force a html page to a set size?

Options
  • 05-06-2006 12:06am
    #1
    Registered Users Posts: 115 ✭✭


    Is it possible to have a regular html page have its size defined?, for example you type in www.homepage.com and the index page is a popup window with no background or foreground windows appearing, is there a piece of code you can put in the html page itself that makes it standalone and not referiing to
    another page? I kinow this is a strange way of doing things but it would take too long to explain why I need this.

    Cheers


Comments

  • Registered Users Posts: 5,517 ✭✭✭axer


    Thank god homepages.com didnt hurt me like you said it would.

    If you would like to hurt people you could throw this in:
    <body onLoad=" resizeTo(800,600);">
    


  • Closed Accounts Posts: 2,639 ✭✭✭Laguna


    if it has nothing to do with the post - then why bother?


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    just a note ... a lot of people are like me with regards to this ... I don't want my browser being ****ed around with ... you go resizing my page I'll be resizing it right back up again or just plain killing the page ...

    I'm usually running a number of tabs so you resizing the browser window is seriously gonna piss me off as you're affecting other tabs besizes your own ... just a thought .. make sure you know your target audience won't mind this ...


  • Registered Users Posts: 9,195 ✭✭✭RobertFoster


    error9 wrote:
    just a note ... a lot of people are like me with regards to this ... I don't want my browser being ****ed around with ... you go resizing my page I'll be resizing it right back up again or just plain killing the page ...

    I'm usually running a number of tabs so you resizing the browser window is seriously gonna piss me off as you're affecting other tabs besizes your own ... just a thought .. make sure you know your target audience won't mind this ...
    I hate it too. Just don't use it. It's poor design and very porn-site-ish.


  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    <body onLoad="resizeTo(640,480);">
    

    simple as that


  • Advertisement
  • Registered Users Posts: 115 ✭✭Tengu


    I agree with all the stuff thats just been said but alas when your client thinks that they know everything and want you to make a semi popup regardless of the useability issues well I've warned them anyway, as long as they pay me.
    I've tried the first script which works but it seems to make the page I launch a window from resize too, is there a workaround for this?


  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    Tengu wrote:
    I agree with all the stuff thats just been said but alas when your client thinks that they know everything and want you to make a semi popup regardless of the useability issues well I've warned them anyway, as long as they pay me.
    I've tried the first script which works but it seems to make the page I launch a window from resize too, is there a workaround for this?


    then what exactly do you need? That script resizes a window when the page is loaded - isnt that what you wanted?


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    sounds like you just want a standard popup window ... but you've described something else ?


Advertisement