Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <div>
- <script...> <!--JavaScript that generates the table of contents--> </script>
- </div>
- <div id='showPageUrl' style="height:auto;position:absolute;bottom:0"></div>
- <script...> showURL(document.URL) </script>
- </body>
- function showUrl(url) {
- var sel = document.getElementById('showPageUrl');
- if (sel!==null) {
- sel.innerHTML = url;
- }
- }
- #showPageUrl { word-break: break-all; }
- .text {
- position: absolute;
- display: block;
- width: 100%;
- bottom: 0;
- white-space: pre-wrap; /* css-3 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -pre-wrap; /* Opera 4-6 */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word; /* Internet Explorer 5.5+ */
- }
- .example {
- word-wrap: break-word;
- overflow-wrap: break-word;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement