/    Sign up×
Community /Pin to ProfileBookmark

JS Slider Showing Small Image & Fixes After Refresh – IN DRUPAL

Hello, I have a slider (with currently just one slide) that is having issues where when you first hit the page it shows you the image very tiny, then after refresh it shows it large. We’ve had this issue accross multiple computers and browsers, and have cleared cache on browser and in drupal.

The code is at [URL=”http://pastebin.com/JKUmBp0q”]http://pastebin.com/JKUmBp0q[/URL].

Thats the JS Code for it. It appears the slider element has a dynamically generated width=”” attribute that changes to the correct value after refresh. Any help is appreciated in solving this annoying issue!

Thank you very much!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@rootJul 22.2014 — You are asking a JQuery question in a JavaScript forum, try asking in the JavaScript frameworks and post your code in forum tags [B][[/B]CODE[B]][/B]...[B][[/B]/CODE[B]][/B] and not a link.
×

Success!

Help @Jesse_K spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...