Jump to content

After Update: Hide scrollbar doen´t work ..


erich.wanker

Recommended Posts

Hello,

after Update to 0.98.0.1116 the following lines not working:

 

    UniHTMLFrame1.HTML.Clear;
    UniHTMLFrame1.HTML.Append('<html><head><title>scoller</title>');
    UniHTMLFrame1.HTML.Append('<style type="text/css"> DIV#' +uniscrollbox1.JSName+ '_id> DIV {overflow-x: hidden !important;}</style>');
    UniHTMLFrame1.HTML.Append('<style type="text/css"> DIV#' +uniscrollbox2.JSName+ '_id> DIV {overflow-x: hidden !important;}</style>');
 

any ideas how to solve this?

 

ThanX

Erich

Link to comment
Share on other sites

Hello DelphiDeveloper,

 

ThanX for suggestions .. but your tip also didn´t work anymore ...

It seems that uniScrollbox has a property less - since new update .. 

 

if i use

UniSession.AddJS(uniscrollbox1.JSName + '.setBodyStyle("overflow-X:hidden !important");');

i got error: "undefined is not a function"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...