Tell Me Your Favorite jQuery Plugins

This forum is for all Flare issues not related to any of the other categories.

Tell Me Your Favorite jQuery Plugins

Postby doc_guy on Fri Apr 20, 2018 10:01 am

Hey everybody,

I'm getting ready for a MadWorld 2018 presentation where I'll be talking a bit about jQuery. I'm wondering what your favorite jQuery plugins are for your Flare projects? What problems do you use jQuery to solve?

If you point out a jQuery solution, and I include it in my MadWorld presentation, I'll be sure to give you a shout out.

Happy coding!
User avatar
doc_guy
Propellus Maximus
 
Posts: 1843
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West

Re: Tell Me Your Favorite jQuery Plugins

Postby doc_guy on Mon Apr 30, 2018 2:19 pm

{Bumping this post in hopes that somebody will be able to provide some cool jQuery awesomeness}
User avatar
doc_guy
Propellus Maximus
 
Posts: 1843
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West

Re: Tell Me Your Favorite jQuery Plugins

Postby Psider on Mon Apr 30, 2018 6:28 pm

I used datatables once to allow sorting on a few columns for a large table of data. It's pretty powerful with fairly comprehensive styling options. And there's heaps of documentation and a lot of examples.
https://datatables.net/

(oo, the website has had a facelift since last I looked at it. :) )
Psider
Sr. Propeller Head
 
Posts: 431
Joined: Wed Jul 06, 2011 1:32 am

Re: Tell Me Your Favorite jQuery Plugins

Postby ChoccieMuffin on Thu May 03, 2018 3:18 am

I wouldn't have a clue what to do with a jQuery, unless it came with cream and cherries in which case I'd eat it! Looking forward to your talk (are you doing it in MadWorld Europe too?) so I can learn a little bit about what it can do.
Started as a newbie with Flare 6.1, now using Flare 2018 r3.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Propellus Maximus
 
Posts: 1736
Joined: Wed Apr 14, 2010 8:01 am

Re: Tell Me Your Favorite jQuery Plugins

Postby jmcgill on Tue May 08, 2018 6:08 am

I use this borrowed jquery script for a close button with my drop-downs. I add the link to the js file in the HomePage and OtherTopic master pages

Code: Select all
$(document).ready(function(){
 
        /* Add close button to dropdowns */
        $(".dropDownBody").append("<a href='javascript:void(0);' class='dropDownClose'>(Close)</a>");
        $(".dropDownClose").click(function() {
            $(this).parent().prev(".dropDownHead").children(".dropDownHotspot").click();
        });
 
        /* Add close button to togglers */
        $("[data-mc-target-name]").each(function() {
                /* for each toggler target, find the target name (togglerTarget) */
                var togglerTarget = $(this).attr("data-mc-target-name");
                /* for each toggler target, add a close link (a.togglerClose) */
                var closeTarget = $("<a href='javascript:void(0);' class='togglerClose'>(Close)</a>");
                $(this).append(closeTarget);
 
                /* Create a selector for the toggler link (closeToggler), which is linked to this target. Look for open togglers, which include the togglerTarget name */
                var closeToggler = 'a.toggler[data-mc-state="open"][data-mc-targets*="' + togglerTarget + '"]';
                /* When the closeTarget link is clicked, click the toggler link (closeToggler) */
                $(closeTarget).click(function(){
                    $(closeToggler).click();
                });
        });
 
});
Last edited by jmcgill on Thu May 10, 2018 6:15 am, edited 1 time in total.
jmcgill
Propeller Head
 
Posts: 17
Joined: Thu May 14, 2015 3:35 pm

Re: Tell Me Your Favorite jQuery Plugins

Postby Dave Lee on Tue May 08, 2018 6:23 am

jmcgill wrote:I also use this borrowed jquery script for a close button with my drop-downs.


That's one of mine... full info is here:
https://ukauthor.wordpress.com/2016/09/27/add-a-close-link-to-togglers-and-dropdowns-html5/
Dave Lee
Master Propellus Maximus
 
Posts: 5265
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: Tell Me Your Favorite jQuery Plugins

Postby jjw on Tue May 08, 2018 8:00 pm

I use the Maphilight jQuery plugin (http://davidlynch.org/projects/maphilight/docs/) for styling image maps. I don't know if I'd call it awesome, but it does the job.

J
jjw
Sr. Propeller Head
 
Posts: 105
Joined: Thu May 08, 2014 4:18 pm
Location: Melbourne

Re: Tell Me Your Favorite jQuery Plugins

Postby Jess77 on Fri May 11, 2018 6:49 am

I would love any jQuery that would actually work. I had jQuery working in Flare 2017 r2 when I put jQuery in a folder in the project and pointed to it: "../Plugins/jquery-latest.js"

That stopped working in Flare 2017 r3. I've been informed that Flare has its own built-in jQuery, so I shouldn't point to my own folder in the project. I stopped doing that and now jQuery doesn't work at all. Where should I point the master page to enable jQuery?

I cannot find any information on how to set up jQuery the new way. Flare Support tells me they don't support jQuery and therefore cannot advise me.

For now, I commented out all the jQuery calls on the master page because they are not working anyway.
Jessabean
Technical Writing Consultant
Jess77
Sr. Propeller Head
 
Posts: 128
Joined: Thu May 01, 2014 3:19 pm
Location: Florida

Re: Tell Me Your Favorite jQuery Plugins

Postby doc_guy on Fri May 11, 2018 2:11 pm

Here is a presentation I gave at MadWorld two years ago: https://www.slideshare.net/docguy/web-s ... dcap-flare

Look at slides 5-7 for info on where to put your jquery plugin links.
User avatar
doc_guy
Propellus Maximus
 
Posts: 1843
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West

Re: Tell Me Your Favorite jQuery Plugins

Postby Dave Lee on Mon May 14, 2018 12:06 am

Jess77 wrote:I would love any jQuery that would actually work. I had jQuery working in Flare 2017 r2 when I put jQuery in a folder in the project and pointed to it: "../Plugins/jquery-latest.js"

That stopped working in Flare 2017 r3. I've been informed that Flare has its own built-in jQuery, so I shouldn't point to my own folder in the project. I stopped doing that and now jQuery doesn't work at all. Where should I point the master page to enable jQuery?

I cannot find any information on how to set up jQuery the new way. Flare Support tells me they don't support jQuery and therefore cannot advise me.

For now, I commented out all the jQuery calls on the master page because they are not working anyway.


Flare does have its own built-in version of jQuery (if you're building a HTML5 target). It's jQuery v1.12.4 in Flare 2013r3.

So don't add your own version of jQuery, because that will screw things up.

I'd expect that it's your code that doesn't work, rather than jQuery. For example, make sure you run your code after jQuery has loaded.
Dave Lee
Master Propellus Maximus
 
Posts: 5265
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: Tell Me Your Favorite jQuery Plugins

Postby qtxasjo on Thu May 17, 2018 6:54 am

I'm using Image map pro (https://codecanyon.net/item/image-map-p ... er/2792438) and Fancybox (http://fancybox.net/).

But I guess they are both pretty standard and not so much cool and awesome? :-)
qtxasjo
Propeller Head
 
Posts: 33
Joined: Tue Oct 16, 2007 5:06 am
Location: Europe


Return to Flare's General Discussion

Who is online

Users browsing this forum: Google [Bot] and 5 guests