TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 214
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 189
  • Total: 189

A+ | A - | RESET

Started by os1, March 22, 2006, 02:10:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

China-Garten

#20
I'm sorry to revive this old topic...

I have tried to implement this script into my site. It does work, but the size change is not remembered. Every time I click on something the font-size is at default size again.

What could I have done? What infos do you need to help?

China-Garten

All sizes are put to percentages. All I did was copying the chunks of code into the index.template.php as provided by bloc. Oh yeah, I changed the arrayfor the sizes from 1-5 to 1-4, and changed the other bit to "if ( sz > 4 ) sz = 4;". Now if the arrays are not handled different  than when using Ruby it should work fine.


You can see the test forum here:

http://www.fat-seiten.de/simplemachines/index.php

I would really appreciate your help. I tried to solve it myself over the last days, but no luck yet.

This website is proudly hosted on Crocweb Cloud Website Hosting.