reverie icon indicating copy to clipboard operation
reverie copied to clipboard

Foundation JS plugin data-options / configuration not working

Open dwood7399 opened this issue 10 years ago • 6 comments

I'm trying to configure some of the Foundation plugins, but have only been able to get Orbit to work (using data-options). Using data-options on Tooltips and Magellan don't work.

I've tried using the JS configuration instead of data-options that Zurb mentions, but I'm not sure where in Reverie it goes. http://foundation.zurb.com/docs/javascript.html

Has anyone had luck with this?

Orbit works:

<ul class="feature-slider" data-orbit data-options="animation:'fade'; slide_number:false;pause_on_hover:true;resume_on_mouseout:false;variable_height:false;animation_speed:800;">

Tooltip Doesn't:

<h1 class="has-tip tip-top" data-tooltip data-options="hover_delay:500"  title="<?php the_title(); ?></h1> 

dwood7399 avatar Mar 23 '14 20:03 dwood7399

Everything works in WP-Forge, maybe give her a try

tsquez avatar Mar 23 '14 21:03 tsquez

Hey Thomas - I played with WP-Forge, works great, but I was hoping for something with SASS built in. I'm sure I could probably add the _settings.scss file and get it up and running my self... I saw you had mentioned a SASS version, is that still in the works?

BTW - I love your enthusiasm/perfectionism, congrats on the 97%

dwood7399 avatar Mar 23 '14 22:03 dwood7399

At the moment, no, but it may be coming in the future. I think I will have to provide 2 versions of WP-Forge, a simple css version and a sass version. And I got her to 98%...woo hoo...lol I just need to take care of the other 2 recommendations to achieve 100%

tsquez avatar Mar 24 '14 15:03 tsquez

Congrats on the 98% too Thomas!... :-)

qriouslad avatar Mar 24 '14 15:03 qriouslad

hey dwood you might want to check out http://foundationpress.olefredrik.com theme.

randomfreeform avatar Mar 24 '14 15:03 randomfreeform

@tsquez I managed to add the Sass version by creating a new foundation project inside the WP-forge theme folder.

After that I changed the output for the compiled app.css file to the theme's CSS directory in the config.rb file.

Then I replaced the link to 'foundation.css' in functions.php with the app.css file. Works like a breeze :)

sanderdewijs avatar Apr 10 '14 10:04 sanderdewijs