Markup method of Text,PC,Mobile

Modified on 2010/06/28 23:53 by Administrator — Categorized as: MWMC, MWSF, MWTC

Class


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>
<%}%>

<%if(RenderMode.PC||RenderMode.Mobile){%>
  <div>PC&Mobile</div>
<%}%>

Public Properties


Public Methods

for text - if you want to make special regions within single page - then define them in default.aspx <%if(RenderMode.PC){%>...in photo

if you want to remove photo in text mode like this <%if(RenderMode.PC){%>...

Public Events

Public events

Example

example