"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/common/src/web/overflow/x_scroll_y_auto.html" (17 Feb 2023, 1053 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE html>
    2 <html>
    3 <head>
    4   <title>Page with overflow</title>
    5   <style>
    6     #over {
    7       width:400px;
    8       height: 300px;
    9       overflow-x: scroll;
   10       overflow-y: auto;
   11     }
   12   </style>
   13 </head>
   14 <body>
   15   <div id="over">
   16     <div style="width: 5000px;">
   17       <div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
   18     </div>
   19     <div style="height: 5000px; width: 5000px;">
   20       Right clicked: <span id="right-clicked"></span></br>
   21       Bottom clicked: <span id="bottom-clicked"></span></br>
   22       Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
   23     </div>
   24     <div style="width: 5000px;">
   25       <div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
   26     </div>
   27     <a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
   28   </div>
   29 </body>
   30 </html>