Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > zooming

Reply
Thread Tools

zooming

 
 
Peter
Guest
Posts: n/a
 
      07-26-2004

--


Have been looking everywhere. Canīt find it. I know how to change
fontsizes when visiting a webpage. But I have seen also sites giving
users the opportunity to change the size by pressing one button.
example: http://www.seniorweb.nl/ ( Grote letters).
How can I code that in my webpage? No idea how it is done.
Appreciate any help
Peter
 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      07-26-2004
Peter wrote

> Have been looking everywhere. Canīt find it. I know how to change
> fontsizes when visiting a webpage. But I have seen also sites giving
> users the opportunity to change the size by pressing one button.
> example: http://www.seniorweb.nl/ ( Grote letters).
> How can I code that in my webpage? No idea how it is done.
> Appreciate any help


A look at the source reveals that the stylesheet is served up by a server
side process (an .asp). The link that the grote letters menu pulls down is
buried in that menu system and I couln't be bothered looking for it but I'll
bet it just sends of a parameter to the same page stating what font size is
requested. This is probably then stored in a session variable (and noticed
by the server) so an appropriate style sheet may be built, when it is
requested.

On the other hand this is a re-invented wheel, and a square one at that. The
viewer already has a perfectly servicable user setting available to change
her font size, or she would have if the site had not stupidly specified font
size in pixels, or points.

Please do not consider using this on your site. Specify font size in %,
preferably 100 of them. If you feel you should allow your viewer to change
her font size (assuming she does not know how to) then provide a link to a
page that explains how to do this for the most common browsers.

--
Cheers
Richard.


 
Reply With Quote
 
 
 
 
Edward Alfert
Guest
Posts: n/a
 
      07-26-2004
"rf" <rf@.invalid> wrote in
news:_s5Nc.17408$:

> Peter wrote
>
>> Have been looking everywhere. Canīt find it. I know how to change
>> fontsizes when visiting a webpage. But I have seen also sites giving
>> users the opportunity to change the size by pressing one button.
>> example: http://www.seniorweb.nl/ ( Grote letters).
>> How can I code that in my webpage? No idea how it is done.
>> Appreciate any help

>
> A look at the source reveals that the stylesheet is served up by a
> server side process (an .asp). The link that the grote letters menu
> pulls down is buried in that menu system and I couln't be bothered
> looking for it but I'll bet it just sends of a parameter to the same
> page stating what font size is requested. This is probably then stored
> in a session variable (and noticed by the server) so an appropriate
> style sheet may be built, when it is requested.
>
> On the other hand this is a re-invented wheel, and a square one at
> that. The viewer already has a perfectly servicable user setting
> available to change her font size, or she would have if the site had
> not stupidly specified font size in pixels, or points.
>
> Please do not consider using this on your site. Specify font size in
> %, preferably 100 of them. If you feel you should allow your viewer to
> change her font size (assuming she does not know how to) then provide
> a link to a page that explains how to do this for the most common
> browsers.


Another reason not to use that technique is that search engines will be
able to follow the link and will arrive at a page with the same content.

Search engines might think you did that one purpose in an effort to deceive
them and penalize the site.

see... http://www.google.com/webmasters/guidelines.html

"Don't create multiple pages, subdomains, or domains with substantially
duplicate content."


--
Edward Alfert
http://www.rootmode.com/
Multiple Domain Hosting and Reseller Hosting Plans
Coupon Code (Recurring $5/month Discount): newsgroup

 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      07-26-2004
Edward Alfert

> Another reason not to use that technique is that search engines will be
> able to follow the link and will arrive at a page with the same content.
>
> Search engines might think you did that one purpose in an effort to

deceive
> them and penalize the site.


Search engine bots do not follow javascript generated "links".

--
Cheers
Richard.


 
Reply With Quote
 
Edward Alfert
Guest
Posts: n/a
 
      07-26-2004
"rf" <rf@.invalid> wrote in news57Nc.17579$K53.8934@news-
server.bigpond.net.au:

> Edward Alfert
>
>> Another reason not to use that technique is that search engines will be
>> able to follow the link and will arrive at a page with the same content.
>>
>> Search engines might think you did that one purpose in an effort to

> deceive
>> them and penalize the site.

>
> Search engine bots do not follow javascript generated "links".


In neither the original post or your response did I notice a reference for
javascript.


--
Edward Alfert
http://www.rootmode.com/
Multiple Domain Hosting and Reseller Hosting Plans
Coupon Code (Recurring $5/month Discount): newsgroup

 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      07-26-2004
Edward Alfert wrote:

> "rf" <rf@.invalid> wrote in
> news:_s5Nc.17408$:
>
>
>>Peter wrote
>>
>>
>>>Have been looking everywhere. Canīt find it. I know how to change
>>>fontsizes when visiting a webpage. But I have seen also sites giving
>>>users the opportunity to change the size by pressing one button.
>>>example: http://www.seniorweb.nl/ ( Grote letters).
>>>How can I code that in my webpage? No idea how it is done.
>>>Appreciate any help

>>

snip
>>On the other hand this is a re-invented wheel, and a square one at
>>that. The viewer already has a perfectly servicable user setting
>>available to change her font size, or she would have if the site had
>>not stupidly specified font size in pixels, or points.
>>
>>Please do not consider using this on your site. Specify font size in
>>%, preferably 100 of them. If you feel you should allow your viewer to
>>change her font size (assuming she does not know how to) then provide
>>a link to a page that explains how to do this for the most common
>>browsers.

snip
Of course I can explain how to change the size on antother page. But my
point is that the site is especially for old people. If they have
trouble reading the smaller size it would come in handy to have a button
large enough to read stating "Bigger Fonts" wich they only have to click
on and have everything on the screen larger.
Peter
 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      07-26-2004
Peter wrote:

> Edward Alfert wrote:
>
>> "rf" <rf@.invalid> wrote in
>> news:_s5Nc.17408$:
>>
>>> Peter wrote
>>>
>>>
>>>> Have been looking everywhere. Canīt find it. I know how to change
>>>> fontsizes when visiting a webpage. But I have seen also sites giving
>>>> users the opportunity to change the size by pressing one button.
>>>> example: http://www.seniorweb.nl/ ( Grote letters).
>>>> How can I code that in my webpage? No idea how it is done.
>>>> Appreciate any help
>>>
>>>

> snip
>
>>> On the other hand this is a re-invented wheel, and a square one at
>>> that. The viewer already has a perfectly servicable user setting
>>> available to change her font size, or she would have if the site had
>>> not stupidly specified font size in pixels, or points.
>>>
>>> Please do not consider using this on your site. Specify font size in
>>> %, preferably 100 of them. If you feel you should allow your viewer to
>>> change her font size (assuming she does not know how to) then provide
>>> a link to a page that explains how to do this for the most common
>>> browsers.

>
> snip
> Of course I can explain how to change the size on antother page. But my
> point is that the site is especially for old people. If they have
> trouble reading the smaller size it would come in handy to have a button
> large enough to read stating "Bigger Fonts" wich they only have to click
> on and have everything on the screen larger.
> Peter



--
even better I found it on this site :http://www.glish.com/
the possibility to change back en forth in size.
Peter
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      07-26-2004
Edward Alfert
> "rf" wrote


> > Search engine bots do not follow javascript generated "links".

>
> In neither the original post or your response did I notice a reference for
> javascript.


Then you missed this bit in my post:

<q>
The link that the grote letters menu pulls down is
buried in that menu system
</q>

That menu system is javascript. You would have seen this if you had looked
at the source of the offending page

--
Cheers
Richard.


 
Reply With Quote
 
jake
Guest
Posts: n/a
 
      07-26-2004
In message <4105050c$0$131$>, Peter
<> writes
>Edward Alfert wrote:
>
>> "rf" <rf@.invalid> wrote in
>> news:_s5Nc.17408$:
>>>Peter wrote
>>>
>>>
>>>>Have been looking everywhere. Canīt find it. I know how to change
>>>>fontsizes when visiting a webpage. But I have seen also sites giving
>>>>users the opportunity to change the size by pressing one button.
>>>>example: http://www.seniorweb.nl/ ( Grote letters).
>>>>How can I code that in my webpage? No idea how it is done.
>>>>Appreciate any help
>>>

>snip
>>>On the other hand this is a re-invented wheel, and a square one at
>>>that. The viewer already has a perfectly servicable user setting
>>>available to change her font size, or she would have if the site had
>>>not stupidly specified font size in pixels, or points.
>>>
>>>Please do not consider using this on your site. Specify font size in
>>>%, preferably 100 of them. If you feel you should allow your viewer to
>>>change her font size (assuming she does not know how to) then provide
>>>a link to a page that explains how to do this for the most common
>>>browsers.

>snip
>Of course I can explain how to change the size on antother page. But my
>point is that the site is especially for old people. If they have
>trouble reading the smaller size it would come in handy to have a button
>large enough to read stating "Bigger Fonts" wich they only have to
>click on and have everything on the screen larger.
>Peter


Seems a reasonable idea.

Go here:
http://www.hounslow.gov.uk

and look at the code (both the HTML, CSS, and JavaScript).

That'll show you exactly how to do it, and what to put on your page

Basically, they use a Javascript function to switch between stylesheets.

regards.

--
Jake
 
Reply With Quote
 
Edward Alfert
Guest
Posts: n/a
 
      07-26-2004
"rf" <rf@.invalid> wrote in
news:2R7Nc.17624$:

> Edward Alfert
>> "rf" wrote

>
>> > Search engine bots do not follow javascript generated "links".

>>
>> In neither the original post or your response did I notice a
>> reference for javascript.

>
> Then you missed this bit in my post:
>
> <q>
> The link that the grote letters menu pulls down is
> buried in that menu system
> </q>
>
> That menu system is javascript. You would have seen this if you had
> looked at the source of the offending page


I was too lazy to look at the source.


--
Edward Alfert
http://www.rootmode.com/
Multiple Domain Hosting and Reseller Hosting Plans
Coupon Code (Recurring $5/month Discount): newsgroup

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Image Zooming =?Utf-8?B?QUNhdW50ZXI=?= ASP .Net 1 02-22-2005 08:05 PM
Help with image zooming =?Utf-8?B?QUNhdW50ZXI=?= ASP .Net 0 02-22-2005 03:21 PM
Firefox doesn't change image sizes when zooming Markus Dehmann Firefox 3 02-19-2005 07:46 AM
Firefox using mouse wheel for zooming Jay Catter Firefox 0 10-12-2004 09:54 AM
FireFox and Zooming in/out on pictures on webpages.... Jeff Ingram Firefox 2 05-23-2004 06:38 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57