473,396 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Dynamically changing TextSize

Hi,

I was wondering on the best way to change the text size of website. I have
seen these effect on the dotnetnuk web http://www.dotnetnuke.com/ , where you
have a link to change the size of the text. Is it just a case of using
javascript to set the prefered stylesheet to use ? or is there a better way.
Thanks

Neil
Oct 6 '06 #1
2 1039
Neil,
That's correct. You have all the stylesheets loaded, then use
javascript to set them. You can actually see the JS code for this if you
ViewSource on the DNN homepage.

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Neil Steventon" <Ne***********@discussions.microsoft.comwrote in message
news:ED**********************************@microsof t.com...
Hi,

I was wondering on the best way to change the text size of website. I have
seen these effect on the dotnetnuk web http://www.dotnetnuke.com/ , where
you
have a link to change the size of the text. Is it just a case of using
javascript to set the prefered stylesheet to use ? or is there a better
way.
Thanks

Neil

Oct 6 '06 #2
Cool,

I thought that was the case. I have tended to stay away from javascript but
can see that I may need to delve into it more as a lot of clients are wanting
changes to websites I can see only possible with javascript. Thanks for the
reply.

Neil
"Mark Fitzpatrick" wrote:
Neil,
That's correct. You have all the stylesheets loaded, then use
javascript to set them. You can actually see the JS code for this if you
ViewSource on the DNN homepage.

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Neil Steventon" <Ne***********@discussions.microsoft.comwrote in message
news:ED**********************************@microsof t.com...
Hi,

I was wondering on the best way to change the text size of website. I have
seen these effect on the dotnetnuk web http://www.dotnetnuke.com/ , where
you
have a link to change the size of the text. Is it just a case of using
javascript to set the prefered stylesheet to use ? or is there a better
way.
Thanks

Neil


Oct 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Satish Kumar Chimakurthi | last post by:
Hi all, An external solver program is dynamically producing files with different names 0000001.dat, 0000002.dat, 0000003.dat etc.....at regular intervals. These files contain all numeric data....
3
by: lanky_tx | last post by:
Hi All, We have an automated build and test environment using NAnt and Nunit. Some of our assemblies are being strong named by modifying the AssemblyInfo.cs and having csc compile it. Some of...
1
by: Dennis Marks | last post by:
I have a page with 3 divisions overlaying each other. I dynamically change the visibility to switch between them. On the Mac version of IE 5.1 I am not able to activate the scroll bars after making...
9
by: pablo | last post by:
Dear NGers, I would like to change the alt-text with the changing of the image during a mouseover action. Can document.images.altView be changed dynamically? TIA, pablo
5
by: Angel | last post by:
Is there a way to create an IFRAME dynamically via VB.NET. In other words creating the HTML element in the server side code? thanks in advance....
0
by: Bauke Veenstra | last post by:
Running the example from the excellent PIL handbook gives an error, after these two lines: ps.setfont("HelveticaNarrow-Bold", 36) w, h, b = ps.textsize(title) AttributeError: PSDraw instance has...
2
by: John | last post by:
Hi Everyone, I have a question about dynamically changing the length of a varchar(n) field, in case the value I'm trying to insert is too big and will give a "truncated" error, but before the...
3
by: ICPooreMan | last post by:
The following is a very simple example of what I want to do take an elements oncontextmenu and changing it dynamically onclick of that same element. The code below will fail unless you change the...
1
by: hellohi | last post by:
Hello Everyone, I wanted to change the existing variable names dynamically.( like www.aol.com ) in this site images and some text is changing dynamically. like wise i need javascrip to write ...
2
missshaikh
by: missshaikh | last post by:
hi friends I am programming a website which will include ad banners. The requirements are that the banners will be dynamically changing for each page. By this I mean that if there are ten...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.