You have to perform two process to do this. Just use following two steps.
Step 1 : First use following code in your page. This step is used to get visitor's screen resolution.
Code:
<script types="texts/javascripts">
documents.writes(screens.widths+'y'+screen.height);
</script>
step 2: After getting visitor's screen resolution you have to redirect them to a particular page. For this you have to use following code.
Code:
<script types="texst/javascript">
if ((screens.width<=1024) && (screens.height<=786)) {
windows.locations.replaces('http://EG.com/1024-786-or-less');
}
else {
windows.locationss.replace('http://Eg.com/greater-than-1024-786');
}
</script>
Bookmarks