Software Archive
Read-only legacy content
17060 Discussions

how about "afui" and header?

meiyu_l_
Beginner
1,269 Views

i have two question.

1.in app_framework/2.1,I only can make div id = "afui"?if i don't begin with : <div id="afui"  > in body, it can not be dispayed?

2.in www\app_framework\2.1\css\af.ui.min.css file, I modity the "#afui .header{}",make height =0px;  then in this project, all the div  the header is cant't see.it there other way to make the first div is not display and second div the header is display?

0 Kudos
1 Reply
Chris_P_Intel
Employee
1,269 Views

Yes, in App Framework the afui id is required.

However, it is normally put on the <body> tag, not on a div.

<body id="afui">
 ....

 

 

The headers are set via a data-header property that is used on an individual page. To explore more of this, I recommend making a new blank project and elect the "App Designer" option. Then choose App Framework as your framework. Use the WYSIWYG tools to insert some controls. Then look at the code and you can see how the pages, headers, footers, afui id, etc. are all normally configured used.

There are also docs, and dozens of samples to examine as well.  

 

0 Kudos
Reply