1 Replies - 343 Views - Last Post: 05 October 2012 - 11:33 AM

#1 chrisp200  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 82
  • Joined: 18-November 08

Is there a simpler way to do this?

Posted 05 October 2012 - 11:13 AM

I need to mimic what is going on in this sample with just javascript. This will only be used for mobile so I don't want to have to load the jQuery library and slow the user down. Can anyone suggest a simpler way to go about this?


http://jsfiddle.net/Q2bzT/
Is This A Good Question/Topic? 0
  • +

Replies To: Is there a simpler way to do this?

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3480
  • View blog
  • Posts: 10,033
  • Joined: 08-June 10

Re: Is there a simpler way to do this?

Posted 05 October 2012 - 11:33 AM

depends on the level of backward compatibility you want.

functions you’ll need:
- querySelector[All]
- addEventListener
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1