Loading...

Using ASP View

Photoshop layers to ASP with clean and clear code becomes simple with Layer Kit – ASP View. Translate your PSD layers to ASP with advanced support for text, images and shapes.

Get Layer Kit Pro to add layer effects, imaging options and more with ASP View.

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>")
 
%>

Pro Features

Using Layer Kit Pro, you can customize the ASP View to include additional information with the PSD 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>

LOGIN NOW: Get instant access to our free Online Training - click here.

Using the Plugin

How To Guides

Help Us Improve


We aim to keep our content relevant with useful information, examples, samples and links. Tell us what you think!

I found the content:

Helpful
Confusing
Outdated
Broken Links
Bad Spelling
Too Short
Too Long

This page needs:

Nothing
Better Content
Links
Examples
Videos

Free Download


Responsive Webpage

A clean responsive webpage design for 3 target screens.

Start Your 14 Day Free Trial

Get instant access to your 14 Day Free Trial and Free Online Training. We guarantee your first conversion will 100% work - we work with you to ensure this, Contact Us or check the Community FAQs for assistance.

Connect With Us