Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

MTWK-IDG on "jquery .position().top undefined when in wordpress"

$
0
0

I've built a content slider that works perfectly on my local computer but within wordpress it's stumbling on the following:

var begin_position = jQuery("#individual_story_wrapper").position().top;

I'm getting the follow error:
: jQuery(...).position(...) is undefined

Yet locally, the slideshow runs fine and I can see the position being changed as I animate the individual_story_wrapper up and down.

The only difference that I can see is the link to the google hosted jquery. Otherwise, everything is the same.


Viewing all articles
Browse latest Browse all 8245

Trending Articles