Profile
Achievement
davebowker's Recent Snippets
- All /
If on do nothing. If on make off. If off make on. Alter external value and focus.
0
753
posted 14 years ago by davebowker
Shows the sub pages of a parent page, and also the parent page as a link.
1
880
posted 14 years ago by davebowker
Easily target elements which have certain attributes using jQuery
1
576
posted 15 years ago by davebowker
Modified the code very slightly to add in cursor states for when the timeline is grabbed. Also added in (but commented out) the code to make the sliding twice as fast using a multiplier.
0
732
posted 15 years ago by davebowker
Version differs slightly from the demo, as the src for the thumbnail image is a child of the demo example, so has been slightly modified.
0
874
posted 15 years ago by davebowker
Standard list markup, adds button to expand a super dropdown next to the link.
1
1007
posted 15 years ago by davebowker
Better way to echo a .current_page_item class on a list nav.
3
776
posted 15 years ago by davebowker
Figure 5. Selecting the first-child LI elements that descend from a UL element.
By combining the first-child pseudo-class with the adjacent-sibling selector, it's possible to pick children other than the first one. For example, you might want to a...
0
706
posted 15 years ago by davebowker
$quote -- name of function
post_type=page -- remove to query posts
orderby=rand -- random order
showposts=1 -- limit to 1 post
effect -- displays 1 random custom excerpt outside of the loop
1
850
posted 15 years ago by davebowker