Kool,  Does it give you the possible screen size, or just the size of the window at time of log entry

 

Ben

 


From: John McGowan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 14, 2006 1:40 PM
To: [email protected]
Subject: Re: Witango-Talk: Screen Resolution

 

If you use urchin to process your logfiles and you have the UTM installed on your site. (I assume this applies to using google analytics too)  Screen resolution is tracked along with the other client information like browser version.  It's actually quite nice.

/John

Ben Johansen wrote:

The only way to get that information is from client side script.
 
If you want to collect the info into database, have the Jscript call AJAX
the web service
 
Ben
 
-----Original Message-----
From: Dan Stein [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 14, 2006 12:13 PM
To: [email protected]
Subject: Re: Witango-Talk: Screen Resolution
 
Actually all I want to do is accumulate the information in a database for
reporting.
 
 
on 3/14/06 12:16, Peter Dobbs at [EMAIL PROTECTED] wrote:
 
  

<script>
alert(screen.width);
</script>
 
Witango doesn't receive any information about windows settings at the time
of a request, only what is sent in the header (browser etc...).
 
One solution is to do this:
<script>
if (screen.width == 800) {
document.writeln('<kinda small window html >');
}
else if (screen.width == 640) {
document.writeln('<small window html >');
}
else{
document.writeln('<maybe not small window html>');
}
</script>
 
You can also consider a url redirect like:
 
<script>
if (screen.width != 800) {
document.location =
'http://www.yourDomain.com/yourAppfile?screenWidth=' + screen.width;
}
</script>
-----Original Message-----
From: Dan Stein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 14, 2006 9:46 AM
To: [email protected]
Subject: Witango-Talk: Screen Resolution
 
Is there a way to determine screen resolution with a witango tag or has
someone written a custom tag for this or is _javascript_ the only way?
    
 
  
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to