Any jQuery users out there?

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:

Any jQuery users out there?

Post by doc_guy »

Anybody using JQuery in Flare output? I could use some pointers as I try to implement a plugin to jQuery, which is new to me.

-Paul
Paul Pehrson
My Blog

Image
chunkee
Sr. Propeller Head
Posts: 121
Joined: Wed Mar 09, 2011 1:52 pm

Re: Any jQuery users out there?

Post by chunkee »

I am glad to see someone else chime up about this. JQuery is a great tool and could really enhance what we do. The place to start is where the library location, either locally or pointing to say, googles library. There are a great deal of plugins already created. You just need to know a little how to implement them. I am not near strong enough on JS to do so. I think the shadowbox effects and creative tooltip call outs is enough to warrant using it as well as themes. I will keep an eye on this thread. Please do post your successes.

I think a great idea would be to create a Flare Github or something similar to place tested scripts with detailed instructions that would benefit the Flare community as well as help evangelize the product.

JC
KHHS
Propeller Head
Posts: 10
Joined: Mon Nov 26, 2007 10:33 am
Location: Germany

Re: Any jQuery users out there?

Post by KHHS »

I use jquery to make a long table in a chm-output sortable for the user (with a click on the column-header).
It works fine, but it's a while ago, since i implemented it. So i can't really give good advice, but here is the code of the said topic:

Code: Select all

… 
<head><title>SQL PW Gesamt</title>
        <link href="../Resources/Stylesheets/xbahilfe.css" rel="stylesheet" type="text/css" />
        <script src="../Resources/script/jquery-1.4.2.min.js">
        </script>
        <script src="../Resources/script/jquery.tablesorter.min.js">
        </script>
    </head>
    <body>
        <h1 class="allgemein">SQL-Datenbankspalten XBA/PW</h1>
        <script type="text/javascript">
			$(document).ready(function()
			{ 
			$("#sqlgesamt").tablesorter(); 
			} 
			);
		</script>
        <p>Die folgende Liste umfasst …. Klicken Sie auf einen Spaltentitel, um die Sortierung zu ändern. </p>
        <div class="nscrtable">
			<table id="sqlgesamt">
…
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Any jQuery users out there?

Post by doc_guy »

Thanks, both of you, for the replies. Table sorting is exactly what I was looking for, and that is the jquery plugin I found. HTML5 output already uses jquery, so all I have to figure out how to do is make sure the topic files themselves point to the right jquery location (I think jquery is used for the skin?), and then include my jquery plugins.

I'll let you know how it goes.
Paul Pehrson
My Blog

Image
TheGreatAndPowerfulOz
Sr. Propeller Head
Posts: 131
Joined: Mon Apr 24, 2006 12:52 pm
Location: Glen Mills, PA

Re: Any jQuery users out there?

Post by TheGreatAndPowerfulOz »

doc_guy wrote:HTML5 output already uses jquery, so all I have to figure out how to do is make sure the topic files themselves point to the right jquery location
Paul,

I know this is an old thread, but I wonder if you ever figured out a way to properly point to the "built-in" JQuery location in HTML5 output.

I've recently toyed around with JQuery in some non-Flare web development I've done and I love it! I can think of a lot of ways to leverage it for topic content presentation in Flare and I was going to dive in next week to see what I could muster. I figured I'd check the forums to see if there was a "cheat sheet" I could use in getting started. Can you offer any pointers?

BTW, I attended your presentation on the use of MacCap Capture with Flare today. Good job!

Austin
Austin Wright

Flare 2022 r3 (18.2.8431.26678) :: TopNav HTML5 / PDF output
Post Reply