Contact Adam Culpepper

x Cancel
posted 8 months ago

jQuery, Label to input placeholder ($this problem)

I'm having trouble getting this code to work and would really appreciate some help.

I'm trying to get it to pull the label's .text() value and throw it into the placeholder for the corresponding input.

The HTML can't be changed in this challenge. :)

jsfiddle: jsfiddle.net/adamculpepper/…

posted 10 months ago

jQuery UI Tabs - External tab links?

I'm trying to get external links to work outside of the #tabs container. There must be a way to do this... The documentation (see link below) doesn't reference being able to do this, but after doing to Google'ing, I'm not the only person who's tried to do this.

JSFiddle: jsfiddle.net/adamculpepper/…
jQuery UI Tabs: jqueryui.com/demos/…

posted 11 months ago

jQuery array problem

I'm trying to check an input value against an array in an IF statement. Line #9 in the JS is what I'm having a problem implementing. Line 8 works fine, but 9 does not...

JSfiddle: jsfiddle.net/adamculpepper/…

posted 12 months ago

jQuery .slidedown() alternative?

What's an alternative to jQuery's .slidedown() where I don't have to display:none the element?

I'm looking for something that I can set a starting height on and after trigging .slidedown(), set it to height:auto.

Thanks in advance!

posted 1 year ago

jQuery, Pie Timer

4 months ago I posted about needing a Pie Timer and didn't get much response. This time I come with a semi-finished solution using this script: anthonyterrien.com/…

I need this to auto-increment 1 every second, and once it reaches the end (or in this case 20, start over at zero).

Drag the blue area to see it in action. - jsfiddle.net/adamculpepper/…

Thanks in advance!

posted 1 year ago

jQuery: $(this) problem

I'm nearly done modifying this script but I need some help with the last piece.

I need it to only show the video of the thumbnail you click on using $(this)

jsfiddle: jsfiddle.net/adamculpepper/…

posted 1 year ago

Dynamic YouTube Channel Player?

I hacked this script nearly into submission but I need some help with the last two things:

  • Have the video-embed div pop up when the thumbnail is clicked - I'm thinking $(this)?
  • Pull a user's channel, instead of a search string - script updated

jsfiddle: jsfiddle.net/adamculpepper/…

posted 1 year ago

Translation (language) solutions

I'm in need of a translation solution for a project I'm working on. What have you guys used or heard of?

My client doesn't want to use anything that brands the translator. Meaning Google Translator (the toolbar) is out. The Google API v2 is out as you have to pay per "2m" characters. Babblefish and Yahoo brands with a logo as well.

I'm looking for something that translates on the fly is at all possible.

Thanks in advance!

posted 1 year ago

Animated SVG timer not synced with CSS3 animation

I'm having trouble syncing up these two animations. I can't seem to get the "pie timer" and the CSS3 animation's time to sync. The problem is how the keyframes are split 0-40 and 50-90. The reason I had to do it this way is because making it a 50/50 split, made the animation jump to the new color too slow.

jsfiddle.net/…

posted 1 year ago

CSS Preloader method?

What method do you use to preload images?

I noticed all my :hover buttons don't load until you hover over the button. Makes sense, but I'd like that image to already be loaded, so you don't see it blank out while it's loading for the split second.

Edit: I'm trying to load some images before they are called into action. Just general preloading, not for a hover.

My first though is throwing all the images into a div and hiding the div with display:none or visiblity:hidden. Then.. I started thinking, what about a single div with a class name of "preloader". In the CSS I could throw multiple backgrounds at it, so it'll load them all. I havn't tested this theory yet, but I think even browsers that don't support multiple backgrounds would at least load the background.

Thoughts? Suggestions? Magic tricks?