Page History: Markup method of Text,PC,Mobile
    Compare Page Revisions
 
    
    
    
    
    
    Page Revision: 2010/06/22 11:33
Class
- Package:
- Defined In :
- Class:   
- Subclasses:   
- Extends:  
 
Config Options
<%if(RenderMode.PC){%>
  <div>PC</div>
<%}%>
<%if(RenderMode.Text){%>
  <div>Text</div>
<%}%>
<%if(RenderMode.Mobile){%>
  <div>Mobile</div>
<%}%>
<%if(RenderMode.PC||RenderMode.Text){%>
  <div>PC&Text</div>
<%}%>Public Properties
- we will rarely use it, but sometimes it's required
- some pages include js, so we have to disable js adding to pages viewed in text-mode
- rather designer/js programmer has to decide what kind of functionality it is
- for example, you provide alternative content to flash like flash is only for PC
- if not declaration, it'll show to all device
 ==Public Methods==
 public Methods
 
Public Events
Public events
Example
example