PC Review


Reply
Thread Tools Rate Thread

Change text content font dynamically

 
 
.._..
Guest
Posts: n/a
 
      30th Oct 2007
I am looking for a code sample that can change the font size of paragraphs
or styles in a page with a click of a button or on a link.

So, three choices "small, medium, large" and when "large" is clicked by the
user, the font size on the page jumps to a larger font.

It seems I saw one somewhere, but am having difficulty sorting the terms out
to find it in Google again.

TIA


 
Reply With Quote
 
 
 
 
Ian Haynes
Guest
Posts: n/a
 
      30th Oct 2007

>I am looking for a code sample that can change the font size of paragraphs
> or styles in a page with a click of a button or on a link.
>


See http://www.alistapart.com/articles/relafont or
http://www.dyn-web.com/dhtml/sizefont/sizerdx.php

These should do what you want.


--
Ian Haynes
MS MVP FrontPage
http://www.ew-resource.co.uk

 
Reply With Quote
 
.._..
Guest
Posts: n/a
 
      31st Oct 2007

"Ian Haynes" <(E-Mail Removed)> wrote in message
news:064EC971-CC3B-42F1-9498-(E-Mail Removed)...
>
>>I am looking for a code sample that can change the font size of paragraphs
>> or styles in a page with a click of a button or on a link.
>>

>
> See http://www.alistapart.com/articles/relafont or
> http://www.dyn-web.com/dhtml/sizefont/sizerdx.php
>
> These should do what you want.
>
>
> --
> Ian Haynes
> MS MVP FrontPage
> http://www.ew-resource.co.uk


Awesome, thanks a bunch.


 
Reply With Quote
 
P@tty Ayers
Guest
Posts: n/a
 
      31st Oct 2007
Why do you want to do this? All modern browsers allow the user to resize
HTML text on any web site.

--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--

".._.." <.._..@yourmom.mil> wrote in message
news:OHMVi.39686$(E-Mail Removed)...
>I am looking for a code sample that can change the font size of paragraphs
>or styles in a page with a click of a button or on a link.
>
> So, three choices "small, medium, large" and when "large" is clicked by
> the user, the font size on the page jumps to a larger font.
>
> It seems I saw one somewhere, but am having difficulty sorting the terms
> out to find it in Google again.
>
> TIA
>



 
Reply With Quote
 
.._..
Guest
Posts: n/a
 
      1st Nov 2007
Well, I wouldn't use it for that reason as well. Howeer, when you get some
customer who wants a whiz bang feature often "you don't need that" is not an
acceptable answer.

As whiz bang crap users add to a web site, that's not a particularly bad
one. It could be a 1.2 meg flash entry page or something much worse.

"P@tty Ayers" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Why do you want to do this? All modern browsers allow the user to resize
> HTML text on any web site.
>
> --
> Patty Ayers | www.WebDevBiz.com
> Free Articles on the Business of Web Development
> Web Design Contract, Estimate Request Form, Estimate Worksheet
> --
>
> ".._.." <.._..@yourmom.mil> wrote in message
> news:OHMVi.39686$(E-Mail Removed)...
>>I am looking for a code sample that can change the font size of paragraphs
>>or styles in a page with a click of a button or on a link.
>>
>> So, three choices "small, medium, large" and when "large" is clicked by
>> the user, the font size on the page jumps to a larger font.
>>
>> It seems I saw one somewhere, but am having difficulty sorting the terms
>> out to find it in Google again.
>>
>> TIA
>>

>
>



 
Reply With Quote
 
P@tty Ayers
Guest
Posts: n/a
 
      1st Nov 2007
With all due respect, I disagree. Over the years, I've told many, many
clients that they don't need some "whiz-bang" feature, and been willing to
spend time and effort explaining and telling them my recommendations as a
professional. I consider this one of the things they pay me to do.

I find that *most* of the time, they listen to me. They don't always, but I
always give it a good try before just giving in.

--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--

".._.." <.._..@yourmom.mil> wrote in message
newsLmWi.39739$(E-Mail Removed)...
> Well, I wouldn't use it for that reason as well. Howeer, when you get
> some customer who wants a whiz bang feature often "you don't need that" is
> not an acceptable answer.
>
> As whiz bang crap users add to a web site, that's not a particularly bad
> one. It could be a 1.2 meg flash entry page or something much worse.
>
> "P@tty Ayers" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Why do you want to do this? All modern browsers allow the user to resize
>> HTML text on any web site.
>>
>> --
>> Patty Ayers | www.WebDevBiz.com
>> Free Articles on the Business of Web Development
>> Web Design Contract, Estimate Request Form, Estimate Worksheet
>> --
>>
>> ".._.." <.._..@yourmom.mil> wrote in message
>> news:OHMVi.39686$(E-Mail Removed)...
>>>I am looking for a code sample that can change the font size of
>>>paragraphs or styles in a page with a click of a button or on a link.
>>>
>>> So, three choices "small, medium, large" and when "large" is clicked by
>>> the user, the font size on the page jumps to a larger font.
>>>
>>> It seems I saw one somewhere, but am having difficulty sorting the terms
>>> out to find it in Google again.
>>>
>>> TIA
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get content of text boxes dynamically created tarscher@gmail.com Microsoft ASP .NET 5 3rd Sep 2006 09:47 AM
Report must be 1 page - can I dynamically change font prior to printing? Larry Kahm Microsoft Access Reports 4 20th Jun 2006 02:49 PM
Display dynamically updated text (non-editable) from content in do =?Utf-8?B?TW9pbkFV?= Microsoft Word Document Management 1 19th Jul 2005 07:28 PM
Change Font of a Form Dynamically Jack Wright Microsoft Dot NET Framework Forms 3 19th May 2004 04:08 PM
How to change font size dynamically? VB Programmer Microsoft VB .NET 5 5th Sep 2003 04:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:07 AM.