• Resolved sabrino

    (@sabrino)


    Plugin doesn’t initialize when i reach the page from the menu button … otherwise once loading the page from direct link or after a reload page it works fine.

    Found this post in the support topics:
    https://ww.wp.xz.cn/support/topic/error-init-slider-while-loading-jquery-in-footer/

    i would like to try the solution but it isn’t clear…. and the topics is marked as resolved .. so i post a new one.

    i don’t understand this :
    * changed variable name from $output to $outputScript below <script> tag
    * and at the end below end of <script> tag made something like this:

    Which <script> tag is he talking about and below wich end of <script> tag does he put his code?
    or how can i make the script initialise right …?

    Thx for the help

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Have you tried ticking the “Use ‘window.onload’ event” checkbox within your slider settings (under “Other Settings”)?

    Thread Starter sabrino

    (@sabrino)

    Thx for your answer .
    I did check the checkbox yes but it was worst, the plugin weren’t showing…

    BUT

    I finaly found out why the Jquery weren’t loading , your plugin works fine (… the theme tiniest option causing problems …. it took me long to realise that)

    Sorry for this and thx again and bravo 🙂

    • This reply was modified 7 years, 8 months ago by sabrino.
    Plugin Author simonpedge

    (@simonpedge)

    So it was a JS/CSS minify feature that was causing the issue?
    (I’ve had some mixed results with JS/CSS Minify tools in the past when I’ve used them – they sometimes cause issues)

    Glad you got it resolved though 😉

    Thread Starter sabrino

    (@sabrino)

    it was not really an issue, i’m using a fading transition effect between pages …. so the scripts can’t load clicking a link on the web site or there would be no fading effect ….. this is why scripts only load on direct link access or on refresh pages… when not using fading effect …hehe really sorry about this … took me way too long to realise this . If I wouldn’t use this effect it would do fine, but the guy i’m working for wants his fading effect so …

    I finaly put an empty SA on each pages so scripts load when reaching the website (loading first page)… then when visitor get on the page that contains the SA it works fine… this is the only solution i found

    Maybe you got a more conventional way to load scripts on first page reach … ?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘error init slider while loading jquery in footer’ is closed to new replies.