Wednesday, June 24, 2009

Finding Screen resolution using php and jquery

It will be very usefull when you are working on a project for Multi resolution monitors and the web pages should have same look in all resolutions.

Some others ways also available for this work. But this is best practice and you are going to learn it now.

I know you want to know in a single word how to do it all.

Just you are going to find client monitor resolution from your server and from that you are going to use various style sheets. Got it?

ok fine. Just follow it. In the end you will get source package also.

There are are four files available in the package.

One is index for client system output page - index.php
finder file is for client system resolution finder and store it as session - finder.php

jquery - for ajax (bcz you are going to send request to the server)
trace.js - for to trace monitor resolution and send it to server

and another two style sheets which are going to change the client system page view.

got it.?Yes you might...

Ok now The Source is here

0 comments:

Post a Comment

 

About

Hi This is Elamurugan , PHP/AS Web developer from chennai.

Site Info

PHP,MYSQL,AJAX,Action scripting, css,and more tutorials