Header Test

Developer
Size
7,978 Kb
Views
18,216

How do I make an header test?

A collapsed brand bar replaces the header navigation in sections of the site. Clicking on the brand bar reveals it. Scrolling reverts the open header to the brand bar. . What is a header test? How do you make a header test? This script and codes were developed by Todd Moy on 14 October 2022, Friday.

Header Test Previews

Header Test - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Header Test</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <header class="full-header closed-header"></header> <header class="compressed-header open-compressed-header"> <a href="#" id="header-trigger">&nbsp;</a> </header> <section class="content"> <h2>New MR analysis technique reveals brain tumor response to anti-angiogenesis therapy</h2> <p>JANUARY 23 — A new way of analyzing data acquired in MR imaging appears to be able to identify whether or not tumors are responding to anti-angiogenesis therapy, information that can help physicians determine the most appropriate treatments and discontinue ones that are ineffective. In their report receiving online publication in Nature Medicine, investigators from the Martinos Center for Biomedical Imaging at Massachusetts General Hospital (MGH), describe how their technique, called vessel architectural imaging (VAI), was able to identify changes in brain tumor blood vessels within days of the initiation of anti-angiogenesis therapy.</p> <p>"Until now the only ways of obtaining similar data on the blood vessels in patients' tumors were either taking a biopsy, which is a surgical procedure that can harm the patients and often cannot be repeated, or PET scanning, which provides limited information and exposes patients to a dose of radiation," says Kyrre Emblem, PhD, of the Martinos Center, lead and corresponding author of the report. "VAI can acquire all of this information in a single MR exam that takes less than two minutes and can be safely repeated many times."</p> <p>Previous studies in animals and in human patients have shown that the ability of anti-angiogenesis drugs to improve survival in cancer therapy stems from their ability to "normalize" the abnormal, leaky blood vessels that usually develop in a tumor, improving the perfusion of blood throughout a tumor and the effectiveness of chemotherapy and radiation. In the deadly brain tumor glioblastoma, MGH investigators found that anti-angiogenesis treatment alone significantly extends the survival of some patients by reducing edema, the swelling of brain tissue. In the current report, the MGH team uses VAI to investigate how these drugs produce their effects and which patients benefit.</p> <p>Advanced MR techniques developed in recent years can determine factors like the size, radius and capacity of blood vessels. VAI combines information from two types of advanced MR images and analyzes them in a way that distinguishes among small arteries, veins and capillaries; determines the radius of these vessels and shows how much oxygen is being delivered to tissues. The MGH team used VAI to analyze MR data acquired in a phase 2 clinical trial – led by Tracy Batchelor, MD, director of Pappas Center for Neuro-Oncology at MGH and a co-author of the current paper – of the anti-angiogenesis drug cediranib in patients with recurrent glioblastoma. The images had been taken before treatment started and then 1, 28, 56, and 112 days after it was initiated.</p> <p>In some patients, VAI identified changes reflecting vascular normalization within the tumors – particularly changes in the shape of blood vessels – after 28 days of cediranib therapy and sometimes as early as the next day. Of the 30 patients whose data was analyzed, VAI indicated that 10 were true responders to cediranib, whereas 12 who had a worsening of disease were characterized as non-responders. Data from the remaining 8 patients suggested stabilization of their tumors. Responding patients ended up surviving six months longer than non-responders, a significant difference for patients with an expected survival of less than two years, Emblem notes. He adds that quickly identifying those whose tumors don't respond would allow discontinuation of the ineffective therapy and exploration of other options.</p> <p>Gregory Sorensen, MD, senior author of the Nature Medicine report, explains, "One of the biggest problems in cancer today is that we do not know who will benefit from a particular drug. Since only about half the patients who receive a typical anti-cancer drug benefit and the others just suffer side effects, knowing whether or not a patient's tumor is responding to a drug can bring us one step closer to truly personalized medicine – tailoring therapies to the patients who will benefit and not wasting time and resources on treatments that will be ineffective." Formerly with the Martinos Center, Sorensen is now with Siemens Healthcare.</p> <p>Study co-author Rakesh Jain, PhD, director of the Steele Laboratory in the MGH Department of Radiation Oncology, adds, "This is the most compelling evidence yet of vascular normalization with anti-angiogenic therapy in cancer patients and how this concept can be used to select patients likely to benefit from these therapies."</p> <p>Lead author Emblem notes that VAI may help further improve understanding of how abnormal tumor blood vessels change during anti-angiogenesis treatment and could be useful in the treatment of other types of cancer and in vascular conditions like stroke. He and his colleagues are also exploring whether VAI can identify which glioblastoma patients are likely to respond to anti-angiogenesis drugs even before therapy is initiated, potentially eliminating treatment destined to be ineffective. A postdoctoral research fellow at the Martinos Center at the time of the study, Emblem is now a principal investigator at Oslo University Hospital in Norway and maintains an affiliation with the Martinos Center.</p> <p>Additional co-authors of the Nature Medicine paper are Kim Mouridsen, PhD, Christian Farrar, PhD, Dominique Jennings, Ronald Borra, PhD, and Bruce Rosen, MD, PhD, Martinos Center at MGH; Rakesh Jain, PhD, Steele Laboratory of Tumor Biology, MGH Radiation Oncology; Atle Bjornerud, PhD, University of Oslo, Norway; Patrick Wen, MD, Dana-Farber Cancer Institute; and Percy Ivy, MD, National Cancer Institute. Support for the study includes numerous grants from the U.S. Public Health Service, the National Cancer Institute and other funders.</p> <p>Massachusetts General Hospital, founded in 1811, is the original and largest teaching hospital of Harvard Medical School. The MGH conducts the largest hospital-based research program in the United States, with an annual research budget of more than $775 million and major research centers in AIDS, cardiovascular research, cancer, computational and integrative biology, cutaneous biology, human genetics, medical imaging, neurodegenerative disorders, regenerative medicine, reproductive biology, systems biology, transplantation biology and photomedicine.</p> </section> <section class="sidebar"> <a class="title"><span>Cancer Center</span></a> <ul class="subnav"> <li><a href="">Lorem Polonius</a></li> <li><a href="">Ipsum &amp; Dolor</a></li> <li><a href="">Sit &amp; Amet Nonummy</a></li> <li><a href="">Exemplar</a></li> <li><a href="">Constact Um</a></li> </ul> </section>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Header Test - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Roboto:300);
body { font-family: sans-serif; line-height: 1.5em; color: #333;
}
div, section { box-sizing: border-box;
}
h2 { font-family: Roboto; font-size: 1.5em; font-weight: bold; margin-bottom: 1em; margin-top: 0.3em; line-height: 1.3em;
}
.wrapper { width: 1000px; margin: 0 auto;
}
.sidebar { width: 333.33333px; padding: 20px; float: left;
}
.sidebar .title { display: block; background: url(http://www.massgeneral.org/assets/images/logos/logo_mgh_cancer.gif) no-repeat; width: 100%; height: 61px; margin-bottom: 2em; margin-top: 1em;
}
.sidebar .title span { margin-left: -999px;
}
.sidebar .subnav { font-family: Roboto;
}
.sidebar .subnav a { color: #333; font-size: 14px; display: block; width: 100%; padding: 10px 5px; border-top: solid #dedede 1px; text-decoration: none;
}
.sidebar .subnav a:hover { background-color: #efefef;
}
.content { float: right; width: 666.66667px; padding: 20px;
}
.content p { margin-bottom: 1em;
}
.compressed-header { width: 1000px;
}
.compressed-header a { display: block; width: 100%; height: 40px; background: url(https://f.cl.ly/items/3P3U1F1n0p1J151j3t0g/Menu%20-%20Header%20-%20Compressed.png) no-repeat;
}
.full-header { width: 1000px; height: 132px; background: url(https://f.cl.ly/items/2U2q2H3c2G0U2m201M1d/Menu%20-%20Header%20-%20Expanded%20Black.png) no-repeat;
}
.opened-header { -webkit-animation: open-header 0.3s; -webkit-animation-fill-mode: forwards;
}
.closed-header { -webkit-animation: close-header 0.1s; -webkit-animation-fill-mode: forwards;
}
.closed-compressed-header { margin-top: -132px; margin-bottom: 92px; opacity: 0.0;
}
.open-compressed-header { -webkit-animation: open-compressed-header 0.1s; -webkit-animation-fill-mode: forwards;
}
@-webkit-keyframes open-header { from { margin-top: -92px; } to { margin-top: 0px; }
}
@-webkit-keyframes close-header { from { margin-top: 0px; } to { margin-top: -132px; }
}
@-webkit-keyframes open-compressed-header { from { margin-top: -132px; opacity: 0; } to { margin-top: 0px; opacity: 1.0; }
}
@-webkit-keyframes close-compressed-header {}

Header Test - Script Codes JS Codes

$(document).ready(function(){ $(".sidebar").sticky( {topSpacing:0} ); // $(".compressed-header").sticky( {topSpacing:0} ); $("#header-trigger").click(function(){ $(".full-header").addClass("opened-header").removeClass("closed-header"); $(".compressed-header").addClass("closed-compressed-header").removeClass("open-compressed-header"); }); $(window).scroll(function() { headerIsClosed = $(".full-header").hasClass("closed-header"); headerIsOpen = !headerIsClosed; currentScrollPosition = $(window).scrollTop(); if( currentScrollPosition <=0 && headerIsClosed ){ // $(".full-header").addClass("opened-header").removeClass("closed-header"); // $(".compressed-header").addClass("closed-compressed-header").removeClass("open-compressed-header"); } if( currentScrollPosition >=131 && headerIsOpen ){ $(".compressed-header").removeClass("closed-compressed-header").addClass("open-compressed-header"); $(".full-header").addClass("closed-header").removeClass("opened-header"); } });
});
// Sticky Plugin v1.0.0 for jQuery
// =============
// Author: Anthony Garand
// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
// Improvements by Leonardo C. Daronco (daronco)
// Created: 2/14/2011
// Date: 2/12/2012
// Website: http://labs.anthonygarand.com/sticky
// Description: Makes an element on the page stick on the screen as you scroll
// It will only set the 'top' and 'position' of your element, you
// might need to adjust the width in some cases.
(function($) { var defaults = { topSpacing: 0, bottomSpacing: 0, className: 'is-sticky', wrapperClassName: 'sticky-wrapper', center: false, getWidthFrom: '' }, $window = $(window), $document = $(document), sticked = [], windowHeight = $window.height(), scroller = function() { var scrollTop = $window.scrollTop(), documentHeight = $document.height(), dwh = documentHeight - windowHeight, extra = (scrollTop > dwh) ? dwh - scrollTop : 0; for (var i = 0; i < sticked.length; i++) { var s = sticked[i], elementTop = s.stickyWrapper.offset().top, etse = elementTop - s.topSpacing - extra; if (scrollTop <= etse) { if (s.currentTop !== null) { s.stickyElement .css('position', '') .css('top', ''); s.stickyElement.parent().removeClass(s.className); s.currentTop = null; } } else { var newTop = documentHeight - s.stickyElement.outerHeight() - s.topSpacing - s.bottomSpacing - scrollTop - extra; if (newTop < 0) { newTop = newTop + s.topSpacing; } else { newTop = s.topSpacing; } if (s.currentTop != newTop) { s.stickyElement .css('position', 'fixed') .css('top', newTop); if (typeof s.getWidthFrom !== 'undefined') { s.stickyElement.css('width', $(s.getWidthFrom).width()); } s.stickyElement.parent().addClass(s.className); s.currentTop = newTop; } } } }, resizer = function() { windowHeight = $window.height(); }, methods = { init: function(options) { var o = $.extend(defaults, options); return this.each(function() { var stickyElement = $(this); var stickyId = stickyElement.attr('id'); var wrapper = $('<div></div>') .attr('id', stickyId + '-sticky-wrapper') .addClass(o.wrapperClassName); stickyElement.wrapAll(wrapper); if (o.center) { stickyElement.parent().css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"}); } if (stickyElement.css("float") == "right") { stickyElement.css({"float":"none"}).parent().css({"float":"right"}); } var stickyWrapper = stickyElement.parent(); stickyWrapper.css('height', stickyElement.outerHeight()); sticked.push({ topSpacing: o.topSpacing, bottomSpacing: o.bottomSpacing, stickyElement: stickyElement, currentTop: null, stickyWrapper: stickyWrapper, className: o.className, getWidthFrom: o.getWidthFrom }); }); }, update: scroller }; // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer): if (window.addEventListener) { window.addEventListener('scroll', scroller, false); window.addEventListener('resize', resizer, false); } else if (window.attachEvent) { window.attachEvent('onscroll', scroller); window.attachEvent('onresize', resizer); } $.fn.sticky = function(method) { if (methods[method]) { return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); } else if (typeof method === 'object' || !method ) { return methods.init.apply( this, arguments ); } else { $.error('Method ' + method + ' does not exist on jQuery.sticky'); } }; $(function() { setTimeout(scroller, 0); });
})(jQuery);
Header Test - Script Codes
Header Test - Script Codes
Home Page Home
Developer Todd Moy
Username toddmoy
Uploaded October 14, 2022
Rating 3
Size 7,978 Kb
Views 18,216
Do you need developer help for Header Test?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Todd Moy (toddmoy) Script Codes
Create amazing marketing copy with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!