Js issue ..

They have: 10 posts

Joined: Dec 2003

Hello all !

basically I have a design problem in a page I'm working on .. views byond 600x800 works fine but equal or lower have messed up . Now .. I know about design technicks , but this page contain frames and flash movies that needs more skilled designers than I M ..

Now I found a solution .. when the page loads without the toolbars and all other stuff .. it can work OK .

So now I'm trying to write a JS script based on cookie that detect the user screen size and if it's more than or equal to 600,800 the page will load F11 style , if not it will stay the same (I don't want to harm 1024x768 or greater users) .

I'm working in this order (correct me if I'm wrong)

** because it's a restriced area ..in the login page I backe the cookie for the
user screen width.
** after success ""the page"" read the cookie and if it's more than 800 then it
doesn't do anything ..
** if equal 800 or less , then it closes the window and open up a pop up window with F11 style . ( I realized that it can't be done to the first window)

I need your help with the code and any other help .. !!! THNX ALL ..

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

I would try to make the site work in 800*600 and either then stretch to fit larger sizes or have a fixed width site. Don't mess with peoples settings! I have mine set to 1024*768 but have my browser open at 800*600, your cookie would mess that up for me.

Can you show us the site and maybe we can offer some advice?

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

They have: 5,633 posts

Joined: Jan 1970

For a long time I tried to do something like that. I actualy had it working for a while. But there a few proublems that just made me dump the consept all togerther.
1) You can get the screen with and height easily but you cant figure out how big there task bar is. So the page height might be to big or to small.
2) New windows that have diffrent toolbars then the one they are used to working in confuses aol users.
3) Keep the address bar so they can bookmake your page or tell a friend. But you need to do away with that for more screen space.
4) A ton of people hate pop ups. Besause porn spoiled it for the rest of us.
5) Pop up blockers are the Evil especialy the free ones that block ANTHING from poping up.

There are a few words of warning. Proceed as you wish.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.