Hi
I have in 2 days tried to customize this cod on http://www.dyn-web.com/dhtml/sizefont/index.php
I tried to customize so only specific area on the site change font. Well, I get it to work!! But when I was finished with customize, then script asking for license, and I figurate this not free for use.
Then I find this weary simple script for free on http://www.dynamicdrive.com/dynamicindex9/textsizer.htm only problems are everything changes on the pages. As I understand you can customize this script, but don’t understand how.
I also test Trips stuff on: http://www.andrewingram.co.za/ but that didn’t work at all.
Anyone here have tip to get good “fontsizer as can customize?
Trip, can you post your “style_changer.js” and other cod to this? I didn’t get your stuff work before but Is have to works!
ff123, try http://www.dynamicdrive.com/dynamicindex9/textsizer.htm instead because that very easy to use and this script don’t reloading your pages every time
About font changes
What's the problem with a reload page?
Besides you don't change font size every minute and your font size choice is also stored in a cookie, so the website recognizes all the time which font size you want to see.
As far as I tested the dynamicdrive script does not remember your preferred font size, so each time you visit, you have to increase font size again.
Another disadvantage of javascript is that a lot of code is sent over the line and excuted by the browser, while php script is nicely executed on the server.
Besides you don't change font size every minute and your font size choice is also stored in a cookie, so the website recognizes all the time which font size you want to see.
As far as I tested the dynamicdrive script does not remember your preferred font size, so each time you visit, you have to increase font size again.
Another disadvantage of javascript is that a lot of code is sent over the line and excuted by the browser, while php script is nicely executed on the server.
-- Vuurvos --
Well, if you have fast internet doesn’t matter, But with slow internet that can be problem if user most reloading pages. Anyway I have use now http://www.dynamicdrive.com/dynamicindex9/textsizer.htm
Very easy to customize!! just make Div ID and name it and put {CONTENT} in to Div tag, if you just want change article font and not other thing on the site
Exampel, DIV name has named to "main".
Then incert button cod in to artcle template, not artcle list, (full article) so button only shows in articel and not index pages etc
Yes dynamicdrive dont use cookie and i think thats good becuase its change to default design when user coms back
Very easy to customize!! just make Div ID and name it and put {CONTENT} in to Div tag, if you just want change article font and not other thing on the site
Exampel, DIV name has named to "main".
Code: Select all
<div style="padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" id="main">{CONTENT}</div>
Yes dynamicdrive dont use cookie and i think thats good becuase its change to default design when user coms back
At a first glance it looks like the script increases the font size of the whole {content}, while you wanna be more specific.
Like keeping <h1> the same font size and the rest an increased font size.
Concerning reload --> browsers tend to cache a site, so reloading a page won't be notified (because of reloading form cache), even with 56k6.
Concerning cookie --> you can set cookie lifetime to 0days, so the browser does not remember your preferred font size.
Like keeping <h1> the same font size and the rest an increased font size.
Concerning reload --> browsers tend to cache a site, so reloading a page won't be notified (because of reloading form cache), even with 56k6.
Concerning cookie --> you can set cookie lifetime to 0days, so the browser does not remember your preferred font size.
-- Vuurvos --