Round Corners in modal_container (Implemented)
The code add in lines 352 the script :
/* new implemented Paulo F Nhaia*/
if(this.options.roundCorner){
var d=document.createElement("b");
d.setStyle({ display: 'block' });
var lim=4;
d.style.backgroundColor='transparent';
for(var i=1;i0;i--){
var x=document.createElement("b");
eval('x.setStyle({ backgroundColor: \'#fff\',display:\'block\',height:\'1px\',overflow: \'hidden\',margin: \'0 '+((i==lim)? '5px\'' : i+'px\'')+((i==1)? ',height: \'2px\'' : '')+'});');
d.appendChild(x);
}
Control.Modal.container.insertBefore(d,Control.Modal.container.firstChild);
}
Posted January 31st, 2008 at 9:51am by paulo_nhaia
The code add in lines 352 the script:
/* new implemented Paulo F Nhaia*/
if(this.options.roundCorner){
/*top*/
var d=document.createElement("b");
d.setStyle({ display: 'block' });
var lim=4;
d.style.backgroundColor='transparent';
for(var i=1;i0;i--){
var x=document.createElement("b");
eval('x.setStyle({ backgroundColor: \'#fff\',display:\'block\',height:\'1px\',overflow: \'hidden\',margin: \'0 '+((i==lim)? '5px\'' : i+'px\'')+((i==1)? ',height: \'2px\'' : '')+'});');
d.appendChild(x);
}
Control.Modal.container.insertBefore(d,Control.Modal.container.firstChild);
}
Posted January 31st, 2008 at 9:53am by paulo_nhaia
I made some changes in your script added at the corners rounded in div modal_container and created one more variable in your script to roundCorner is boolean. Is attached changes.
Best Regards,
Paulo Ferreira Nhaia
Posted January 31st, 2008 at 8:03am by paulo_nhaia