|
Posted by PTM on July 27, 2006, 4:30 pm
Please log in for more thread options
> Harlan Messinger wrote:
>> RC wrote:
>>> I know how to do this in JavaScript by
>>>
>>> window.open("newFile.html",
>>> "newTarget",
>>> "scrollbars=no,resizable=0,width=200,height=200");
>>>
>>> The browser will open a new window size 200x200, not allow resize and
>>> no auto horizontal, vertical scrolling bars.
>>>
>>> I am wonder can I do the similar inside a HTML file like
>>>
>>> <html><head>
>>> <meta pageSize=200x200, resize=no, scrollbars=no />
>>> </head>
>>> <body>
>>> ...
>>> </body></html>
>>>
>>> Can I do that?
>>>
>>> Or do in CSS
>>> html { height: 200; width: 200;
>>> overflow-y: hidden; overflow-x: hidden; }
>>>
>>> But how can you in CSS out side of the html tag?
>>> Because the <style> tag is between the html open/close tags.
>>
>> It's the user's business, not yours, how big he wants or needs his window
>> to be. One of the most obnoxious things I've come across on the web is a
>> page that suddenly makes my browser open full-screen, as though the site
>> owner has any business whatsoever controlling the layout of my computer
>> screen. This is right up there with playing unwanted music.
>
> I find it interesting how so many folks here go ballistic at the idea of
> developers opening new browser windows on their desktops (I find this
> perfectly acceptable EXCEPT for advertising purposes, which is not really
> part of an app, it's an invasive intrusion..); if you're using any desktop
> app you're always opening tons of new windows, dialogues, etc.. but a new
> browser window? oh horror!! :) sometimes I even WISH certain links
> would open in a new window so I could easily go back and look at the list
> of links, for example, while looking at particular link I just opened..
>
> same thing with window size, I mean shouldn't developers -- in certain
> situations -- be able to adjust window size to window content? (what a
> concept...;)
>
> I love pop-ups, I learned pop-ups early on when I was learning JavaScript
> about eight years ago and I think you can design good UIs with them if you
> use them properly, but oh well... I guess abusive advertisers took care
> of that one!! ;)
>
> ok, we all know there are many different opinions about all this.. this is
> just my two cents...;)
>
>
>
here here, two cents very well spent.
i'm sure css and user layout options would not exist if it wasn't for
developers trying to present THEIR content as they would like users to see
it in it's best light.
|