dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: JS Slider Showing Small Image & Fixes After Refresh - IN DRUPAL

  1. #1
    Join Date
    Jul 2014
    Posts
    5

    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 http://pastebin.com/JKUmBp0q.


    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!

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,731
    You are asking a JQuery question in a JavaScript forum, try asking in the JavaScript frameworks and post your code in forum tags [CODE]...[/CODE] and not a link.
    STOP using $ prefix on JavaScript variable names...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles