Apply webkit on stage

Advertisement
Hello, I am trying to modify the scrollbar design using webkit
In CreationComplete I wrote :
sym.$("Stage").css("-webkit-scrollbar { width: 12px; }, -webkit-scrollbar-track { background-color: #eaeaea; border-left: 1px solid #ccc; }, -webkit-scrollbar-thumb { background-color: #ccc; }, -webkit-scrollbar-thumb:hover { background-color: #aaa; }");
I had tried to put that in the html file previously but it doesn't seems to work also
<style>
        .edgeLoad-EDGE-XXXXX {
            visibility:hidden;
            -webkit-scrollbar { width: 12px; } 
            -webkit-scrollbar-track { background-color: #eaeaea; border-left: 1px solid #ccc; } 
            -webkit-scrollbar-thumb { background-color: #ccc; } 
            -webkit-scrollbar-thumb:hover { background-color: #aaa; }
</style>
is someone have a solution or an idea ?
thanks a lot
Advertisement

Replay

I would use a css file to load the scroll bar info. Note that this will not work in FF since it is not WebKit based.
On Fri, Oct 24, 2014 at 3:23 AM, spout4fun <[email protected]>