milohuang / reverie

Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
http://theakiba.com/reverie/
MIT License
919 stars 196 forks source link

Foundation JS plugin data-options / configuration not working #282

Open dwood7399 opened 10 years ago

dwood7399 commented 10 years ago

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> 
tsquez commented 10 years ago

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

dwood7399 commented 10 years ago

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%

tsquez commented 10 years ago

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%

qriouslad commented 10 years ago

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

randomfreeform commented 10 years ago

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

sanderdewijs commented 10 years ago

@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 :)