Quick tip on how to implement the variables?
Closed this issue · 2 comments
ianhobbs commented
I've been changing the variables in source - having failed to effectively implement variable changes in the implementation. Any advise on how to control fluidbox variables in the "chain" implementation.
$(function () {
$('a').fluidbox();
viewportFill: 0.8 //example
})
thanks ian
terrymun commented
Settings are implemented by passing the listed variables to the .fluidbox()
method. You're specifying the varialbes outside of the method, therefore it is not working.
$(function () {
$('a').fluidbox({
viewportFill: 0.8
});
});
ianhobbs commented
Thanks heaps