Simple fix for mutliple 'getelementbyID' elements in jquery mobile site
- or -
Post a project like this4085
£6(approx. $8)
- Posted:
- Proposals: 5
- Remote
- #213018
- Awarded
Description
Experience Level: Entry
A simple issue that needs fixing. I have a jquery mobile/phonegap project that uses a swipe slider (see swipejs.com). I want to use this slider on multiple pages, however the jquery/javascript code it's built on uses the 'getelemenybyID' selector - allowing only the first instance of the slider to run/work.
I have tried adjust the coding to use 'getelementsbyclassname' and other selectors, but these appear to conflict with the jquery mobile framework.
I'm sure there is a simple fix, but as I am not a javascript developer (I am a html/css guy) I cannot find a workaround for this issue. The slider also only shows content when the screen is touched, not on page load - again a simple fix I think.
Will email code to any proposers. Thanks
I have tried adjust the coding to use 'getelementsbyclassname' and other selectors, but these appear to conflict with the jquery mobile framework.
I'm sure there is a simple fix, but as I am not a javascript developer (I am a html/css guy) I cannot find a workaround for this issue. The slider also only shows content when the screen is touched, not on page load - again a simple fix I think.
Will email code to any proposers. Thanks
Stephen K.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
7 Feb 2013
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies