Month: October 2012

HTML5 – Add Elements to DOM to Style with CSS – Target IE8

If you’ve started creating your markup with HTML5, using elements such as nav, header, and others, IE8 will need a jump-start to recognize these, and apply your CSS specific rules to them. Read past the break to see some examples

Posted in CSS, HTML, HTML5, Javascript

Magento – Check for Secure / Unsecure URLs in code

Here’s a quick way to check if you are in a secure URL, such as would happen if you have “Use Secure URLs in Frontend” enabled. This code can be placed within phtml files to check the URL.

Posted in Magento, Magento Enterprise, Magento Professional, PHP

jQuery – Click Through Div / Element to Underlying Element

Although I would much rather tell you to rewrite your code to get this working properly, there are ways around it. If you’ve ever finished writing your markup and ended up with an overlaying div or other element and noticed

Posted in CSS, jQuery