|
| 1 | +<div class="headerbar"> |
| 2 | + |
| 3 | + <div class="headerbar-leftside"> |
| 4 | + <a href="https://plot.ly/feed/" class="logo" target="_blank"> |
| 5 | + <i class="ploticon-plotlylogo"></i> |
| 6 | + <em>plotly</em> |
| 7 | + </a> |
| 8 | + </div> |
| 9 | + |
| 10 | + <div class="headerbar-rightside hidesmall"> |
| 11 | + |
| 12 | + |
| 13 | + <a href="/settings" id="toolsignin" class="headerbar-nav-item --product-header" target="_self">Sign In</a> |
| 14 | + |
| 15 | + <a class="button --enterprise-quaternary" href="/settings" id="signup" target="_self" style="background:#45A9FF;"> |
| 16 | + SIGN UP |
| 17 | + </a> |
| 18 | + |
| 19 | + {% if page.type == 'example_index' %} |
| 20 | + <a class="button" style="color:#69738a;" href="/2/~bar-chart-excel/?plot_type=Bar%20chart"> |
| 21 | + + NEW PROJECT |
| 22 | + </a> |
| 23 | + <a class="button" style="color:#69738a;" href="https://plot.ly/products/cloud/"> |
| 24 | + UPGRADE |
| 25 | + </a> |
| 26 | + {% else %} |
| 27 | + <a class="button" href="/2/~bar-chart-excel/?plot_type=Bar%20chart"> |
| 28 | + + NEW PROJECT |
| 29 | + </a> |
| 30 | + <a class="button" href="https://plot.ly/products/cloud/"> |
| 31 | + UPGRADE |
| 32 | + </a> |
| 33 | + {% endif %} |
| 34 | + |
| 35 | + <a href="https://plotly.typeform.com/to/seG7Vb" class="typeform-share button --enterprise-quaternary" data-mode="1" target="_blank" onclick="window.mixpanel.track('Typeform demo request');" style="background:#45A9FF;">REQUEST DEMO</a> |
| 36 | + <script>(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id='typef_orm',b='https://s3-eu-west-1.amazonaws.com/share.typeform.com/';if(!gi.call(d,id)){js=ce.call(d,'script');js.id=id;js.src=b+'share.js';q=gt.call(d,'script')[0];q.parentNode.insertBefore(js,q)}})() |
| 37 | + </script> |
| 38 | + |
| 39 | + </div> |
| 40 | + |
| 41 | + <div class="headerbar-nav hidesmall"> |
| 42 | + |
| 43 | + <a href="https://plot.ly/feed/" target="_blank"> |
| 44 | + <span class="headerbar-nav-item ">Feed</span> |
| 45 | + </a> |
| 46 | + |
| 47 | + <a href="https://plot.ly/products/cloud/" target="_blank"> |
| 48 | + <span class="headerbar-nav-item ">Pricing</span></span> |
| 49 | + </a> |
| 50 | + |
| 51 | + <a href="http://dashboards.ly/" target="_blank"> |
| 52 | + <span class="headerbar-nav-item ">Dashboards</span></span> |
| 53 | + </a> |
| 54 | + |
| 55 | + <a href="https://plot.ly/api/" onmouseover="dropDownMenu('api-menu')" onmouseout="hideDropDownMenu('api-menu')" target="_self"> |
| 56 | + <span class="headerbar-nav-item ">API</span><span class="caret"></span> |
| 57 | + </a> |
| 58 | + |
| 59 | + <nav id="api-menu" role="menu" class="dropdown-menu" onmouseover="dropDownMenu('api-menu')" onmouseout="hideDropDownMenu('api-menu')" style="display:none; margin-left: 225px;"> |
| 60 | + <a href="/python" class="dropdown-menu-item" target="_blank">PYTHON</a> |
| 61 | + <a href="/r" class="dropdown-menu-item" target="_blank">R</a> |
| 62 | + <a href="/matlab" class="dropdown-menu-item" target="_blank">MATLAB</a> |
| 63 | + <a href="/javascript-graphing-library" class="dropdown-menu-item" target="_blank">JAVASCRIPT</a> |
| 64 | + <a href="/api" class="dropdown-menu-item" target="_blank">MORE</a> |
| 65 | + </nav> |
| 66 | + |
| 67 | + </div> |
| 68 | + |
| 69 | + <div class="hamburger"> |
| 70 | + <a href='#popmenufull' onclick='return clickfullmenu();'> |
| 71 | + <div id="harburger-menu"></div> |
| 72 | + </a> |
| 73 | + |
| 74 | + </div> |
| 75 | + |
| 76 | +</div> |
| 77 | + |
| 78 | +<!-- POP UP MENU --> |
| 79 | + <div id="popmenufull" style="display:none;"> |
| 80 | + <div class="popupheader"> |
| 81 | + <div class="headerbar-leftside"> |
| 82 | + <a href="/feed/" class="logo"> |
| 83 | + <i class="ploticon-plotlylogo"></i> |
| 84 | + <em>plotly</em> |
| 85 | + </a> |
| 86 | + </div> |
| 87 | + <a href='#popmenufull' onclick='return clickfullmenu();'> |
| 88 | + <div class="close"><img alt="close" src="http://i.imgur.com/esVZHwn.png"></div> </a> |
| 89 | + </div> |
| 90 | + |
| 91 | + <div class="popupmenu"> |
| 92 | + <ul> |
| 93 | + <li><a href="https://plot.ly/feed/">Explore</a></li> |
| 94 | + <li><a href="https://plot.ly/products/cloud/">Pricing</a></li> |
| 95 | + |
| 96 | + <div onmouseover="dropDownMenu('sub-industries')" onmouseout="hideDropDownMenu('sub-industries')"> |
| 97 | + <li><a href="https://plot.ly/products/industries/">Industries</a></li> |
| 98 | + <div class="sub-popmenu" id="sub-industries" style="display:none;"> |
| 99 | + <ul class="no-margin"> |
| 100 | + <li class="no-margin"><a href="https://plot.ly/products/industries/finance/">FINANCE</a></li> |
| 101 | + <li class="no-margin"><a href="https://plot.ly/products/industries/insurance/">INSURANCE</a></li> |
| 102 | + <li class="no-margin"><a href="https://plot.ly/products/industries/aerospace/">AEROSPACE</a></li> |
| 103 | + <li class="no-margin"><a href="https://plot.ly/products/industries/energy/">ENERGY</a></li> |
| 104 | + <li class="no-margin"><a href="https://plot.ly/products/industries/research-and-development/">RESEARCH & DEVELOPMENT</a></li> |
| 105 | + <li class="no-margin"><a href="https://plot.ly/products/industries/automotive/">AUTOMOTIVE</a></li> |
| 106 | + <li class="no-margin"><a href="https://plot.ly/products/industries/government-and-public/">GOVERNMENT</a></li> |
| 107 | + <li class="no-margin"><a href="https://plot.ly/products/industries/pharma/">PHARMA & COMPUTATIONAL BIOLOGY</a></li> |
| 108 | + <li class="no-margin"><a href="https://plot.ly/products/industries/journalism/">JOURNALISM</a></li> |
| 109 | + <li class="no-margin"><a href="https://plot.ly/products/industries/business-intelligence/">BUSINESS INTELLIGENCE</a></li> |
| 110 | + </ul> |
| 111 | + </div> |
| 112 | + </div> |
| 113 | + <div onmouseover="dropDownMenu('sub-api')" onmouseout="hideDropDownMenu('sub-api')"> |
| 114 | + <li><a href="https://plot.ly/api/">API</a></li> |
| 115 | + <div class="sub-popmenu" id="sub-api" style="display:none;"> |
| 116 | + <ul class="no-margin"> |
| 117 | + <li class="no-margin"><a href="/python">PYTHON</a></li> |
| 118 | + <li class="no-margin"><a href="/r">R</a></li> |
| 119 | + <li class="no-margin"><a href="/matlab">MATLAB</a></li> |
| 120 | + <li class="no-margin"><a href="/javascript">JAVASCRIPT</a></li> |
| 121 | + <li class="no-margin"><a href="/api">MORE</a></li> |
| 122 | + </ul> |
| 123 | + </div> |
| 124 | + </div> |
| 125 | + </ul> |
| 126 | + </div> |
| 127 | + |
| 128 | + </div> |
| 129 | + |
| 130 | + <!-- POPUP MENU FULL PAGE --> |
| 131 | + <script> |
| 132 | + function clickfullmenu(){ |
| 133 | + var thediv=document.getElementById('popmenufull'); |
| 134 | + if(thediv.style.display == "none"){ |
| 135 | + thediv.style.display = ""; |
| 136 | + }else{ |
| 137 | + thediv.style.display = "none"; |
| 138 | + } |
| 139 | + return false; |
| 140 | + }; |
| 141 | + </script> |
| 142 | + |
| 143 | + <!-- Drop Down Menu --> |
| 144 | + <script> |
| 145 | + function dropDownMenu(divID){ |
| 146 | + var chosenDiv = document.getElementById(divID); |
| 147 | + console.log(chosenDiv); |
| 148 | + if(chosenDiv.style.display == "none"){ |
| 149 | + chosenDiv.style.display = "block"; |
| 150 | + } |
| 151 | + }; |
| 152 | + function hideDropDownMenu(divID){ |
| 153 | + var chosenDiv = document.getElementById(divID); |
| 154 | + console.log(chosenDiv); |
| 155 | + if(chosenDiv.style.display == "block"){ |
| 156 | + chosenDiv.style.display = "none"; |
| 157 | + } |
| 158 | + } |
| 159 | + </script> |
| 160 | + |
| 161 | + <script> |
| 162 | + console.log('got this'); |
| 163 | + var hamburgerDiv = document.getElementById('harburger-menu'); |
| 164 | + var currentUrl = window.location.href; |
| 165 | + var newImg = document.createElement('img'); |
| 166 | + if (currentUrl === 'https://plot.ly/javascript/' ) { |
| 167 | + newImg.setAttribute('src', '{{site.staticurl}}/images/white-hamburger-bg-transparent.png'); |
| 168 | + newImg.setAttribute('alt', 'Menu'); |
| 169 | + newImg.setAttribute('id', 'hamburgerlink'); |
| 170 | + newImg.setAttribute('onmouseover', 'this.src="{{site.staticurl}}/images/blue-hamburger-bg-transparent.png"'); |
| 171 | + newImg.setAttribute('onmouseout', 'this.src="{{site.staticurl}}/images/white-hamburger-bg-transparent.png"'); |
| 172 | + hamburgerDiv.appendChild(newImg); |
| 173 | + } else { |
| 174 | + newImg.setAttribute('src', 'http://i.imgur.com/o7Mxj6T.png'); |
| 175 | + newImg.setAttribute('alt', 'Menu'); |
| 176 | + newImg.setAttribute('id', 'hamburgerlink'); |
| 177 | + newImg.setAttribute('onmouseover', 'this.src="http://i.imgur.com/gj2TtuI.png"'); |
| 178 | + newImg.setAttribute('onmouseout', 'this.src="http://i.imgur.com/o7Mxj6T.png"'); |
| 179 | + hamburgerDiv.appendChild(newImg); |
| 180 | + } |
| 181 | + </script> |
0 commit comments