- This topic has 1 reply, 2 voices, and was last updated 12 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – How to minify and combine jQuery tools
Tagged: jquery tools, reduce page size
1. My theme enqueues jQuery tools, and I end up with jquery.tools.min.js twice in my header. I assume I can prevent this by changing “toolsmin” in the following line to whatever term you use for jQuery tools in eMember:
wp_enqueue_script( ‘toolsmin’, ‘http://cdn.jquerytools.org/1.2.7/tiny/jquery.tools.min.js’, array( ‘jquery’ ) );
What is that term? Or is there a better way?
2. I’m trying to reduce the size of the tools js. At http://www.jquerytools.org/download/ you can download:
<!– UI Tools: Tabs, Tooltip, Scrollable and Overlay (4.45 Kb) –>
<script src=”http://cdn.jquerytools.org/1.2.7/tiny/jquery.tools.min.js”></script>
Would the tiny version be sufficient? If not, which of the plugins/effects (listed on the download page above) should I check?
1. emember loads jquery tools as “jquery.tools”. you can change “toolsmin” to “jquery.tools”.
you should use same cdn to load jquery tools for both theme and plugin. in that case, browser will cache the library at first load and use it from cache subsequently.
2. i guess u need to dateinput and expose tool too.
emember uses the following : overlay, apple effect, dateinput, expose