4images Forum & Community

General / Allgemeines => Programming => Topic started by: Marcovich on June 11, 2009, 12:35:27 AM

Title: [MOD] Visitors monitor size (resulotion)
Post by: Marcovich on June 11, 2009, 12:35:27 AM
Hi all,
How can i do it?
Thanks.
Title: Re: [MOD] Visitors monitor size (resulotion)
Post by: mawenzi on June 11, 2009, 12:53:47 AM
... therefore use a j-script in template files ...
... e.g. this : http://www.scripts-online.net/?scriptid=92 ...
Title: Re: [MOD] Visitors monitor size (resulotion)
Post by: Marcovich on June 11, 2009, 01:01:57 AM
I see, can you please giveme exactly what i shgould put in the template? its noit working for me.
Title: Re: [MOD] Visitors monitor size (resulotion)
Post by: mawenzi on June 11, 2009, 01:54:47 AM
... put this in your template where you want to show the monitor resulution ...
Code: [Select]
<b>Your monitor resulution : 
<script>
document.write(screen.width + " x " + screen.height)
</script>
</b>

... that's all ... ;)
Title: Re: [MOD] Visitors monitor size (resulotion)
Post by: Marcovich on June 11, 2009, 09:32:48 AM
Thanks alot!
Solved.