Using ASP View
XD, PSD, AI and INDD layers to ASP with clean and clear code becomes simple. Translate your XD, PSD, AI and INDD layers to ASP with advanced support for text, images and shapes.
Example Image Element
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <% Dim styles Dim id Dim src id = "button_copy" src = "../skins/ek125_303_layer_effects/button_copy.png" styles = "" styles = styles & "top:240px;" styles = styles & "left:446px;" styles = styles & "width: 310px;" styles = styles & "height: 166px;" Response.Write("<img") Response.Write("id='"&id&"'") Response.Write("src='"&src&"'") Response.Write("style="&styles&"") Response.Write("/>") %> |
Example Text Element
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <% Dim styles Dim id Dim content id = "text" content = "TEXT" styles = "" styles = styles & "top:501px;" styles = styles & "left:132px;" styles = styles & "width:227px;" styles = styles & "height:90px;" styles = styles & "font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;" styles = styles & "font-weight:bold;" styles = styles & "text-align:left;" styles = styles & "font-size:68px;" styles = styles & "color:#FFFFFF;" Response.Write("<div") Response.Write("id='"&id&"'") Response.Write("style="&styles&"") Response.Write(">") Response.Write(""&content&"") Response.Write("</div>") %> |
Example Shape Element
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <% Dim styles Dim id id = "button_bg" styles = "" styles = styles & "top:449px;" styles = styles & "left:72px;" styles = styles & "width:310px;" styles = styles & "height:159px;" styles = styles & "-ms-border-radius: 30px;" styles = styles & "-o-border-radius: 30px;" styles = styles & "-moz-border-radius: 30px;" styles = styles & "-webkit-border-radius: 30px;" styles = styles & "border-radius: 30px;" Response.Write("<div") Response.Write("id='"&id&"'") Response.Write("style="&styles&"") Response.Write(">") Response.Write("</div>") %> |
Customize the ASP View to include additional information with the XD, PSD, AI and INDD layer such as effects, advanced text rendering and more.
Example Layer Effects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | <% Dim styles Dim id id = "button_bg" styles = "" styles = styles & "top:449px;" styles = styles & "left:72px;" styles = styles & "width:310px;" styles = styles & "height:159px;" styles = styles & "-ms-border-radius: 30px;" styles = styles & "-o-border-radius: 30px;" styles = styles & "-moz-border-radius: 30px;" styles = styles & "-webkit-border-radius: 30px;" styles = styles & "border-radius: 30px;" styles = styles & "-ms-box-shadow:0px 0px 25px 5px rgba(206,54,0.75);" styles = styles & "-o-box-shadow:0px 0px 25px 5px rgba(206,54,0.75);" styles = styles & "-webkit-box-shadow:0px 0px 25px 5px rgba(206,54,0.75);" styles = styles & "-moz-box-shadow:0px 0px 25px 5px rgba(206,54,0.75);" styles = styles & "box-shadow:0px 0px 25px 5px rgba(206,54,0.75);" styles = styles & "background: -webkit-linear-gradient(0deg , #cd3535 0%, #5c2222 35%, #251111 71%);" styles = styles & "background: -o-linear-gradient(0deg , #cd3535 0%, #5c2222 35%, #251111 71%);" styles = styles & "background: -moz-linear-gradient(0deg , #cd3535 0%, #5c2222 35%, #251111 71%);" styles = styles & "background: -ms-linear-gradient(0deg , #cd3535 0%, #5c2222 35%, #251111 71%);" styles = styles & "background: linear-gradient(0deg , #cd3535 0%, #5c2222 35%, #251111 71%);" Response.Write("<div") Response.Write("id='"&id&"'") Response.Write("style="&styles&"") Response.Write(">") Response.Write("</div>") %> |
Example Inline Content
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <% Dim styles Dim id id = "button_bg" styles = "" styles = styles & "top:449px;" styles = styles & "left:72px;" styles = styles & "width:310px;" styles = styles & "height:159px;" styles = styles & "-ms-border-radius: 30px;" styles = styles & "-o-border-radius: 30px;" styles = styles & "-moz-border-radius: 30px;" styles = styles & "-webkit-border-radius: 30px;" styles = styles & "border-radius: 30px;" %> <div id='<% Response.Write(id) %>' style="<% Response.Write(styles) %>" > </div> |