Friday 19 January 2007 12:27:56 pm
Thanks alot guys. I see now i need to get me some better basic javascript knowledge. Been stealing code to long:) The flash mentioned here is something thats being placed on the frontpage of our website. The reason i want remove it is cause it breaks the design in lower resolutions. Damn marketing people! Making a redirection url or refresh of page with a variable would work, but its not something that looks good. I prefer the user with lower resolution to not see the flash at all since it dont have any other function than being fancy. Hiding it with css would work, but then the user downloads 200k of something he cant see, and the flash would be visible when removing styles on the page. The ajax solution sounds like something that would work, but i dont have enough knowledge about ajax todo it.
I came up with another solution after some googling: http://www.zimmertech.com/tutorials/javascript/21/page-resolution-detector-tutorial.php Could i use a cookie instead maybe?.. I have tought a litle about making the site resolution dependent, not only the layout and design, but maybe move some ez items around. Will dig into what i have for now, but more suggestions (and example code) are welcome:)
--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------
|