Setting a Drupal 6.x COOKIE value for CSS / jQuery menu resizing...
I'm working on a Drupal 6.x project and I'm trying to use jQuery to set a COOKIE value I can use throughout the user's visit to resize a menu based on his / her resolution (window.width and window.height).
I have the resizing functionality working--I've setup the sizing to work when the user resizes the monitor as well as when they refresh / load the page, but every time a new load or refresh happens, the resizing resets itself (it's using animation properties). So visually, it works but not like I'd like.
I need a cookie with the resolution values that I can tie this script into to maintain a constant sizing. Do any of you know how to do this?