Portfolio

  • USW Local 2006
  • Wilmot Union High School
  • REtro Theme
  • High School Reunion
  • JoshBetz.net

Blog

Anything Slider: Go on “Go”

Posted in: Web | Tags: , ,

Last week when I was in the CSS-Tricks forums, somebody wanted to modify the functionality of Chris Coyier’s anythingSlider. Not a huge change, he just wanted to make the slider advance to the next panel when you click “Go”. Made sense to me. By the time you click “Go”, you’re done looking at that panel and are ready for the next one. If it doesn’t advance until after whatever delay you’ve setup, it could be confusing.

Basically what we want to do is make the slider advance to the next panel when we click go, which is the same as advancing to the next panel after we click the start/stop button if the slider ends up playing. It sounds complicated, but it will make more sense when we look at the code.

base.$startStop.click(function(e){
	base.startStop(!base.playing);
	if(base.playing) base.goForward(true);
	e.preventDefault();
});

Continue Reading »

Feb
09
2010
No Comments »

Recent

Both YouTube and Vimeo recently gave an option to watch videos in HTML5. I switched right away knowing that every time I try to play an HD video on YouTube, my Macbook fan spins up because of the heat caused from flash processing. On the Dell Mini I just bought, I couldn’t even watch HD [...]

There are too many website owners displaying their email address in the “name [at] tld [dot] com” format, or something like that. Whatever happened to the good old mailto link with the email address being displayed how it’s supposed to? I’ll tell you what happened — spam happened.
Many site owners are afraid of displaying their [...]

Awhile back I wrote that I was having issues with Blogroll Links Favicons plugin for WordPress. I came up with some code that better displayed the favicons and fixed my issue. I wrote the author and he agreed that this code made more sense. I hadn’t thought about it, but recently I checked to see [...]

Are you having problems getting email sent from you WordPress blog?
One of the features that I really like is being able to get emails when new comments are posted. I also use the Contact Form 7 plugin which needs to send mail.
The Problem
I recently switched web hosts to Webfaction. They’ve been great — what I [...]

Social

Kind of surprised facebook turned on texts.

joshbetz: listening to "Broken Down - Kevin Hammond" ♫ http://beta.blip.fm/~ko9rf

joshbetz: New blog post: Anything Slider: Go on "Go" http://bit.ly/bHJAIb

joshbetz: listening to "Jason Aldean Laugh Until We Cried" ♫ http://blip.fm/~ko95c

http://www.last.fm/music/Jason+Aldean

joshbetz: @patfrank I haven't looked into it too much, but I need to find a version of chromium that is compiled, because i'm not going to compile it

http://www.last.fm/music/Vertical+Horizon

joshbetz: RT @joenobody: The most unintentionally funny picture from the Super Bowl. http://ow.ly/i/sXJ #SB44 #NFL #Colts #Saints #Miami

Photos

DSC00667
DSC00668
DSC00666

DSC00664
DSC00665
DSC00663

DSC00662
DSC00661
DSC00660

DSC00659
DSC00656
DSC00658

DSC00657
DSC00654
DSC00655