12.09.2016, 07:46
I've tried but unfortunately widget opens with other dimensions and open not only on page 174 where it is placed but also on homepage where there isn't. I've tried to change a little this script to use only this function which is for opening widget only on load page.
This are widget parameters:
widget ID: "widget-177"
top: 130px
left: 0px
width: 720px
height: 1024px
plan ID: 174
I've tried this script but it has some error:
This are widget parameters:
widget ID: "widget-177"
top: 130px
left: 0px
width: 720px
height: 1024px
plan ID: 174
I've tried this script but it has some error:
Code:
$(function(){
// Open widget on load
$("#widget-177").removeClass("hide");
// Optional: Position widget (absolute position)
document.getElementById("widget-177").style.top = "130px";
document.getElementById("widget-177").style.left = "0px";
document.getElementById("widget-177").style.width = "720px";
document.getElementById("widget-177").style.height = "1024px";
});