WordPress.org

Ready to get started?Download WordPress

Forums

Dreamgrow Scroll Triggered Box
[resolved] How to Disable Cookies (7 posts)

  1. adityasam
    Member
    Posted 1 year ago #

    Just a simple question. I want to disable cookies for this plugin. I mean when the reader hits the close button and goes to another page, I want the box to be back again. I tried using 0 in the cookie lifetime box, but that doesn't seem to help. Or how about a minimize option? Something like the box shrinks back to the corner of the page?

    Aditya

    http://wordpress.org/extend/plugins/dreamgrow-scroll-triggered-box/

  2. Coles Pond Store
    Member
    Posted 1 year ago #

    in the file stb_init.js

    jQuery.cookie('nopopup', 'true', { expires: stb.cookieLife, path: '/' });

    is the line you're looking to edit.

  3. adityasam
    Member
    Posted 1 year ago #

    Coles,

    Thank you so much. Works :) Any chance for a minimize button? Just curious, happy with this though :)

  4. Coles Pond Store
    Member
    Posted 1 year ago #

    I don't work on the plugin, I'm just a user. In that same file, you could probably add a jquery call to take the div and absolutely position it and resize the div. Add an a tag to your popup and give it an ID of minimize and use that register with a $('#minimize').click that can call a function to do the resizing and moving. This sort of customization can be commissioned, but you're unlikely to find it free.

    See:
    http://api.jquery.com/position/
    http://api.jquery.com/click/
    http://api.jquery.com/resize/

    And if need be:
    http://api.jquery.com/css/

  5. madisn
    Member
    Plugin Author

    Posted 1 year ago #

    I will consider adding that option. Thanks.

  6. John.Lang
    Member
    Posted 1 year ago #

    Vote +1 for this feature. Yes, please.

  7. madisn
    Member
    Plugin Author

    Posted 1 year ago #

    Check out the new version (1.3.1). I have added an information about box visibility and option to show the box again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic