| <html> |
| <head> |
| <style> |
| #spacer { |
| width: 100%; |
| height: 1000px; |
| background-color: yellow; |
| } |
| </style> |
| </head> |
| <body> |
| |
| <p> |
| Scroll the page, ensure that the two labels move nicely along with the rest of the document. |
| </p> |
| |
| <div> |
| <object type="application/x-qt-plugin" classid="alien_QLabel" name="label1" height="30"></object> |
| </div> |
| |
| <div> |
| <object type="application/x-qt-plugin" classid="QLabel" name="label2" height="30"></object> |
| </div> |
| |
| <div id="spacer"><p> </p></div> |
| |
| <script> |
| document.label1.setText("Label one"); |
| document.label2.setText("Label two"); |
| </script> |
| </body> |
| </html> |