Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Newbie question

Author  Topic 

webninja
Starting Member

6 Posts

Posted - 2003-11-04 : 08:50:32
I need to know if there is a way to detect what screen resolution the person is running while viewing my site? If anyone can direct me to any info about how to do this it would be much appreciated.

ehorn
Master Smack Fu Yak Hacker

1632 Posts

Posted - 2003-11-04 : 09:00:58
http://www.pageresource.com/jscript/jscreen.htm
Go to Top of Page

webninja
Starting Member

6 Posts

Posted - 2003-11-04 : 09:14:24
Yes this would work for me but is there a way to do it in asp.net? The javascript will work and I can redirect from there but it would be nice to just be able to manipulate stuff inside a single aspx page instead of having 2 seperate ones. I supposed I could pass a parameter through the url to a single .net page...
Go to Top of Page

Blastrix
Posting Yak Master

208 Posts

Posted - 2003-11-04 : 09:30:47
You can try looking at BrowserHawk http://www.browserhawk.com
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-11-04 : 17:51:02
How about... don't design pages that are dependent on specific resolutions. You will only piss people off.

Damian
Go to Top of Page

MichaelP
Jedi Yak

2489 Posts

Posted - 2003-11-04 : 19:40:18
I agree with Damian. I use percentages on most of my tables, so that no matter what crazy resolution they are on, it will size to fit.
Lots of times, I have a fixed size navigation bar, and then a percentage on the rest of the content.

Michael

<Yoda>Use the Search page you must. Find the answer you will.</Yoda>
Go to Top of Page

webninja
Starting Member

6 Posts

Posted - 2003-11-05 : 09:24:23
I don't make the decisions about page design/layout so I basically have to do what I'm told. I usually use percentages on tables so they can resize but the page isnt set up that way and I can't change it. Any suggestions would be much appreciated...
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-11-05 : 17:13:58
Become arrogant and opinionated like me and give them grief when "they" try to do something dumb


Damian
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-11-05 : 18:51:56
quote:
Become arrogant and opinionated like me and give them grief when "they" try to do something dumb
I agree. A bad decision is a bad decision whether the top dog at the company makes it or just some flunky, or anyone in between. If they choose not to listen to you, then you should "experience" great difficulty in finding a way to do the dumb thing they ask you to do. Sooner or later they'll stop asking.
Go to Top of Page

JustinBigelow
SQL Gigolo

1157 Posts

Posted - 2003-11-06 : 10:42:19
quote:
I agree. A bad decision is a bad decision whether the top dog at the company makes it or just some flunky, or anyone in between. If they choose not to listen to you, then you should "experience" great difficulty in finding a way to do the dumb thing they ask you to do. Sooner or later they'll stop asking.



Until you get pegged as being the "difficult one". If we work off the assumption that management making a sound decision is a crap shoot at best the majority of your time will be spent creatively stymieing the project. In an ideal world your correctness would eventually be realized and appreciated but in the real world you'll probably just get sh!t-canned.

Ok, for anybody other than me that needs to take a break from being a soulless corporate drone. [url]http://www.msu.edu/~couilla3/ninja/ninja2.htm[/url] Webninja, are you part of this group?

Justin

"I want to thank you. You could've given us help, but you've given us so much more."
Go to Top of Page

webninja
Starting Member

6 Posts

Posted - 2003-11-07 : 14:59:31
No not yet...where do I sign up?
Go to Top of Page
   

- Advertisement -