Show More
@@ -284,18 +284,21 b' define([' | |||||
284 | var xinit = (head.left+anchor.left)/2; |
|
284 | var xinit = (head.left+anchor.left)/2; | |
285 | var xinter = o.left + (xinit - o.left) / w * (w - 450); |
|
285 | var xinter = o.left + (xinit - o.left) / w * (w - 450); | |
286 | var posarrowleft = xinit - xinter; |
|
286 | var posarrowleft = xinit - xinter; | |
|
287 | ||||
|
288 | var left = xinter - 30 + 'px'; | |||
|
289 | var top = (head.bottom + 10 - $("#header").height()) + 'px'; | |||
287 |
|
290 | |||
288 | if (this._hidden === false) { |
|
291 | if (this._hidden === false) { | |
289 | this.tooltip.animate({ |
|
292 | this.tooltip.animate({ | |
290 |
|
|
293 | left: left, | |
291 |
|
|
294 | top: top | |
292 | }); |
|
295 | }); | |
293 | } else { |
|
296 | } else { | |
294 | this.tooltip.css({ |
|
297 | this.tooltip.css({ | |
295 |
|
|
298 | left: left | |
296 | }); |
|
299 | }); | |
297 | this.tooltip.css({ |
|
300 | this.tooltip.css({ | |
298 |
|
|
301 | top: top | |
299 | }); |
|
302 | }); | |
300 | } |
|
303 | } | |
301 | this.arrow.animate({ |
|
304 | this.arrow.animate({ |
@@ -293,6 +293,8 b' data-notebook-path="{{notebook_path}}"' | |||||
293 | </div> |
|
293 | </div> | |
294 | </div> |
|
294 | </div> | |
295 |
|
295 | |||
|
296 | <div id='tooltip' class='ipython_tooltip' style='display:none'></div> | |||
|
297 | ||||
296 | {% endblock %} |
|
298 | {% endblock %} | |
297 |
|
299 | |||
298 | {% block after_site %} |
|
300 | {% block after_site %} | |
@@ -304,8 +306,6 b' data-notebook-path="{{notebook_path}}"' | |||||
304 | <div id='pager-button-area'></div> |
|
306 | <div id='pager-button-area'></div> | |
305 | </div> |
|
307 | </div> | |
306 |
|
308 | |||
307 | <div id='tooltip' class='ipython_tooltip' style='display:none'></div> |
|
|||
308 |
|
||||
309 | {% endblock %} |
|
309 | {% endblock %} | |
310 |
|
310 | |||
311 | {% block script %} |
|
311 | {% block script %} |
General Comments 0
You need to be logged in to leave comments.
Login now