Application Background

I’ve looked at some of the samples and comments in the forum but I still can’t figure out how to set a background at the application level. I’ve done it successfully on a menu but I want that same background to appear on ALL applications whether they be a grid, form, etc.

How exactly do I do this?

Hi Pkrawetsky,
you can try putting some html code on OnScriptInit event like this:

	//override the class for scriptcase grid apps
?> 
<style>		
.scGridPage  {
 background-image: url("../_lib/img/Pagani_Zonda_Roadster.jpg");
}
</style>
<?


//override the class for scriptcase form apps
?> 
<style>		
.scFormPage{
 background-image: url("../_lib/img/Pagani_Zonda_Roadster.jpg");
}
</style>
<?

image

you can create some function or lib to include this functionality in an easy way.
Hope this tip has been helpful to you.
Regards,
Mauricio

1 Like

print ("

iframe.scMenuIframe { background-image: url("../_lib/img/Pagani_Zonda_Roadster.jpg"); }

");

Can you explain how you did it on the menu ???