Assunto: css file
------------------------------------------------------------------------------------------------------
Where should placing the css file on scriptcase?
====================================================
====================================================
Resposta:
------------------------------------------------------------------------------------------------------
You can not import your css file to scriptcase.
You can:
- Create your layout using the option called 'themes', and use in all scriptcase application.
http://downloads.scriptcase.net/downloads/v5/manual/en_us/webhelp/manual_mp/50-Ferramentas/20-Visualizacao/02-Schemas.htm
- Create a html file and use 'Free Format' orientation in grid application.
http://downloads.scriptcase.net/downloads/v5/manual/en_us/webhelp/manual_mp/10-Aplicacoes_de_Consulta/02-Consulta/00-Configuracao.htm
* To use 'Free Format' option, you need create your html with 'style values' and import in: Template option.
http://downloads.scriptcase.net/downloads/v5/manual/en_us/webhelp/manual_mp/50-Ferramentas/20-Visualizacao/06-Templates.htm
tem como marretar para isso, crie uma biblioteca qualquer no seu projeto, por exemplo estilo.php, nesse biblioteca vc cria uma função que cospe um bucado de css...
ResponderExcluirestilo.php
< ?php
function estilo(){
? >
... abra a tag style e coloque todo o css necessário...
< ?php
}
? >
Chame a biblioteca no evento onload da aplicação que desejar...
sc_include('estilo.php');
estilo();