Forums

JJ NextGen JQuery Slider
JS & CSS Options (4 posts)

  1. idobi
    Member
    Posted 1 year ago #

    This is more of a suggestion:

    A) can you combine your .js files so you don't have to load three separate ones?
    B) can you include an option to not load .js and .css file if the user decides to minimize and include it in their theme?

  2. jedifunk
    Member
    Posted 1 year ago #

    i would agree on both accounts.

    also, if it could not load the js or css inline that would allow for w3c standards compliance. until then i can't use this plugin.

    it would be prefered to load the js from inside the <head> & the css from within my single css file instead of inline.

    this would not only be for ease of use, but for standards complaince.

    thanks.

  3. lelebart
    Member
    Posted 8 months ago #

    i need that too, and i tried to eneque script and style, but afaik it's not possible: http://lists.automattic.com/pipermail/wp-testers/2010-June/013271.html... maybe a footer js which loads css? mmh.. thinking...

  4. lelebart
    Member
    Posted 8 months ago #

    ok: this is what i've done. you need a new directory inside the plugin one, called /output/ , then change the jj_ngg_jquery_slider.php with this content: http://pastebin.com/cDBvQdxE
    hth, it's not the best solution, i know, it's just a fast hack for put the css style between <head> tag

    btw, i hope we can deal js to footer with wp v3.3 http://core.trac.wordpress.org/ticket/9346

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic