Skip to main content

All Questions

0 votes
1 answer
36 views

JavasScript — Uncaught Error: Syntax error, unrecognised expression: [href=#contact] (WordPress)

I am trying to implement an interaction where a class is added to a specific menu item when a is in view. Unfortunately, I am getting the following error: Uncaught Error: Syntax error, unrecognised ...
Diego Oriani's user avatar
  • 1,907
0 votes
1 answer
238 views

One function interact with another javascript

I've 2 functions that works perfectly. I want to let them work together. One of them is a slider. see the code below. <script> $(function(){ $(".cloudslider-handle")....
Puya Sarmidani's user avatar
1 vote
1 answer
719 views

Interacting with the DOM after you've added to it with JS

I'm building an app that allows users to add ingredients to an array. At the same time the items are added to the UI for the user to see. In the append to the DOM, I add an attribute called "data-...
Jon Paul Berti's user avatar
1 vote
2 answers
2k views

How to create a pop-up (ease-in) fixed header

I am talking about the fixed header you get in your facebook profile page. Once you scroll to the end of the cover picture, you get a secondary header bar which then becomes fixed till you scroll ...
rk.'s user avatar
  • 349
0 votes
1 answer
168 views

How can I improve my animation's mobile performance?

So, I built this little interactive roulette: http://techgoldmine.com/roulette/ I need it to work on mobile as well as desktop. Originally I handled interaction by having the user interact with an ...
styke's user avatar
  • 2,174