After a long debacle with a print stylesheet issue.. the following lessons have been learnt: If a stylesheet is linked to like this: as there is no media attribute set…
Handy one.. to check whether or not an element is a particular type of element (for e.g.a strong element). This code checks if the first child element of subnavigation is…
We obviously try to avoid hacking away at CSS but sometimes you have to target certain IEs and this page is very useful in how to do it: Netuts link…
Use timeout: 0, as a parameter to stop the plugin from auto rotating.. for example…
Use this to check if an element exists – I generally wrap it around a function that only needs to run on certain condition – i.e. if theres a form…
Ok so the design is to have 3 fields, 1 each for day, month, year and a datepicker button which populates these fields. ‘Im using jQuery UI here and then…
Read More Datepicker with seperate fields for day/month/year
CTRL+ALT+END: Open the Microsoft Windows NT Security dialog box (CTRL+ALT+DEL) ALT+PAGE UP: Switch between programs from left to right (CTRL+PAGE UP) ALT+PAGE DOWN: Switch between programs from right to left…
Found this awesome script online at: http://www.mediafire.com/?zz7j7t3fl824p31 which allows you to export guides from an existing photoshop file, open up a new file and import the guides in there –…
Go to your keyboard shortcuts (Edit >Keyboard Shortcuts) click in Layer and find the Arrange> subsection under which you will find Reverse – add whatever keyboard shortcut you want in…
This is a handy bit of code for displaying different content based on what category your post is in. Useful on the single.php page I found – can display different…