Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- “javascript:saveCurrentFile();<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- Code: at wwwroot / v / Template.HTML
- <Head>
- <SCRIPT TYPE="text/javascript">
- <
- function openpopUp(mylink, windowname)
- {
- if (! window.focus)return true;
- var href;
- if (typeof(mylink) == 'string')
- href=mylink;
- else
- href=mylink.href;
- window.open(href, windowname, 'width=400,height=200,scrollbars=yes');
- return false;
- }
- >
- </SCRIPT>
- <script type="text/javascript">
- (
- function( )
- {
- var form = document.getElementById("emailaddress");
- form.whatever.value = "";
- }
- )( );
- </script>
- </head>
- <body onLoad="openPopUp(‘I am not sure what code I need to enter here’)”>
- <script type="text/javascript">
- var link;
- var element;
- function openPopUp(url)
- {
- link = url;
- element = document.getElementById("background");
- element.style.display = "block";
- element = document.getElementById("popup");
- element.style.display = "block";
- }
- function closePopUp()
- {
- element = document.getElementById("popup");
- element.style.display = "none";
- element = document.getElementById("background");
- element.style.display = "none";
- }
- </script>
- <div id="background" class="dimLayer">
- </div>
- <div id="popup" class="popUpDisplay">
- <div class="popUpTitle" align="left">
- <span>Newsletter Sign Up</span>
- <span onClick="closePopUp()" ><img alt="Close Popup" src="https://www.mywebsite.comv/vspfiles/templates/templatename/images/close.png" width="28px" height="27px"></span>
- </div>
- <div class="data">
- <div id="popup_Colone" class="data1">
- <img src="https://www.mywebiste.com/v/vspfiles/templates/templatename/images/coupon.png" id="coupon" width="245px" height="210px" >
- <div id="popup_row2" class="icons">
- <div class="iconleft"><img src="https://www.mywebsite.com/v/vspfiles/templates/templatename/images/facebook.png" width="54.9px" height="50px" align="right">
- </div>
- <div class="iconright"><img src="https://www.mywebsite.com/v/vspfiles/templates/templatename/images/twitter.png" width="54.9px" height="50px" align="left">
- </div>
- </div>
- </div>
- <button onclick="location.href = 'https://www.mywebsite.com/Articles.asp?ID=252';"> <input type="submit" value="SUBMIT"></button>
- </form>
- <h5>We will never share your email address.<br/>
- Why we ask - Privacy Policy</u></h5>
- <h3>Already Member? Login
- </h3>
- </div>
- <div id="popup_Colthree" class="tea">
- <img src="https://www.mywebsite.com/v/vspfiles/templates/templatename/images/image.png" id="tea" width="304px" height="280px" >
- </div>
- </div>
- <div class="popUpBottom">
- <span> * One time use. Canʼt be used with another coupon.</span>
- </div>
- </div>
- </div>
- [B]CSS[/B]
- @import url(Colors.css);
- @mport url(Content_Area.css);
- @import url(Template.css);
- @import url(Navigation.css);
- input [type=text] {
- width:236px;
- font-size:10px;
- font-family: Lucida Grande;
- font-weight: regular;
- margin-left: 3px;
- margin-top:10px;
- }
- input[type=submit] {
- background:#9B1C1F;
- font-family: Lucida Grande;
- color: #ffffff;
- font-weight: bold;
- font-size:14px;
- text-align: left;
- width: 238px;
- margin-top:10px;
- margin-left: 3px;
- border:0 none;
- cursor:pointer;
- -webkit-border-radius: 2px;
- }
- #popup_Coltwo h5 {
- margin-top:5px;
- color: #515151;
- font-family: Lucida Grande;
- font-size: 11px;
- font-weight: regular;
- }
- #popup_Coltwo h3 {
- background: #A2CD39;
- font-family: Lucida Grande;
- color: #ffffff;
- font-weight: bold;
- font-size:15px;
- text-align: left;
- width: 236px;
- margin-left: 3px;
- margin-top:45px;
- padding: 1px 15px;
- border:0 none;
- -webkit-border-radius: 2px;
- }
- .popUpTitle {
- background-image: url('/v/vspfiles/templates/template_name/images/popuptitlebg.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
- background-color: #FEB2D9;
- height: 40px;
- width: 810px;
- max-width:100%;
- max-height:100%;
- }
- .popupTitle span {
- margin-left:15px;
- margin-top:-15px;
- font-family: Lucida Grande;
- color: #000000;
- font-weight: bold;
- text-align: left;
- font-size:22px;
- font-family: Lucida Grande;
- font-stretch: expanded;
- font-weight: Bold;
- max-height:100%;
- height: 40px;
- }
- .popUpTitle img {
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- float: right;
- margin-right: 7px;
- margin-top: 7px;
- cursor:pointer;
- }
- .data {
- background-image: url('/v/vspfiles/templates/template_name/images/popupbg.png');
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- height: auto;
- overflow: hidden;
- font-size: 14px;
- font-family: Lucida Grande;
- width: 810px;
- }
- .tea {
- width:810px;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- height: auto
- }
- .data1 {
- height: auto;
- overflow: hidden;
- font-size: 14px;
- font-family: Lucida Grande;
- width: 810px;
- }
- .border {
- -webkit-box-shadow: 1 2px 3px -1px #36383A;
- -moz-box-shadow: 1 2px 3px -1px #36383A;
- box-shadow: 1 2px 3px -1px #36383A;
- }
- .data2 {
- overflow: hidden;
- font-size: 15px;
- font-family: Lucida Grande;
- width: 810px;
- margin-top: 35px;
- font-weight:bold;
- }
- .data3 {
- height: auto;
- overflow: hidden;
- font-size: 14px;
- font-family: Lucida Grande;
- width: 810px;
- }
- .icons {
- width: 243px;
- height:auto;
- }
- .iconleft {
- float:left;
- margin-bottom: 10px;
- width: 50%;
- height:auto;
- }
- .iconright {
- float:right;
- margin-bottom: 10px;
- width: 50%;
- height: auto;
- }
- .buttons li {
- cursor: pointer;
- float: center;
- height: 29px;
- margin-right: 15px;
- width: 134px;
- }
- span.button {
- background-color: #000000;
- color: #ffffff;
- font-size: 15px;
- font-weight: bold;
- padding: 8px 25px;
- text-align: center;
- }
- .popUpDisplay {
- display: none;
- position: fixed;
- height: 100%;
- width: 810px;
- margin: auto;
- z-index: 1001;
- top: 30%;
- left: 0;
- right: 0;
- }
- .dimLayer {
- display: none;
- outline: 0px none;
- height: 100%;
- width: 100%;
- background: #A9A9A9;
- top: 0px;
- left: 0px;
- z-index: 900;
- position: absolute;
- opacity: 0.5;
- filter: alpha(opacity=50);
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
- -khtml-opacity: 0.5;
- -moz-opacity: 0.5;
- }
- #popUp_Colone {
- float:left;
- width:30%;
- overflow:hidden;
- }
- #popUp_row2 {
- width: 243px;
- float:left;
- height:auto;
- text-align:center;
- }
- #popUp_Coltwo {
- float:left;
- width:30%;
- height:auto;
- }
- #popUp_Colthree {
- float:right;
- width:40%;
- height:auto;
- }
- .popUpBottom {
- background-color: #F3F4F4;
- border: 0.5px solid #C6C3C4;
- height: auto;
- width: 100%;
- font-size:13px;
- font-family: Lucida Grande;
- color: #000000;
- font-weight: regular;
- text-align: left;
- }
- .poppBottom span {
- color: #515151;
- font-family: Lucida Grande;
- font-size: 13px;
- font-weight: regular;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement