Paper
Paper
Paper
result.Append("<div id=""unittype"">")
Dim mobile As HttpBrowserCapabilities = Context.Request.Browser
If mobile.IsMobileDevice Then
result.Append("<section class=""section-wrap call-to-action bg-light"" style=""background-color:#FCF8F2;
margin-bottom: -80px;"">")
Else
result.Append("<section class=""section-wrap call-to-action bg-light"" style=""background-color:#FCF8F2;
margin-bottom: -20px;"">")
End If
If mobile.IsMobileDevice Then
'result.Append(" <h2 style=""margin-top: -50px !important;margin-bottom: 18px !important; font-size
:30px;text-align: center;color: #ffffff;"" class=""intro__title nocaps"">")
'result.Append(" "+tagName+"")
'result.Append(" </h2>")
result.Append(" <div style=""font-size:17px;padding-bottom: 10px;text-align: center;"">" + dtSlider.
Rows(0).Item("content") + "</div>")
result.Append(" <div class=""row"">")
Else
'result.Append(" <h2 style=""margin-top: 0px !important;margin-bottom: 10px !important;text-align:
center;color: #ffffff;"" class=""intro__title nocaps"">")
'result.Append(" "+tagName+"")
'result.Append(" </h2>")
result.Append(" <div style=""font-size:17px;padding-bottom: 10px;text-align: center;"">" + dtSlider.
Rows(0).Item("content") + "</div>")
If mobile.IsMobileDevice Then
result.Append(" <div data-u=""slides"" style=""cursor:default;position:relative;top:0px;left:0px;widt
h:1000px;height:1200px;overflow:hidden;"">")
Else
result.Append(" <div data-u=""slides"" style=""cursor:default;position:relative;top:0px;left:0px;widt
h:1000px;height:600px;overflow:hidden;"">")
End If
result.Append(" <div>")
result.Append(" <article>")
result.Append(" <img data-u=""image"" class=""lazyload"" data-src=""" + _rootPath + "content.i
mages/content/" + _parentRef + "/" + dtSlider.Rows(i).Item("imgRef").ToString + "/0/2000/1821" + ".jpg"" src="""
+ _rootPath + "content.images/content/" + _parentRef + "/" + dtSlider.Rows(i).Item("imgRef").ToString + "/0/0/5" +
".jpg"" alt=""image" + dtSlider.Rows(i).Item("title") + """>")
If mobile.IsMobileDevice Then
End If
Next
result.Append(" </div>")
result.Append(" <!-- Bullet Navigator -->")
result.Append(" <div data-u=""navigator"" class=""jssorb057"" style=""position:absolute;bottom:12px;righ
t:12px;"" data-autocenter=""1"" data-scale=""0.5"" data-scale-bottom=""0.75"">")
result.Append(" <div data-u=""prototype"" class=""i"" style=""width:16px;height:16px;"">")
result.Append(" <svg viewBox=""0 0 16000 16000"" style=""position:absolute;top:0;left:0;width:100
%;height:100%;"">")
result.Append(" <circle class=""b"" cx=""8000"" cy=""8000"" r=""5000""></circle>")
result.Append(" </svg>")
result.Append(" </div>")
result.Append(" </div>")
result.Append(" <!-- Arrow Navigator -->")
result.Append(" <div data-u=""arrowleft"" class=""jssora073"" style=""width:50px;height:50px;top:0px;lef
t:30px;"" data-autocenter=""2"" data-scale=""0.75"" data-scale-left=""0.75"">")
result.Append(" <svg viewBox=""0 0 16000 16000"" style=""position:absolute;top:0;left:0;width:100%;
height:100%;"">")
result.Append(" <path class=""a"" d=""M4037.7,8357.3l5891.8,5891.8c100.6,100.6,219.7,150.9,357.
3,150.9s256.7-50.3,357.3-150.9 l1318.1-1318.1c100.6-100.6,150.9-219.7,150.9-357.3c0-137.6-50.3-256.7-150.9-35
7.3L7745.9,8000l4216.4-4216.4 c100.6-100.6,150.9-219.7,150.9-357.3c0-137.6-50.3-256.7-150.9-357.3l-1318.1-13
18.1c-100.6-100.6-219.7-150.9-357.3-150.9 s-256.7,50.3-357.3,150.9L4037.7,7642.7c-100.6,100.6-150.9,219.7-150
.9,357.3C3886.8,8137.6,3937.1,8256.7,4037.7,8357.3 L4037.7,8357.3z""></path>")
result.Append(" </svg>")
result.Append(" </div>")
result.Append(" <div data-u=""arrowright"" class=""jssora073"" style=""width:50px;height:50px;top:0px;r
ight:30px;"" data-autocenter=""2"" data-scale=""0.75"" data-scale-right=""0.75"">")
result.Append(" <svg viewBox=""0 0 16000 16000"" style=""position:absolute;top:0;left:0;width:100%;
height:100%;"">")
result.Append(" <path class=""a"" d=""M11962.3,8357.3l-5891.8,5891.8c-100.6,100.6-219.7,150.9-3
57.3,150.9s-256.7-50.3-357.3-150.9 L4037.7,12931c-100.6-100.6-150.9-219.7-150.9-357.3c0-137.6,50.3-256.7,150
.9-357.3L8254.1,8000L4037.7,3783.6 c-100.6-100.6-150.9-219.7-150.9-357.3c0-137.6,50.3-256.7,150.9-357.3l131
8.1-1318.1c100.6-100.6,219.7-150.9,357.3-150.9 s256.7,50.3,357.3,150.9l5891.8,5891.8c100.6,100.6,150.9,219.7,1
50.9,357.3C12113.2,8137.6,12062.9,8256.7,11962.3,8357.3 L11962.3,8357.3z""></path>")
result.Append(" </svg>")
result.Append(" </div>")
result.Append(" </div>")
result.Append(" </div>")
result.Append(" </section> ")
result.Append("</div>")
ltrUnitType.Text = result.ToString
End Sub