"frame scraps src js parse url"
Bootstrap 3.3.0 Snippet by rayrc

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html id="home" lang="en"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><head> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Sans:300,400,500"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css?family=FontAwesome:300,400,500,800"> <style> [class*="fontawesome-"]:before{font-family:'FontAwesome',sans-serif} *{margin:0;padding:5px;margin:auto;color:#111} html{min-width:640px;min-height:100%;color:#fff;} body{font-family:'Fira Sans',sans-serif;font-size:1.1rem;font-weight:400;background-color:#333;margin:auto;position:absolute;top:0;left:0;bottom:0;right:0} .glyphicon{display:inline-block;color:white;font-size:1.6rem;font-weight:400;text-transform:uppercase;letter-spacing:1px;-webkit-transition:all .2s;transition:all .2s;opacity:1;line-height:inherit} footer{height:100%;color:#777; background-color: rgba(0,0,0,0.1);text-align:center;vertical-align:bottom;margin-bottom:-20px;border-top:1px solid #e5e5e5;font-size:small;font-weight:400;font-family:'Roboto',sans;text-align:center} body{z-index:1;width:410px;height:620px} </style> </head><body onLoad="resize();"> <script> Response.AddHeader("X-FRAME-OPTIONS", "SAMEORIGIN"); Response.AddHeader("X-FRAME-OPTIONS", "Allow-From http://bootsnipp.com"); </script> <script>function resize() { var height = document.getElementsByTagName("html")[0].scrollHeight; window.parent.postMessage(["setHeight", height], "*"); } </script> <script> $(window).ready(function() { $(".connect-icons a").hover(function(){ $(".connect-box").toggleClass("color-"+ this.className ); $(".text-"+ this.className).toggleClass("show"); }); });</script> <script> //SIDE MENU SCRIPTS $(document).ready(function () { $('.menu-close-icon').click(function (e) { e.preventDefault(); $('#side-menu').animate({ left: '-250px', top: '-1000px' }); }); $('.menu-open-icon').click(function (e) { e.preventDefault(); $('#side-menu').animate({ left: '0px', top: '0px' }); }); }); </script> <td class="form_top" align="center" height="30" valign="middle">Contact Us</td> </tr> <tr> <td class="form" align="center" valign="top"> <script type="text/javascript" language="javascript"> function validate() { var str=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; if(document.form.name.value=="") { alert("Please Enter Name"); document.form.name.focus(); return false; } else if(document.form.email.value=="") { alert("Please Enter Email"); document.form.email.focus(); return false; } else if(!(document.form.email.value).match(str)) { alert("Invalid Email"); document.form.email.focus(); return false; } else if(document.form.address.value=="") { alert("Please Enter Address"); document.form.address.focus(); return false; } else if(document.form.city.value=="") { alert("Please Enter City"); document.form.city.focus(); return false; } else if(document.form.phone.value=="") { alert("Please Enter Phone Number"); document.form.phone.focus(); return false; } else if(document.form.best.value=="") { alert("Please Select Best Time to Call"); document.form.best.focus(); return false; } else { document.form.submit(); alert("Your Information Submitted Successfully"); } } </script> </body></html>
.TwitterSocialMediaWrapper{height: 244px;overflow-y: scroll;overflow-x: hidden;margin-bottom:20px;border: solid 1px #DCE5EC;} .TwitterSocialMediaProfileImg { height: 35px; width: 35px; border:none; float:left; border-radius:7px; display:inline; vertical-align:middle; margin-right:5px; } .TwitterSocialMediaItem {padding:5px; border: solid 1px #DCE5EC;} .TwitterSocialMediaTitle{ display:inline-block;padding:1px;} .TwitterSocialMediaTitle a { color: #084476; font-size:12px; text-decoration:none; font-weight:bold; } .TwitterSocialMediaTitle a:hover { color: #B41019; } .TwitterSocialMediaTitle span { font-size:10px; color: #8899a6; text-decoration:none; } .TwitterSocialMediaDescription { padding:2px; } .TwitterSocialMediaDescription a {text-decoration:none;color: #084476;} .TwitterSocialMediaDescription a:hover {text-decoration:none;color: #B41019;} strong { color: rgb(204, 14, 14); font-family: inherit; font-weight: normal; } tr, td, th { border-right: 1px dotted #BBA9A9; border-top: 1px dotted #BBA9A9; padding: .7em 1.4em; vertical-align: top; } table { width: 100%; } .videos-container { background: whitesmoke; background:linear-gradient(to left, #000,#fff,rgba(0,0,0,0.1)); border: 2px solid black; border-radius: 0.2em; display: inline-block; margin: 2em .2em; padding: .1em; vertical-align: top; background-color: rgba(0,0,0,0.2); background-image: linear-gradient(to bottom, rgba(255,255,255,0.2) 0px, rgba(0,0,0,0.4) 100%); border-radius: 20px; border-size:6px; box-shadow: 0px 0px 15px 10px #EAEAEA; border: 1px solid #FFF; font-stretch: normal; background-image:linear-gradient(to right,#eee,rgba(255,255,255,0.6),#ccc,#fff); background-image: rgba(0,0,0,0.12); mix-blend-mode:exclude; /* mix-blend-mode:lighten; */ background:radial-gradient(circle,black,transparent); color:#fa0; } .container-container{ background:whitesmoke;background-image:radial-gradient( circle from center, #fa0,#fff,#fa0,rgba(0,0,0,0.1));radial-gradient(circle from center,black,white,80% rgba(0,0,0,0.23)); //mix-blend-mode:lighten; color:#fa0; background-color: rgba(0,0,0,0.1); background-image: linear-gradient(to bottom, rgba(255,255,255,0.2) 0px, rgba(0,0,0,0.4) 100%); border-radius: 20px; border-size:6px; box-shadow: 0px 0px 15px 10px #EAEAEA; border: 1px solid #FFF; font-stretch: normal; } .videos-container h2 { border: 0; border-top: 1px solid #fff; display: block; margin: 0; text-align: center; // background: whitesmoke; background:linear-gradient(to left, #000,#fff,rgba(0,0,0,0.1)); background-color: rgba(0,0,0,0.2); background-image: linear-gradient(to bottom, rgba(255,255,255,0.2) 0px, rgba(0,0,0,0.4) 100%); padding:20px; float:none !important; margin: 0 auto; margin-left:40px; margin-right:40px; border-radius: 2px; box-shadow: 0px 0px 15px 10px #EAEAEA; border: 1px solid #FFF; font-stretch: normal; border-radius: 20px; border-size:6px; } video { background:#000; background:url(//webmx.me/assets/img/void.gif); height: 14em; border-radius: 20px; border-size:6px; } pre { border-left: 2px solid pink; margin-left: 2em; padding-left: 1em; }
// check jQuery load. if ((typeof $) == "function") { // Begin processing JQuery commands when DOM is first ready $(document).ready(function () { // check for CSS Box Model Support if ($.support.boxModel) { // Add ToolTip $("div#PhotoEssayBlock ul#PhotoEssayList li img").each(function () { // IE7 can't render the tooltip arrow, so AFPS requested it hover over the image instead. if ($.browser.msie && $.browser.version == "7.0") { $(this).ToolTip( { text: $(this).attr("title"), additionalClassName: "PhotoEssayToolTip", offset: { left: 0, top: 98 }, orientation: "top" }); } else { $(this).ToolTip( { text: $(this).attr("title"), additionalClassName: "PhotoEssayToolTip", offset: { left: 0, top: -5 }, orientation: "top" }); } }); // Add ToolTip to Special reports $("div#SpecialBannerWrapper img").each(function () { // IE7 can't render the tooltip arrow, so AFPS requested // it hover over the image instead. if ($.browser.msie && $.browser.version == "7.0") { $(this).ToolTip( { text: $(this).attr("title"), additionalClassName: "SpecialsToolTip", offset: { left: 0, top: 98 }, orientation: "top" }); } else { $(this).ToolTip( { text: $(this).attr("title"), additionalClassName: "SpecialsToolTip", offset: { left: 0, top: -5 }, orientation: "top" }); } }); // Add ToolTip to Original Programs $("div#OrigProgsBannerWrapper img").each(function () { // IE7 can't render the tooltip arrow, so AFPS requested // it hover over the image instead. if ($.browser.msie && $.browser.version == "7.0") { $(this).ToolTip( { text: $(this).attr("title"), additionalClassName: "OriginalProgramsToolTip", offset: { left: 0, top: 98 }, orientation: "top" }); } else { $(this).ToolTip( { text: $(this).attr("title"), additionalClassName: "OriginalProgramsToolTip", offset: { left: 0, top: -5 }, orientation: "top" }); } }); // Photo Essay Viewer launch $("div#PhotoEssayBlock ul#PhotoEssayList li a").click(function () { var $this = $(this); window.open($this.attr("href"), "tfWin", "width=740,height=580,resizable=no,scrollbars=no,toolbar=nomenubar=no"); return false; }); // Add ToolTip to Images with news story $("div.NewsBlock div.NewsSummaryBlock img").each(function () { $(this).ToolTip( { text: $(this).attr("alt"), maxTextSize: 99, additionalClassName: "NewsPhotoToolTip", offset: { left: -15, top: -5 }, orientation: "top" }); }); // Add dotted line between grouped items in the SideBar $("div#SideBarStoriesBlock ul").each(function () { $(this).children("li:gt(0)").css("background", "url(/images/2.1/line_dotted_b2b2b2.gif) top repeat-x"); }); } }); } if((typeof jQuery)=="function"){(function($){$.fn.MainMenu=function(q){var q;return this.each(function(){q=$.extend(true,{subMenuOffsetX:-3,subMenuOffsetY:-1,viewportPadding:5},q);var l=$(this);var m=l.children("ul.Menu");var n=m.children("li.MenuItem");var o=m.add(l.find("ul.SubMenu"));var p;$(o).each(function(i){var j=$(this);var k=j.children("li.MenuItem");j.bind("mouseleave focusout",function(a){a.stopPropagation();var b=$(this);if(b.get(0).className!="Menu"){b.children("li.MenuItemSelected").trigger("unselect")}l.data("MainMenuState").hideTimerID=setTimeout(function(){hideAllSubMenus.apply(l)},500)});j.bind("mouseenter focusin",function(a){a.stopPropagation();clearTimeout(l.data("MainMenuState").hideTimerID)});k.each(function(g){var h=$(this);var i=h.children("a");h.bind("hideSubMenu",function(a){a.stopPropagation();var b=$(this);if(b.children("ul.SubMenu:visible").length>0){hideSubMenu.apply(b)}});h.bind("showSubMenu",function(a){a.stopPropagation();var b=$(this);b.siblings().children("ul.SubMenu").parent().trigger("hideSubMenu");if(b.has("ul.SubMenu").length>0){showSubMenu.apply(b)}});h.bind("select",function(a){var b=$(this);b.addClass("MenuItemSelected");b.children("a").children("div.MenuItemArrow").addClass("MenuItemArrowSelected");b.children("a").addClass("MenuItemSelected");b.siblings(".MenuItemSelected").trigger("unselect");if(b.parent().get(0).className=="Menu"){a.stopPropagation()}});h.bind("unselect",function(a){a.stopPropagation();var b=$(this);b.removeClass("MenuItemSelected");b.children("a").children("div.MenuItemArrow").removeClass("MenuItemArrowSelected");b.children("a").removeClass("MenuItemSelected")});i.bind("mouseenter focusin",function(a){clearTimeout(l.data("MainMenuState").hideTimerID);clearTimeout(l.data("MainMenuState").showTimerID);h.trigger("select");if(h.parent().get(0).className=="Menu"){h.trigger("showSubMenu")}else{l.data("MainMenuState").showTimerID=setTimeout(function(){h.trigger("showSubMenu")},250)}});i.bind("touchstart",function(a){a.stopPropagation();clearTimeout(l.data("MainMenuState").hideTimerID);clearTimeout(l.data("MainMenuState").showTimerID);var b=$(this);b.unbind("mouseenter");b.unbind("focusin");b.unbind("mouseover");b.unbind("mouseleave");b.unbind("focusout");b.unbind("mouseout");j.unbind("mouseleave");j.unbind("mouseout");j.unbind("focusout");j.unbind("mouseenter");j.unbind("mouseover");j.unbind("focusin")});i.bind("click",function(b){b.stopPropagation();clearTimeout(l.data("MainMenuState").hideTimerID);clearTimeout(l.data("MainMenuState").showTimerID);var c=$(this);var d=h.children("ul.SubMenu").length;if(d){var e=h.children("ul.SubMenu:visible").length;if(e===0){var f=h.children("ul.SubMenu").eq(0);if(f.children("li.MenuItem").children(".CloseSubMenuItem").length===0){f.append("<li class=\"MenuItem\"><a href=\"\" class=\"CloseSubMenuItem\" style=\"text-align:center;\">[Close]</a></li>");f.children("li.MenuItem").children("a.CloseSubMenuItem").bind("click",function(a){a.stopPropagation();clearTimeout(l.data("MainMenuState").hideTimerID);clearTimeout(l.data("MainMenuState").showTimerID);h.trigger("hideSubMenu");h.trigger("unselect");a.preventDefault();return false})}h.trigger("select");h.trigger("showSubMenu");b.preventDefault();return false}}h.trigger("select");h.trigger("showSubMenu")})})});p={$menuBarItems:n,$allSubMenus:o,showTimerID:0,hideTimerID:0,subMenuOffsetX:q.subMenuOffsetX,subMenuOffsetY:q.subMenuOffsetY,viewportPadding:q.viewportPadding};l.data("MainMenuState",p);renderMenuBar.apply(l)})};function hideAllSubMenus(){var a=$(this);var b=a.data("MainMenuState");b.$allSubMenus.children("li.MenuItemSelected").trigger("hideSubMenu");b.$menuBarItems.filter("li.MenuItemSelected").trigger("unselect")}function hideSubMenu(){var a=$(this);var b=a.find("ul.SubMenu");var c=a.find("li.MenuItemSelected");b.hide();c.each(function(i){$(this).trigger("unselect")})}function showSubMenu(){var a=$(this);var b=a.closest("ul.Menu").closest("div");var c=b.data("MainMenuState");var d=a.children("ul.SubMenu");var e=d.children("li.MenuItem");var f=a.outerWidth();var g=d.outerWidth();var h=$(window).width();var i=$(window).height();var j=$(window).scrollLeft();var k=$(window).scrollTop();var l=a.offset();e.css("width",d.eq(0).innerWidth());if(a.parent().get(0).className=="Menu"){if((parseInt(l.left)+g)>((h-c.viewportPadding)+j)){var m=(parseInt(l.left)+g)-((h-c.viewportPadding)+j);d.css("left",-m)}else{d.css("left","0")}if(parseInt(l.left)<(j+c.viewportPadding)){var m=(j+c.viewportPadding)-parseInt(l.left);d.css("left",m)}}else{d.css("left",f+c.subMenuOffsetX).css("top",c.subMenuOffsetY);if(parseInt(a.parent().css("left"))<c.subMenuOffsetX||(parseInt(l.left)+f+g)>(h-c.viewportPadding)){d.css("left",-(g+c.subMenuOffsetX))}if((parseInt(l.left)-g)<(j+c.viewportPadding)){var m=(j+viewportPadding)-parseInt(l.left);d.css("left",m)}}d.fadeIn(250);renderArrows.apply(e)}function renderMenuBar(){var b=$(this);var c=b.data("MainMenuState");var d=c.$menuBarItems;var e=0;d.each(function(i){var a=$(this);e+=a.width()});if(e<b.width()){var f=b.width()-e;var g=f/d.length;g+=(g/d.length)-4;d.children("a").not("a:last").css("margin-right",g+"px")}else{b.css("width",(e+30)+"px")}}function renderArrows(){var c=$(this).has("ul");c.each(function(i){var a=$(this).children("a");if(a.has(".MenuItemArrow").length===0){a.append("<div class=\"MenuItemArrow\"></div>");var b=a.children(".MenuItemArrow");b.css("top",(a.innerHeight()/2)-(b.outerHeight()/2))}})}})(jQuery)} function IsDownlevelBrowser() { var e = String(navigator.userAgent); if (e.indexOf("MSIE 5") > -1 || e.indexOf("MSIE 4") > -1 || e.indexOf("MSIE 6") > -1) { return 1 } else if (e.indexOf("AppleWebKit") > -1) { if (parseInt(e.substring(e.indexOf("AppleWebKit") + 12), 10) < 500) { return 1 } } else if (e.indexOf("Opera Mini") > -1) { return 1 } else if (e.indexOf("Opera") > -1) { if (parseInt(e.substring(e.indexOf("Opera") + 6), 10) < 8) { return 1 } } else if (e.indexOf("Gecko") > -1) { if (parseFloat(e.substring(e.indexOf("rv:") + 3), 10) < 1.8) { return 1 } } return 0 } function LoadJQuery() { document.write('<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>'); document.write('<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/script/jquery-migrate-1.2.1.min.js"></script>'); document.write('<link rel="stylesheet" type="text/css" href="/style/2.1/dgov.Curtain.css" />') } if (!IsDownlevelBrowser()) { LoadJQuery() }

Related: See More


Questions / Comments: