Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

how about "afui" and header?

meiyu_l_
Beginner
584 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
584 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