-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The resolution depends on your browser's size. You can be with a
resolution of 1280x1024 but your browser with a size of 800x600.
bharani kumar a écrit :
Sorry if i understood wrongly,
Actually question is different theme based on resolution , not an size
Thanks
On Sat, Nov 8, 2008 at 1:37 PM, sivaji j.g <sivaji2009@gmail.com
<mailto:sivaji2009@gmail.com>> wrote:
to display a different theme based on a users
screen resolution?
I think you can do this with java script
<script type="text/javascript">
function alertId()
{
alert(screen.width);
alert(screen.height);
}
</script>
Now you know the resolution of user, just call the required
theme. Module is not required for this .
--
Thanks a lot
-----------------------------------------
http://ubuntuslave.blogspot.com/
--
[ Drupal support list | http://lists.drupal.org/ ]
--
உங்கள் நண்பன்
பரணி குமார்
Regards
B.S.Bharanikumar
POST YOUR OPINION
http://bharanikumariyer.hyperphp.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkVkBMACgkQ3nayFuuvNJOyTACggBt8lZGqx/FPPbiHkpd8kRZW
UN4AoJJeXPJ+vpszBL58BRr5DFnFdVkZ
=xate
-----END PGP SIGNATURE-----