OK – Had a quick JavaScript refresher course. The language itself was not an issue. It may have been about 15 years since my last major sojourn into JavaScript, but its a c-like language so no issues.

Did need to refresh on the DOM and other Global objects (window), plus how to integrate with media and events. I do now have a working structure for setting specific values depending on device type, orientation, browser and window size. It’s a bit clunky at the moment (too many IF statements), plus I want to better integrate CSS and JavaScript.

One interesting thing is that this is all being instigated and executed Client-Side. Not an issue with the amount of data we are downloading, but when I was last doing this kind of coding, the emphasis was very much on “Do whatever you can Server side to minimise what you download.”

Leave a Reply