Tell Me Your Favorite jQuery Plugins

This forum is for all Flare issues not related to any of the other categories.
Post Reply
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Tell Me Your Favorite jQuery Plugins

Post by doc_guy »

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!
Paul Pehrson
My Blog

Image
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Tell Me Your Favorite jQuery Plugins

Post by doc_guy »

{Bumping this post in hopes that somebody will be able to provide some cool jQuery awesomeness}
Paul Pehrson
My Blog

Image
Psider
Propellus Maximus
Posts: 811
Joined: Wed Jul 06, 2011 1:32 am

Re: Tell Me Your Favorite jQuery Plugins

Post by Psider »

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. :) )
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Tell Me Your Favorite jQuery Plugins

Post by ChoccieMuffin »

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 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
jmcgill
Propeller Head
Posts: 20
Joined: Thu May 14, 2015 3:35 pm

Re: Tell Me Your Favorite jQuery Plugins

Post by jmcgill »

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.
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Tell Me Your Favorite jQuery Plugins

Post by NorthEast »

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/
jjw
Sr. Propeller Head
Posts: 133
Joined: Thu May 08, 2014 4:18 pm
Location: Melbourne

Re: Tell Me Your Favorite jQuery Plugins

Post by jjw »

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
Jess77
Sr. Propeller Head
Posts: 154
Joined: Thu May 01, 2014 3:19 pm
Location: Florida
Contact:

Re: Tell Me Your Favorite jQuery Plugins

Post by Jess77 »

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.
Jessica N.
Certified MadCap Advanced Developer for Flare
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Tell Me Your Favorite jQuery Plugins

Post by doc_guy »

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.
Paul Pehrson
My Blog

Image
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Tell Me Your Favorite jQuery Plugins

Post by NorthEast »

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.
qtxasjo
Propeller Head
Posts: 37
Joined: Tue Oct 16, 2007 5:06 am
Location: Europe

Re: Tell Me Your Favorite jQuery Plugins

Post by qtxasjo »

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? :-)
Post Reply