This isn’t exactly an elusive solution to find all over the internet, but here it is regardless. Put these in your <head>. This first script is for generic mobile devices, redirecting to a folder I’ve called mobile: <script type=”text/javascript”> <!– if (screen.width <= 699) { document.location = “mobile”; } //–> </script> And here is another which [...]
Gaaaa this drove me crazy for like 2 years because I could never work out what the actual problem was. And being so erratic, it was never worth tracking down. In short… if you ever have an issue where you hit PrintScreen or Image>Copy from a browser or somewhere, and then try and Paste into [...]
CSS best practices… here’s how to style a hyperlink properly, states accounted for, ordered correctly. Do this when you’re just starting out on your CSS file save annoying nigglies down the track. a:link {blah:blah;} a:visited {blah:blah;} :link:hover, :visited:hover {blah:blah;} :link:active, :visited:active {blah:blah;}
This was a real gnarly one. So I’m not going to describe the problem – I figure if you got here via Google, then you have a similar setup sequence as in the title of this post, and subsequently you’ll be hurting real bad and willing to look at any freakn’ code. CCK Multigroup for [...]
When publishing a web page URL in a Facebook status, FB magic will try to identify an image to thumb up with the post. The image / images it finds are often totally irrelevant, pulling from a widget or an ad or something else on your page. Sometimes, for whatever reason, it doesn’t actually offer [...]
For our first post I’ll start with one of my recent favorite quick-fixes. I had a very simple site that was displaying content by showing and hiding blocks using jQuery. The problem was, when there was lots of content being revealed, the browser’s vertical scroll bar was activated, and vice versa. This caused the page [...]