Team:Peking/test2
From 2010.igem.org
(Difference between revisions)
Evamonlight (Talk | contribs) |
Evamonlight (Talk | contribs) |
||
(2 intermediate revisions not shown) | |||
Line 11: | Line 11: | ||
{{:Team:Peking/accordian}} | {{:Team:Peking/accordian}} | ||
{{:Team:Peking/tab}} | {{:Team:Peking/tab}} | ||
- | {{:Team:Peking/js1}} | + | <!--{{:Team:Peking/js1}} |
{{:Team:Peking/js}} | {{:Team:Peking/js}} | ||
{{:Team:Peking/js2}} | {{:Team:Peking/js2}} | ||
{{:Team:Peking/js3}} | {{:Team:Peking/js3}} | ||
- | {{:Team:Peking/js4}} | + | {{:Team:Peking/js4}}--> |
Line 61: | Line 61: | ||
<!--js global--> | <!--js global--> | ||
<!-- Created by Amit Gaur --> | <!-- Created by Amit Gaur --> | ||
- | + | <script type="text/javascript" src="www.merck.com/js/css_browser_selector.js"></script> | |
- | <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script> | + | <script type="text/javascript" src="www.merck.com/js/jquery-1.3.2.min.js"></script> |
- | <script src="/includes/audio-video/swf/AC_OETags.js" language="javascript" type="text/javascript"></script> | + | <script src="www.merck.com/includes/audio-video/swf/AC_OETags.js" language="javascript" type="text/javascript"></script> |
- | <script language="JavaScript"> | + | <script language="JavaScript"> |
- | <script src="/js/AC_RunActiveContent.js" type="text/javascript"></script | + | |
+ | var externalLinkWarning; | ||
+ | var registeredsymbolstyle; | ||
+ | var registeredsymbolHerostyle; | ||
+ | var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; | ||
+ | |||
+ | if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ | ||
+ | |||
+ | externalLinkWarning = "The link you have selected will take you to a site outside Merck.com. \n\nMerck does not review or control the content of any non-Merck site. Merck does not endorse and is not responsible for the accuracy, content, practices, or standards of any non-Merck sources."; | ||
+ | |||
+ | registeredsymbolstyle = "<sup style='padding:0px;font-size: 0.63em; top:0.23em;line-height: 0.5em;vertical-align:super'>®</sup>"; | ||
+ | registeredsymbolHerostyle="<sup style='padding:0.3em 0em 0em 0em; line-height: 0.5em;top: -0.02em;font-size: 18px;'>®</sup>"; | ||
+ | |||
+ | } | ||
+ | else if (is_chrome == true) | ||
+ | { | ||
+ | externalLinkWarning = "The link you have selected will take you to a site outside Merck.com. \n\nMerck does not review or control the content of any non-Merck site. Merck does not endorse and is not responsible for the accuracy, content, practices, or standards of any non-Merck sources."; | ||
+ | |||
+ | registeredsymbolstyle = "<sup style='padding:0px;font-size: 0.63em; top:-0.01em; line-height: 0.5em;vertical-align:super'>®</sup>"; | ||
+ | registeredsymbolHerostyle="<sup style='padding:-0.01em;top: -0.01em;font-size: 18px;'>®</sup>"; | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | externalLinkWarning = "The link you have selected will take you to a site outside Merck.com. \n\nMerck does not review or control the content of any non-Merck site. Merck does not endorse and is\nnot responsible for the accuracy, content, practices, or standards of any non-Merck sources."; | ||
+ | |||
+ | registeredsymbolstyle = "<sup style='padding:0px;font-size: 0.88em; top:-0.01em;line-height: 0.9em;vertical-align:super;'>®</sup>"; | ||
+ | registeredsymbolHerostyle="<sup style='padding:0.3em 0em 0em 0em;top: -0.02em;font-size: 21px;'>®</sup>"; | ||
+ | } | ||
+ | |||
+ | function extLink(link) { | ||
+ | var elw = externalLinkWarning.replace(/\*n/g,'\n'); | ||
+ | var uc = confirm(elw); | ||
+ | if (uc) | ||
+ | { | ||
+ | window.open(link); | ||
+ | } | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | </script> | ||
+ | <script src="www.merck.com/js/AC_RunActiveContent.js" type="text/javascript"></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 221: | Line 262: | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | <meta http-equiv="content-type" content="text/html; charset=utf-8"/> | ||
<meta name="WT.z_tier" content="1"> | <meta name="WT.z_tier" content="1"> | ||
+ | |||
<!-- thumbnail image for share sites --> | <!-- thumbnail image for share sites --> | ||
<link rel="Icon" type="image/gif" href="" /> | <link rel="Icon" type="image/gif" href="" /> | ||
</head> | </head> | ||
+ | |||
<body class="homePage"> | <body class="homePage"> | ||
Line 307: | Line 350: | ||
<!-- Updated by Amit Gaur on September 01, 2010 --> | <!-- Updated by Amit Gaur on September 01, 2010 --> | ||
- | + | <div id="akamaizer" style="visability:hidden;"> | |
- | + | <a id="homeFlashContainer" href="//a248.e.akamai.net/7/248/430/20100903152039/www.merck.com/includes/audio-video/swf/merck_homepagehero_pureas3.swf"> </a> | |
- | + | <a id="videoPlayerSkinURL" href="//a248.e.akamai.net/7/248/430/20091118043629/www.merck.com/includes/audio-video/swf/assets/swfs/homevideoskin.swf"> </a> | |
- | + | <!-- slide 1 start--> | |
- | + | <a id="mect_videourl" href="//a248.e.akamai.net/7/248/430/20100902183705/www.merck.com/includes/audio-video/swf/assets/vid/mectizan_soh.f4v"></a> | |
- | + | <a id="mect_hero" href="//a248.e.akamai.net/7/248/430/20100902183704/www.merck.com/includes/audio-video/swf/assets/images/mectizan_hero.jpg"></a> | |
- | + | <a id="mect_thumbnailimageurl" href="//a248.e.akamai.net/7/248/430/20100902183704/www.merck.com/includes/audio-video/swf/assets/images/mectizan_thumb.png"></a> | |
- | + | <a id="mect_moreinfourl" href="http://www.merck.com/responsibility/access/access-feature-mectizan.html"></a> | |
- | + | <!-- slide 1 ends--> | |
- | + | ||
- | + | <!-- slide 2 start--> | |
- | + | <a id="mwbe_url" href="/about/how-we-operate/diversity/mwbe_feature.html"></a> | |
- | + | <a id="mwbe_hero1" href="//a248.e.akamai.net/7/248/430/20100805185728/www.merck.com/includes/audio-video/swf/assets/images/mwbe_hero1.jpg"></a> | |
- | + | <a id="mwbe_thumb" href="//a248.e.akamai.net/7/248/430/20100805185728/www.merck.com/includes/audio-video/swf/assets/images/mwbe_thumb.png"></a> | |
- | + | <!-- slide 2 ends--> | |
- | + | <!-- slide 3 start--> | |
- | + | <a id="coppertone_hero" href="//a248.e.akamai.net/7/248/430/20100708185642/www.merck.com/includes/audio-video/swf/assets/images/coppertone_hero.jpg"></a> | |
- | + | <a id="coppertone_thumb" href="//a248.e.akamai.net/7/248/430/20100708185642/www.merck.com/includes/audio-video/swf/assets/images/coppertonethumb.png"></a> | |
- | + | <a id="coppertone_url" href="/product/consumer-products/coppertone.html"></a> | |
- | + | <!-- slide 3 ends--> | |
- | + | <!-- slide 4 start--> | |
- | + | <a id="cardio_url_image" href="//a248.e.akamai.net/7/248/430/20100603193733/www.merck.com/includes/audio-video/swf/assets/images/timetotalkcardio_Logo.jpg"></a> | |
- | + | <a id="cardio_url" href="javascript:displaycardio();"></a> | |
- | + | <a id="cardio_thumb" href="//a248.e.akamai.net/7/248/430/20100603193733/www.merck.com/includes/audio-video/swf/assets/images/cardio_thumb.png"></a> | |
- | + | <a id="cardio_hero" href="//a248.e.akamai.net/7/248/430/20100617183359/www.merck.com/includes/audio-video/swf/assets/images/cardio_hero2.jpg"></a> | |
- | + | <!-- slide 4 ends--> | |
- | + | </div> | |
- | + | <script type="text/javascript"> | |
- | + | var homeFlashContainer; | |
- | + | var videoPlayerSkinURL; | |
- | + | var homeFlashContainerPath = "/includes/audio-video/swf/merck_homepagehero_pureas3.swf"; | |
- | + | if(document.getElementById('homeFlashContainer') != null) | |
- | + | { | |
- | + | homeFlashContainer = document.getElementById('homeFlashContainer'); | |
- | + | } | |
- | + | if(document.getElementById('videoPlayerSkinURL') != null) | |
- | + | { | |
- | + | videoPlayerSkinURL = document.getElementById('videoPlayerSkinURL'); | |
- | + | } | |
- | + | var dataXMLURL = "/includes/audio-video/swf/assets/xml/homepagehero.xml"; | |
+ | var ar_location = String(document.getElementById('homeFlashContainer').href).substr(0,((String(document.getElementById('homeFlashContainer').href).length) - homeFlashContainerPath.length)); | ||
- | + | Site.Page = { | |
- | + | ||
- | + | ||
- | + | PreInit: function() { | |
- | + | this.CreateFlashHero(); | |
- | + | }, | |
- | + | Init: function() {}, | |
- | + | CreateFlashHero: function(){ | |
- | + | swfobject.embedSWF(homeFlashContainer, "hero", "975", "440", "9.0.0", null, {videoPlayerSkinURL:videoPlayerSkinURL,dataXMLURL:(ar_location+dataXMLURL)}, {wmode:"opaque",allowScriptAccess:"always"}, {id:"hero"},this.SwfCallback); | |
- | + | ||
- | + | ||
- | + | ||
}, | }, | ||
SwfCallback: function(e) { | SwfCallback: function(e) { | ||
Line 571: | Line 609: | ||
<!-- Tag Builder Version: 2.0.0 --> | <!-- Tag Builder Version: 2.0.0 --> | ||
<!-- Created: 7/31/2008 15:53:29 --> | <!-- Created: 7/31/2008 15:53:29 --> | ||
- | <script src="/js/webtrends.js" type="text/javascript"></script> | + | <script src="www.merck.com/js/webtrends.js" type="text/javascript"></script> |
- | <script type="text/javascript" src="/js/products.js"></script> | + | <script type="text/javascript" src="www.merck.com/js/products.js"></script> |
- | <script src="/js/mercktracker.js" type="text/javascript"></script> | + | <script src="www.merck.com/js/mercktracker.js" type="text/javascript"></script> |
<script type="text/javascript"> | <script type="text/javascript"> | ||
var mTrack = new MerckTracker(); | var mTrack = new MerckTracker(); |
Latest revision as of 16:20, 19 September 2010
SITE MAP
LEADERSHIP
-
LATEST NEWS more news
-
Sep. 16, 2010
-
Sep. 12, 2010
-
Sep. 07, 2010
-
PRODUCT PIPELINE view
Visit our new interactive pipeline, featuring a wide range of product candidates across each phase of development.
-
ON TOUR learn more
Merck Teams With Asthma and Allergy Foundation of America on Spanish-Language Information Programs
Merck will sponsor an educational booth at the premiere Hispanic family health fairs in the U.S., Vive tu vida! Get Up! Get Moving!™:
- San Diego: Saturday, Sept. 25
- Los Angeles: Saturday, Oct. 16
AsmaEnEspañol.com, is a web resource that provides asthma information in Spanish.