-
Notifications
You must be signed in to change notification settings - Fork 11
Unclear documentation #9
Comments
Parent element must have right background-image property. If there is no background-image property in parent element, target element will not have effect. If you are using 1.0.11, you have to fix If you still can't get any effect after fix typo, please leave issues with error logs. Thank you. |
Thanks for your quite response. I'm actually using the latest jQuery version so I would assume it's with the lowercase translucent. How do I turn on debugging? |
I meant Translucent version 1.0.11 Shortcut to developer tool is command+option+i(windows: Ctrl+shift+i, IE: F12). And if you leave your browser information and part of your code, it will be help to solve your problem. Thank you. |
I'm having the same problem. I have followed all the steps described in the documentation, and I still get nothing. I'm getting an error in the console that states: TypeError: $(...).Translucent is not a function. Here's my markup:
The parent has a background-image property assigning an image to the container, and "translucent" in the inline JavaScript is title-cased. Can you let me know where I'm going wrong, please? |
There was an typo in jQuery plugin. I patched it and release with 1.0.12 |
It seems like it's working. It's not the perfect solution to what I was needing, especially when you get into smaller viewport widths, but I think that's more my problem at this time, more than anything. http://refresh.almost.online/test2.html Thanks for your help, anyway. |
Hey
I'm confused a bit by the documentation. From another ticket I can see that the parent element must be a background correct? Is it also true that all the elements must have a position relative below that parent?
When I implement this using jQuery I have
`(function ($) {
$(document).ready(function() {
$('.group-header-inner').translucent({
background: '.group-header', // id or class name
filterValue : 5, // int
cardColor : 'clear', // preset color or your own color
shadow : true // true or false
});
});
}) (jQuery);
`
But nothing happens :/
The text was updated successfully, but these errors were encountered: