WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Stop findme feature -xxx px (22 posts)

  1. cmglobal
    Member
    Posted 1 year ago #

    I have a website using a sticky menu. so when i use findme it looks as it stops half way down the div that it collapse because it's behind the navigation.

    is it possible to define for instance something like stop -100px or somehow stop earlier?

    this is the site
    http://catacap.dk/demo/hvem-er-vi/

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    you can give it an exact px amount to scroll to, such as:
    [expand title="Stars" findme="2070"]
    http://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/#findme

  3. cmglobal
    Member
    Posted 1 year ago #

    What if I use a setup like this example with my roll-your-own


    <span class="collapseomatic find-me" title="Slow Donkey" id="donkey2" >Slow Donkey</span>
    <div id="target-donkey2" class="collapseomatic_content">Donkeys are not so fast.</div>

    can i then still use findme="2070"? because I cant seem to get it to work

  4. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    In your most excellent example above you would simply add: <a id="find-your_id_here" name="2070"> like so:

    <a id="find-donkey2" name="2070">
    <span class="collapseomatic find-me" title="Slow Donkey" id="donkey2" >Slow Donkey</span>
    <div id="target-donkey2" class="collapseomatic_content">Donkeys are not so fast.</div>

    Can you dig it?

  5. cmglobal
    Member
    Posted 1 year ago #

    thank you that did the trick… and thx for the quick help

  6. cmglobal
    Member
    Posted 1 year ago #

    Actually I just came to realize

    the site is responsive, so now on mobile this wont be correct…

    can i trigger the name of a div or something else? or is it only pixels that is possible with this plugin?

  7. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    which version of the plugin are you using?
    Edit: I see you are using 1.5d. Let me play with some ideas and get back to you. Not to worry, we'll get you sorted out.

    Very nice looking website, by the way.

  8. cmglobal
    Member
    Posted 1 year ago #

    Thank you… it's a work in progress still :)

    But yes updated to that version yesterday trying to sort things out. So I hope that you come up with a solution. And thanks by the way for all the help

  9. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Just a quick note to let you know we have not left you hanging...
    ...we just are slamed... and the free stuff got bumped.
    but we'll get back to you in the next days with a solution.

    No, really... we will.

  10. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Well, it took a bit longer than expected, but if you check out version 1.5.1 of the plugin that was released today, the fine-me auto feature should now work with responsive site design. Give it a try and please let us know!

  11. UaMV
    Member
    Posted 1 year ago #

    Updated to 1.5.1 and my findme auto is now not finding the trigger, as it had previously. You can check it at www2.wmpl.org/where-we-work, though i may soon revert to an older version.

  12. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    OK, revert back for now and I will see what is going on with the findme auto... it should work, but you know how things go. We'll contact you in a little bit.

    Thanks, as always, for the feedback!

  13. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Hey UaMV, can you contact us via support (at) twinpictures (dot) de ? We would like to get this issue you are having figured out ASAP. Thanks.

  14. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Please upgrade to alpha version 1.5.2a available at The Plugin Oven and let us know if this solves your issue.

  15. UaMV
    Member
    Posted 1 year ago #

    It comes close to finding the trigger, but focuses just below the trigger, instead of above. Again, if no related (highlander, in my case) elements are expanded, it hits right on. Can still be seen at www2.wmpl.org/our-work

  16. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    tricky, tricky... ok, we'll keep at it and let you know.

  17. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Can you try something for us?
    Please include the snap-shut class in your trigger by including:

    trigclass="snap-shut"

    on all the highlander grouped expand elements.
    We think the problem is the previous element is not fully closed before the system measures the offset of the clicked element. Using snap-shut, the previous element will 'snap' closed allowing the system to get an accurate measurement of the clicked item's position.

    Please let us know the results.

  18. UaMV
    Member
    Posted 1 year ago #

    That did it. i assume you'll be integrating this to the plugin. i'll add snap-shut for now. Thanks, Baden!

  19. cmglobal
    Member
    Posted 1 year ago #

    I still seem to have small problems with it, but that's also due to the design of the site...

    Overall it seems it goes to the wrong place, I cant get it to stop the right place…

    and second due to the pages design I have a snappy meny so it comes down… so if i for instance place a the findme trigger above a image the menu will come down and be in top of the image… so I would need to ie go to a findme auto place -200px; dont know if this is possible

  20. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    We have been thinking about adding an offset for findme="auto" where you can force the auto value to be +/- px from the element. Stay tuned, we'll let you know when it's ready to be tested.

    Thank you for the feedback!

  21. cmglobal
    Member
    Posted 1 year ago #

    have you by any chance had time to play with the offset feature??

    all the best

    /Casper

  22. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Casper,

    We added an offset attribute to our Collapse Pro Matic plugin. The plugin costs 5 bucks and replaces Collapse-O-Matic, but does exactly what you need it to like so:

    [expand title="trigger text" findme="auto" offset="-70"]target content[/expand]

    Please let us know how it works for you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.