OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Opera Text Sizes
This page's ID:
10757
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I havent tested it thoroughly on all browsers, but here's some code that should do the job for you: [code] <html> <body> <script language="javascript"> var jsCrLf = String.fromCharCode(10,13); var lngCookieValue = 1.0; document.cookie = ""; var intBegin = document.cookie.indexOf("=") + 1; if (intBegin != 0) { lngCookieValue = document.cookie.substring(intBegin, document.cookie.length); } document.write("<style>" + jsCrLf + "div {" + jsCrLf + "font-family: arial; font-size: " + lngCookieValue + "em; color: blue;" + jsCrLf + "}" + jsCrLf + "</style>"); function fBiggerSmaller(fltIncrement) { document.cookie = "fontSizeCookie = " + escape(parseFloat(lngCookieValue) + fltIncrement) document.location.reload(); } </script> <div> more fun than an open casket funeral </div> <div> <a href="javascript: fBiggerSmaller(0.5)">+</a> <a href="javascript: fBiggerSmaller(-0.5)">-</a> </div> </body> </html> [/code] hth I:.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »