User Code List
New Snippet
CSS
---Box Shadow
---CSS restet and main elements
---First and Last Child
---Rounded corners
---Suckerfish menu
---Titan contact form
---Display URL when printing page
---Titan IE6 alert
---Transparency
------Transparency
------New Snippet
---Accessible Form (thatwebguyblog.com)
---Table (suitable for restaurant menu)
Content
---Privacy policy
---Lorem Ipsum
Flash
---Embed
HTML
---Contact module 2.2
---Email template (basic)
---IE6 alert
---Package 1 navigation
---Template container
---Accessible Form (thatwebguyblog.com)
JavaScript
---IE7 Suckerfish menu fix
Smarty
---Date
---if else
---Loop through and display image category
---News Widget (with strip tags)
---Loop through cetegory and echo
---Echo contact details
---Include news widget
---Show specific content ID on page
---Featured products (Shop 1)
---Show specific titleID and contentID on page
---Loop through display featured products, linked to product category
---Include contact details
---Featured Products (Shop 4.5)
---Featured products on a new page (not on homepage)
---Show news widget on certain pages
---Show something in particular page ID
---Insert Image (new!)
---Show all products on a page
PHP
---If nothing else
New Snippet
jQuery
---Image Cross Fade
 
 
IE7 Suckerfish menu fix
 

navHover = function() {

var lis = document.getElementById("main_menu").getElementsByTagName("LI");

for (var i=0; i<lis.length; i++) {

lis[i].onmouseover=function() {

this.className+=" iehover";

}

lis[i].onmouseout=function() {

this.className=this.className.replace(new RegExp(" iehover\b"), "");

}

}

}

if (window.attachEvent) window.attachEvent("onload", navHover);

 
Sub-Article List