Eero Hermlin
Forum Replies Created
-
Forum: Plugins
In reply to: [Scroll Triggered Box] Pictures not responsiveMaybe following is too technical, but: you must apply following css properties to that image: { height: auto; max-width: 100%; }. And then it will start to respond. In my experiment, WP Theme already included such properties for img tag (As Twenty Sixteen is responsive theme).
However, I strongly suggest you not to use image for textual information. Let the text will be in text format and images be images. I guess you have done it in this way as you currently did because it was easier for you, but writing information on picture not correct way to create responsive webpages.
Forum: Plugins
In reply to: [Scroll Triggered Box] Triggering action – click on elementHi
Plugin takes into account only those elements, what exist on initialization moment. It’s so because plugin adds triggering action to clickable element, but if element does not exist (yet), this obviously fails. Therefore I’m sorry, but adding click action to later added elements does not happen automatically.
In principle you must add onclick parameter to your dynamically added element (if WP-PostRatings plugin allows adding your own parameters):
<img scr="your_dyn_added_image.jpg" onClick=$DGD.showBox($DGD.getBoxById('dgd_scrollbox-NNN', false));" />
Where “dgd_scrollbox-NNN” is your scrollbox div id. However, I’m not 100% sure does it fully work, especially, will Lightbox functionality work.
Forum: Plugins
In reply to: [Scroll Triggered Box] Pictures not responsiveAFAIK, picture placed directly inside Scrollbox should resize itself automatically. I just tested that on WP 4.6, Twenty Sixteen theme.
If it does not work for you, then probably it depend on your WP version, Theme, the way how you inserted the image, what classes it has assigned etc. Maybe you give me url to check?
Forum: Plugins
In reply to: [Scroll Triggered Box] Not working with child themeProbably your child theme has some not closed tag(s).
Forum: Plugins
In reply to: [Scroll Triggered Box] “Do not show again” flagThanks for saving me time of downloading and setting up by pointing out this very basic needed feature-Without the ability to cookie this-it’s dead to me.
I think all the features you need are there. It’s possible to hide both to subscribers and also to those who close from “x”. In case of closing from “x” there will be still shown a “Tab” for reopening the box later in case user changes it’s mind later.
If you think that even Tab is too much to show, you can force tab to be hidden with custom css: force everything having class “dgd_stb_tab” to be invisible.
Regards,
EeroForum: Plugins
In reply to: [Scroll Triggered Box] “Do not show again” flagHi
If you tick “Show tab” flag then it will not open automatically before during time specified in “popup frequency” even user has not signed. Just the “tab” is shown.
Regards,
EeroForum: Plugins
In reply to: [Scroll Triggered Box] Element triggeringHi
Try with “div.apple” (without quotes)
Hi
What version of WordPress and what version of plugin you have? I’m currently testing it using WP 4.6 with Plugin version 2.3 (latest) and customizer works correctly.
Forum: Plugins
In reply to: [Scroll Triggered Box] Page goes blank after popup is closedI suspect error in page or scrollbox html code. Most probably it is not closed tag.
Forum: Plugins
In reply to: [Scroll Triggered Box] required="required"Hi
1) Currently you have:
′<input id=”email” name=”Email” required=”required” type=”text” value=”Email Address”>′
I guess that required will never trigger because you have filled value by default. For checkbox it works, as checkboxes have different logic. As you have html5 page, try this instead (value -> placeholder, type=”text” -> type=”email”):
′<input id=”email” name=”Email” required=”required” type=”email” placeholder=”Email Address”>′2) It’s not possible in current version.
3) Sorry, but it doesn’t work with multiple addresses. Using mailing list address would be a workaround.
Forum: Plugins
In reply to: [Scroll Triggered Box] is this compatible with wordpress 4.6 rc2?It’s tested and compatible with wordpress 4.6
Forum: Plugins
In reply to: [Scroll Triggered Box] Insert CSSHi
Adding everything to your own theme should be your first choice.
Adding some inline-style properties to few html elements could be also choice in case when your changes are rather trivial.
Hi
To avoid abuse, all major browsers allow only very limited intervention to browser navigation, I guess with window.onbeforeunload you can stop leaving page only if confirm() is used. Without confirm() visitor even doesn’t have time to notice what happened in window before it closed. Fortunately or unfortunately something like event.preventDefault() together with onbeforeunload is not possible.
What you can do is to show box when mouse leaves window, e.g. when visitor is perhaps thinking to close tab, to activate another tab, to use back button etc. For that, open Scrollbox editor in “Text” mode and append to html following script:
<script type="text/javascript">jQuery(document).mouseleave(function() {$DGD.showBox($DGD.getBoxById('dgd_scrollbox-XXX'), true);});</script>
NB!
- In place of dgd_scrollbox-XXX use your actual scrollbox div element id, what you can discover from page source.
- Scripts in WordPress editor are good to write into one row, because standard editor tends to add a “p” tag to empty lines and this would spoil the script.
- .mouseleave() fires also when user is moving mouse over to right scrollbar.
Forum: Plugins
In reply to: [Scroll Triggered Box] Grey BackgroundHi
This aka ‘Lightbox’ is supported now in newest version 2.3
Newest version (2.3) was tested with all most used WP versions starting from 3.3 up to 4.5.