AzirQuantum (Talk | contribs) |
AzirQuantum (Talk | contribs) |
||
Line 9: | Line 9: | ||
<script> | <script> | ||
− | function | + | function getTop(el){ |
− | + | var e = document.getElementById(el) | |
− | + | var offset=e.offsetTop; | |
− | + | if(e.offsetParent!=null) offset+=getTop(e.offsetParent); | |
− | + | return offset; | |
− | + | } | |
− | return | + | |
− | } | + | |
− | + | ||
+ | var y_coordinate = getTop("menu_blank") | ||
window.onload = function top_button() { | window.onload = function top_button() { |
Revision as of 02:21, 17 October 2018
Sample
I. Sample
a. Sample
This is a Picture. This is a Picture. This is a Picture. This is a Picture.
This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture.
This is a Picture. This is a Picture. This is a Picture. This is a Picture.
This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture. This is a Picture.