[support] Different theme based on screen resolution?

bharani kumar bharanikumariyerphp at gmail.com
Sat Nov 8 08:28:42 UTC 2008


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 at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20081108/5b88df63/attachment.htm 


More information about the support mailing list