Jump to content

Recommended Posts

Posted

hi,

 

i want to change the background color of differnt pages in a uniURLFrame...

 

i tryed out:

 

procedure Ttestweppage.UniURLFrame1FrameLoaded(Sender: TObject);
begin
UniSession.AddJS(UniURLFrame1.JSName+'.contentDocument.body.style.background = #ffffff;');
UniSession.AddJS(UniURLFrame1.JSName+'.contentDocument.body.style.background-image:none = none;');
end;

..but doesn´t work 

 

Has anyone a tipp ?

 

ThanX

Erich

Posted

Hello Del Dev

 

thanx for suggestion .. i tryed out - but didn´t work ... i dont know if the included page is the problem ..

 

the included page has this definition according chrome-dev-tools:

 

body {
  1. background-color#E1E1E1;
  2. background-positiontop center;
  3. background-repeatrepeat-x;
  4. background-image:url(....) 
}

 

.

  • 7 years later...
Posted
17 minutes ago, Daha Software said:

uniURLFrame background color

Not work

It is quite possible that it will not work.

What do you upload there?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...