Input action on enter |
Javascript | Adam J Nowak | 02/17/12 |
Javascript
| Code Snippet Name |
Category |
Submitted By |
Date |
- Input action on enter
- Scroll to bottom
- Document Onload
- Js Cookie
- Remember scroll position
- Y scroll positon
- Back btn for iframe
- Font replacement bugfix
- Jquery UI Calendar with From and To
- Detect Keystrokes
- Javascript print_r
- Cross browser javascript events
- Detect mouse coordinates
- Fader for elements
- Detect mouse out of browser
- If class exists styling
Scroll to bottom |
Javascript | Adam J Nowak | 09/13/11 |
Document Onload |
Javascript | Adam J Nowak | 06/23/11 |
Here is an alternative to using the buggy onload event in javascript. View Code
Js Cookie |
Javascript | Adam J Nowak | 06/13/11 |
Here is a quick snippet to get you started creating cookies with javascript. View Code
Y scroll positon |
Javascript | Adam J Nowak | 06/08/11 |
Back btn for iframe |
Javascript | Adam J Nowak | 05/23/11 |
Jquery UI Calendar with From and To |
Javascript | Matthew Price | 05/13/11 |
This snippet in conjunction with Jquery and Jquery UI will allow you to have a calendar datepicker that will not let you select a "end date" that is before the "start date" View Code
Detect Keystrokes |
Javascript | Adam J Nowak | 05/08/11 |
This is a testing script for keystrokes, this one is set to detect the ctrl + space keystroke. View Code
Javascript print_r |
Javascript | Adam J Nowak | 03/17/11 |
This is a fake print_r routine for javascript arrays and objects. View Code
Cross browser javascript events |
Javascript | Adam J Nowak | 03/17/11 |
These are a couple custom event systems that both work well, I found this one after posting the below code and you should check it out first: http://www.josh-davis.org/node/4
As an actionscriptor, if that's how you spell it I am very comfortable with Josh Davis' system. If you want a cross ... View Code
As an actionscriptor, if that's how you spell it I am very comfortable with Josh Davis' system. If you want a cross ... View Code
Detect mouse coordinates |
Javascript | Adam J Nowak | 03/12/11 |
This is a cross browser solution to detecting the mouse x and y coordinates in the browser. This javascript simply stores the x and y value, you can access them globally using the variable names mouseX and mouseY View Code
Fader for elements |
Javascript | Adam J Nowak | 03/12/11 |
This javascript routine allows you to fade elements in and out by id. Just add a trigger with an onclick method to call the fader.
<span onclick="ezbFade('elementid',1000);"></span>
The first argument is the id of the target element and the second is the fade time in milliseconds.
View Code
<span onclick="ezbFade('elementid',1000);"></span>
The first argument is the id of the target element and the second is the fade time in milliseconds.
View Code
If class exists styling |
Javascript | Adam J Nowak | 03/08/11 |
This is another big commerce snippet that allows you to control the display and styling of elements based on the existence of an element with a certain classname.
I built this as a switch to style the content area differently if there is a breadcrumb div on the page. You can substitute any ... View Code
I built this as a switch to style the content area differently if there is a breadcrumb div on the page. You can substitute any ... View Code
- Input action on enter
- Scroll to bottom
- Document Onload
- Js Cookie
- Remember scroll position
- Y scroll positon
- Back btn for iframe
- Font replacement bugfix
- Jquery UI Calendar with From and To
- Detect Keystrokes
- Javascript print_r
- Cross browser javascript events
- Detect mouse coordinates
- Fader for elements
- Detect mouse out of browser
- If class exists styling
Code Search
Searches include code snippets and descriptions. Refine using the dropdown. Search for code by function name. Ex: the_excerpt or str_replace. Results ordered by number of individual word matches.
Collective Tags
Tags
arrays
category
classes
comments
CSS
custom fields
database
date
design patterns
effects
files
fixes
forms
functions
google
gravity forms
hooks
id
login
meta
mysql
navigation
oop
page
plugins
post
posts
query
redirect
regex
rollover
search
shortcode
sidebar
sql
strings
tags
taxonomy
template
time
tricks
user
widgets
worksheet
wpmu
