Using Joyride with Flare?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
jimgilliam
Propeller Head
Posts: 96
Joined: Tue Jun 04, 2013 9:49 am
Location: Arkansas, U.S.A.

Using Joyride with Flare?

Post by jimgilliam »

Have you ever tried to use Joyride with Flare? I'd really like to use it in a new project I'm working on, but it seems to me that something in the Joyride JS is compromising Flare.

I keep getting the error (in the browser inspection tool) "the function foundation is not defined." That means there's an anonymous function in the JS somewhere, and Flare doesn't like that, I think.

I've tried putting the JS in the toolbar JS, but I still get the same error.
Any experience with Joyride and Flare? https://zurb.github.io/joyride/index.html

FYI: Joyride works fine on a webpage that's not governed by Flare.

Jim
:flare:
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Using Joyride with Flare?

Post by NorthEast »

Sounds like you're initialising Foundation before Foundation has been loaded.

Note that if you're using a HTML5 target and skin, then the Flare output will already include a portion of Foundation (6.2.3). That means you don't need to add the Foundation script or initialise Foundation yourself. However, as Flare doesn't include the full Foundation framework, your plugin may not actually work depending on what components of Foundation it requires.
Post Reply