May 5, 2018
Set Variables With Interactive Sliders – Part 1 Introduction
Comments
(6)
May 5, 2018
Set Variables With Interactive Sliders – Part 1 Introduction
I am currently a provider of technical training and support in the electronic manufacturing industry. My prior training and work experience as a teacher, network administrator, web design, and instructional design make me well prepared to design it, develop it, and deliver it. I am a father of five, a US Army veteran, and I enjoy playing the guitar as well as performing in local community theater. 
Legend 99 posts
Followers: 154 people
(6)

One of the things I have enjoyed greatly about being a part of a community such as this is the opportunity to be challenged and inspired.

I also enjoy sharing the fruits of my own growth with the rest of you in the hopes that you will also find inspiration.

I have seen a great number of postings that do one or more of the following…

  1. Ask about something related to drag and drop
  2. Ask about draggable elements within fixed areas.
  3. Ask about sliders and dials like what Articulate has.
  4. Refer to the use of HTML5 Animations to get certain jobs done.

I found some hope in these things. So I set out on the research trail for the last couple weeks and have made what I think is a pretty neat achievement.

It started with making a slider with just a small chunk of CSS and HTML followed by getting it on the Captivate stage as an HTML5 Animation. OK, that was pretty cool but I found it to be rather lackluster since there really wasn’t anything useful to do with it at that point. ooooohhhh….. drag the handle back and forth…. The interaction needed some sort of purpose.

That meant finding a way to use the slider as a means of populating Captivate user variables so we can do some actions. Back to the research trail. After many hours of  trial and error and sifting through code, studying, and more trial and error, I finally have a working solution.

I will be sharing my first slider interaction with you in this post.

Over the next few posts, I will outline the work that it took to come up with this and I will warn you that it is not for the faint of heart, but I think if you start with what I give you over the next few postings and perhaps take a brave new step out of your comfort zone that you can come up with some amazing things.

This project is basically just a sales tax calculator. You utilize one slider to select the amount of money being spent from $1 to $100 and the other slider to select the sales tax rate from 1% to 10%. As you adjust the sliders, your total amount including the tax is calculated and populated in the box automatically. Now we have purpose and potential for sliders in Captivate. There are three variables…  varMoney,  varPercent,   and  varTotal. The sliders set two and a little math in the code populates the total. More on all that to come.

Here is the link and please stay tuned for the next part where I will continue by covering the HTML and CSS needed to create the slider itself.

https://s3.us-east-2.amazonaws.com/captivateshare/sliders1/index.html

I am really excited and pumped about this. I hope to hear about all the neat ideas each of you has for using sliders in your own projects. I think we are only scratching the surface with this. Captivate is an extremely powerful tool, I think, limited only by our creativity.

6 Comments
2019-03-24 11:31:44
2019-03-24 11:31:44

Great! Thank you.

Like
2019-02-06 01:19:42
2019-02-06 01:19:42

Very helpful tips. Thank you.

Like
2018-05-14 04:04:03
2018-05-14 04:04:03

Awesome!!!

Like
2018-05-13 18:42:20
2018-05-13 18:42:20

An interesting solution. Using this idea, a lot of new possibilities open. Just to introduce some imagination.

Like
2018-05-12 13:47:07
2018-05-12 13:47:07

Nice application… just beginning… nice incremental guided direction… continue exploring business finance environment… SUCCESS!
Thanks…

Learn, Grow, & Be Successful!
Respectfully,
Clg :)!

Like
2018-05-07 15:31:15
2018-05-07 15:31:15

Awesome. Can’t wait for the next post!

Like
Add Comment