WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : This is a question that's asked regularly in the web community... "How can I get the screen resolution of a user's browser?" - Simple. Examine this code. All of the work's done with the screen.width and screen.height.
Categories : Java Script Update Picture
James Holloway
Date : Jul 08th 2001
Grade : Be the 1st to grade this Code Example
Viewed : 1764
File : No file for this code example.
Images : No Images for this code example.
Search : More code by James Holloway
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

<html>
<head>
<title>Screen detection</title>
<SCRIPT LANGUAGE="JavaScript">
<!--

function GetSW() {
var sw = screen.width;

return sw;
}

function GetSH() {
var sh = screen.height;

return sh;
}

//-->
</SCRIPT>
</head>
<body>

Your browser resolution is

<SCRIPT LANGUAGE="JavaScript">
<!--

document.write(GetSW() + ' by ' + GetSH());

//-->
</SCRIPT>

pixels, so it's therefore recommended you view the site using this
resolution (or whatever's closes to it).

</body>
</html>



Upload any fixed type of files, control file type through javascript and encrypt filename using php so file not get overwrite
Categories : PHP, Java Script, Functions, PHP References, Form Processing
How to get the Focus (Cursor) into a Form-Element.
Categories : HTML, Java Script
Ajax - Perform a simple server side request and update the current HTML page.
Categories : AJAX, Java Script, Beginner Guides
Hover 98 - a simple PHP-script to generate OnMouseOver-JavaScript-Code the easy way.
Categories : Complete Programs, Java Script
PHP and javascript mouseover, mouseout, and mousedown events
Categories : PHP, Java Script, Form Processing, Beginner Guides
JavaScript IP validation; IP validation script;
Categories : Java Script, Algorithms
write an event to the eventlog via JScript
Categories : Java Script, Windows 2000
Adding a Filter to a Text Element
Categories : Java Script, Data Validation, Form Processing
Bookmarklets are simple tools that extend the surf and search capabilities of Netscape and Explorer web browsers.
Categories : Java Script, HTML, General
filesystem Show Files Script
Categories : PHP, Filesystem, Java Script
Changing the Style of form objects using the JavaScript OnClick method.
Categories : Java Script, Form Processing, Beginner Guides, CSS
Dynamic Loading of XML array data into ComboBox and Display XML data using PHP + DOM + Javascript.
Categories : PHP, Java Script, DOM XML, XML, Arrays
A Complete table(ADD,EDIT,VIEW,DELETE) management System PHP,MYSQL, JAVASCRIPT
Categories : PHP, MySQL, Java Script, Databases
PHP Calendar
Categories : PHP, Calendar, Date Time, Java Script, CSS
Classic guest book made with PHP and Flash
Categories : PHP, Flash, Java Script