Member since 05/20/2011

Name: AJ Self

Location: Chicago

Web developer at Threadless

3 snippets

1137 profile views

0 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

inreflection7's Recent SnippetsTagged replace

« Prev 1 Next »
Find and replace
0 214 posted 8 years ago by inreflection7
Search for a string, if matched replace with second provided paramater. Third parameter is the variable whose value is the string you'd like to search.
0 260 posted 9 years ago by inreflection7
image rollovers in jquery are usually super easy. However it sucks when working with absolute image paths - like a separate media server or CDN. Heres a quick snippet using substring and lastIndexOf to swap out the image src.
0 254 posted 9 years ago by inreflection7
« Prev 1 Next »