zooming

P

Peter

--


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
 
R

rf

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.
 
E

Edward Alfert

Peter wrote


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."
 
R

rf

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".
 
E

Edward Alfert

Edward Alfert


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

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

Peter

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
 
P

Peter

Peter said:
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
 
R

rf

Edward Alfert
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 :)
 
J

jake

Peter said:
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.
 
E

Edward Alfert

Edward Alfert

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. :)
 
P

Peter

jake said:
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.
I would like to avoid javascript. I don´t understand the beginning of
it. So when I just copy that I don´t understand what I´m doing.
I don´t like that
Peter

--



Het Digit@@l Café is een initiatief van de Stichting Welzijn
Ouderen Aalsmeer (SWOA)

SWOA


Digit@@l Café


De computer-stamtafel van de oud(er)e in Aalsmeer

Door de cursor boven de gekleurde woorden te houden kun je een
toelichting lezen.

ATTENTIE!!!In verband met de waarschuwing van de overheid over de
gevaren van Internet Explorer, zijn de pagina´s op deze site opnieuw
opgezet. Voor het surfen op het Internet gebruik ik nu het programma
"Mozilla".Daarbij heb ik dankbaar gebruik gemaakt van de adviezen van
Els (een deskundige op het gebied van het ontwerpen van websites). Kijk
maar eens op http://locusmeus.com <#> OPGEPAST!!! juli 2004: Nu
waarschuwt ook de Amerikaanse overheid over de gevaren van Internet
Explorer. Reden om voorzichtig te zijn! <#>

In 2002 heeft de SWOA De Stichting Welzijn Ouderen Aalsmeer" <#> het
Digit@@l Café opgericht. De start vond plaats in het Buurthuis aan de
Roerdomplaan. Burgemeester Hoffscholte stelde de gebruikte computers die
de Stichting gekregen heeft in werking. De bedoeling van het Digit@@l
Café is dat de generatie die niet met een toetsenbord in de hand geboren
is toch de voordelen van een computer te laten ervaren.In 2003 kwam er
een ruimte beschikbaar in MEANDER Het wijksteunpunt van de Stichting
welzijn Ouderen Aalsmeer aan de Clematisstraat 22 in het gebouw van het
Kloosterhof <#> Door een ruime ondersteuning van de RABO-bank Aalsmeer
Uithoorn konden 5 gloednieuwe computers worden aangeschaft. Er is nu een
vaste kern van bezoekers, die zich steeds uitbreidt.Er zouden met gemak
nog 5 computers bij kunnen, maar de ruimte daarvoor is er niet. Wij gaan
op zoek naar notebooks. Sponsors zijn van harte welkom. Want die dingen
zijn erg duur.

Deze pagina is onderdeel van een SITE Een site is een plek op het
Internet.Er komen naar schatting 1.500.000 sites per dag bij. Niemand
zal ze dus ooit allemaal kunnen bezoeken. Een site, zoals deze kan weer
meerdere pagina´s bevatten" <#>
Hieronder staan LINKSLinks zijn verbindingen naar andere pagina´s op
deze site en verbindingen naar andere sites. Daar ga je naar toe als je
er op klikt. <#>

* Wat Waar Wanneer <wat.htm>
* De Vrijwilligers <vrijwilligers.htm>
* Andere Sites <links.htm>
* Wat kost dat? <tarieven.htm>
* Krantenartikelen <krantenartikelen.htm>
* Naar de website van Meander zelf
<http://pjm.fateback.com/meander/index.htm>

Deze pagina is het laatst bijgewerkt op:


© 2004 Peter J.M. Smit wdglogo-small (gevalideerd)
 
N

Neal

I would like to avoid javascript. I don´t understand the beginning of
it. So when I just copy that I don´t understand what I´m doing.
I don´t like that
Peter


Well, Peter, what can we do? What you want to do requires some scripting.
If we don't do it that way, the best way is to simply make the text easily
resizable.

This is simply done by using either no font-size changes, or only CSS
which specifies font-size: 100% - then the standard font-size adjustments
on all browsers will be able to accomplish the font size change. Also, if
the user already has a larger font set, they'll get the content in their
set preference.
 
M

Michael Wilcox

Peter said:
I would like to avoid javascript. I don´t understand the beginning of
it. So when I just copy that I don´t understand what I´m doing.
I don´t like that

Well, it's either JavaScript or some server-side language like PHP, and
the latter would probably be more difficult to understand. Or, you could
take the advice of Richard and simply not include it. If you don't mess
with the fonts and sizes in the first place, you won't have a problem.
 
P

Peter

Michael said:
Well, it's either JavaScript or some server-side language like PHP, and
the latter would probably be more difficult to understand. Or, you could
take the advice of Richard and simply not include it. If you don't mess
with the fonts and sizes in the first place, you won't have a problem.
I had hoped there would be another solution, just to accommodate old
people with little understanding of how computers work, so they won´t
know themselves how to increase the font-size.
Peter

--



Het Digit@@l Café is een initiatief van de Stichting Welzijn
Ouderen Aalsmeer (SWOA)

SWOA


Digit@@l Café


De computer-stamtafel van de oud(er)e in Aalsmeer

Door de cursor boven de gekleurde woorden te houden kun je een
toelichting lezen.

ATTENTIE!!!In verband met de waarschuwing van de overheid over de
gevaren van Internet Explorer, zijn de pagina´s op deze site opnieuw
opgezet. Voor het surfen op het Internet gebruik ik nu het programma
"Mozilla".Daarbij heb ik dankbaar gebruik gemaakt van de adviezen van
Els (een deskundige op het gebied van het ontwerpen van websites). Kijk
maar eens op http://locusmeus.com <#> OPGEPAST!!! juli 2004: Nu
waarschuwt ook de Amerikaanse overheid over de gevaren van Internet
Explorer. Reden om voorzichtig te zijn! <#>

In 2002 heeft de SWOA De Stichting Welzijn Ouderen Aalsmeer" <#> het
Digit@@l Café opgericht. De start vond plaats in het Buurthuis aan de
Roerdomplaan. Burgemeester Hoffscholte stelde de gebruikte computers die
de Stichting gekregen heeft in werking. De bedoeling van het Digit@@l
Café is dat de generatie die niet met een toetsenbord in de hand geboren
is toch de voordelen van een computer te laten ervaren.In 2003 kwam er
een ruimte beschikbaar in MEANDER Het wijksteunpunt van de Stichting
welzijn Ouderen Aalsmeer aan de Clematisstraat 22 in het gebouw van het
Kloosterhof <#> Door een ruime ondersteuning van de RABO-bank Aalsmeer
Uithoorn konden 5 gloednieuwe computers worden aangeschaft. Er is nu een
vaste kern van bezoekers, die zich steeds uitbreidt.Er zouden met gemak
nog 5 computers bij kunnen, maar de ruimte daarvoor is er niet. Wij gaan
op zoek naar notebooks. Sponsors zijn van harte welkom. Want die dingen
zijn erg duur.

Deze pagina is onderdeel van een SITE Een site is een plek op het
Internet.Er komen naar schatting 1.500.000 sites per dag bij. Niemand
zal ze dus ooit allemaal kunnen bezoeken. Een site, zoals deze kan weer
meerdere pagina´s bevatten" <#>
Hieronder staan LINKSLinks zijn verbindingen naar andere pagina´s op
deze site en verbindingen naar andere sites. Daar ga je naar toe als je
er op klikt. <#>

* Wat Waar Wanneer <wat.htm>
* De Vrijwilligers <vrijwilligers.htm>
* Andere Sites <links.htm>
* Wat kost dat? <tarieven.htm>
* Krantenartikelen <krantenartikelen.htm>
* Naar de website van Meander zelf
<http://pjm.fateback.com/meander/index.htm>

Deze pagina is het laatst bijgewerkt op:


© 2004 Peter J.M. Smit wdglogo-small (gevalideerd)
 
N

Neal

I had hoped there would be another solution, just to accommodate old
people with little understanding of how computers work, so they won´t
know themselves how to increase the font-size.
Peter

Peter, you could put a note on the page ("Is the text too small?") linking
to an explanation of how to change size in most browsers. It's very simple
in IE, which most of your users will be using. All users should be able to
learn this, it's only a little more complicated than the Back button.
 
J

jake

Peter said:
I had hoped there would be another solution, just to accommodate old
people with little understanding of how computers work, so they won´t
know themselves how to increase the font-size.
Peter
No, I'm afraid it's either Javascript -- or a server-side solution.

If you feel it's an important facility that needs to be provided (and I
quite like the idea of giving non-computer literate folk an easy way to
adjust their viewing preferences) it's going to have to be one or the
other :-(

regards.
 
S

Sam Hughes

--even better I found it on this site :http://www.glish.com/
the possibility to change back en forth in size.
Peter

Just so you know, you have this tendency to put your replies in a manner
that makes them show up as a sig - you are putting them below a line that
consists of two hyphens and a space: "-- ". Many newsreaders show this in
a different font, or not at all, and when replying they just cut out the
sig all-together. It's confusing and weird, so please don't continue
doing that.
 
P

Peter

jake said:
No, I'm afraid it's either Javascript -- or a server-side solution.

If you feel it's an important facility that needs to be provided (and I
quite like the idea of giving non-computer literate folk an easy way to
adjust their viewing preferences) it's going to have to be one or the
other :-(

regards.
Thanks everybody. I know for sure that I won´t be able to do this for
my old visitors that also come to the " Digitaal Café" to learn how to
surf on the Internet. I´ll have to learn more myself to find a proper
solution.
Thanks again
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,182
Latest member
BettinaPol

Latest Threads

Top