Plugin Author
Baden
(@baden03)
If you want to use find-me with the roll-your-own method, then you need to include a data-findme attribute like so:
<img id="test" class="collapseomatic narrow find-me" data-findme="auto" src="http://image.jpg" alt="" />
you can also employ the data-offset attribute to offset the find-me position:
<img id="test" class="collapseomatic narrow find-me" data-findme="auto" data-offset="-60" src="http://image.jpg" alt="" />
Let us know if this helps.
Unfortunately don’t worked. In both options you gave me, all the contents of the page return to the top of the page when one iten is clicked, but I need just the content clicked scrolls to the top, just below of the banner fixed there (almost like is in the first image on the exemplo here below, but right below the banner fixed on the top).
The exemple is in: http://alexisazevedo.com/aem/acervos/
The first image (Abgar Renault):
<img id="men5" class="collapseomatic narrow find-me" src="http://alexisazevedo.com/aem/wp-content/uploads/2016/04/AbgarRenault2.jpg" alt="" />
<div id="target-men5" class="collapseomatic_content">
The second image (Adão Ventura):
<img id="men6" class="collapseomatic narrow find-me" data-findme="auto" src="http://alexisazevedo.com/aem/wp-content/uploads/2016/04/AdaoVentura2.jpg" alt="" />
<div id="target-men6" class="collapseomatic_content">
The third image (Familia Ventura):
<img id="men7" class="collapseomatic narrow find-me" data-findme="auto" data-offset="-60" src="http://alexisazevedo.com/aem/wp-content/uploads/2016/04/FamiliaAvila.jpg" alt="" />
<div id="target-men7" class="collapseomatic_content">
I really appreciate your help, thanks!
Plugin Author
Baden
(@baden03)
Ah, the data-findme method is only available in the pro version. We’ll update the free version and send you a link to the update. Please stand by.
Plugin Author
Baden
(@baden03)
Check out version 1.7.2a from GitHub and see if that fixes this issue.
Note: the data-offset attribute is only offered in the pro version. but the data-findme=”auto” should now be fixed in 1.7.2a
Plugin Author
Baden
(@baden03)
Just to verify, did the update work for you?
Well, seems that the “data-findme=auto” issue was fixed with the 1.7.2a version. But I still need to set the “data-offset attribute”. I will consider with my client to buy the pro version. Thaks again!
Plugin Author
Baden
(@baden03)
you can set a ‘global’ offset, but for individual elements you need to go pro.
So, how can I set the ‘global’ offset, please?
Hello Baden! Did you see my last question (above), please?
Plugin Author
Baden
(@baden03)
I was mistaken, the offset global and individual is only a feature of the pro version.
sorry for the confusion.
Hello Baden thank you for sharing this plugin – I am a little confused about the data-findme, whether it is available in the free version or not. I am using it in a loop pulling posts from specific categories and placing them in the expand target and everything is awesome but neither “…findme” is working at all, however the plain findme was working in the original [expand] in the html document content.
using roll-your-own in the template
<div class="collapseomatic" id="<?php echo ( basename(get_permalink()) ); ?>" title="<?php echo get_the_title( get_option( 'entry_title' ) ); ?>" tag="h3" rel="faq-highlander" data-findme="auto">
you can see it here on this page
thank you
ron
-
This reply was modified 8 years, 4 months ago by
englishw5.
sorry, I’ll post this as a new topic