My client wants to have some text scale appropriately depending on the
resolution of the screen. This is very much like the way that flash works in
that as the area being displayed gets bigger, the font gets bigger,
smaller - it gets smaller. Trying to write flash is turning out to have some
problems and it sorta works (I found a library by ComponentOne which does
most of the stuff but not everything.)
One thing to make it a bit easier is that this app runs 99.9% of the time
full screen so I could make the stuff dependent on screen resolution through
JavaScript but I'm looking for a better way of doing it.
Can anybody give suggestions on how to do this without flash? I'm really at
a loss.
TIA - Jeffrey. 3 2766
"UJ" <fr**@nowhere.c om> wrote in
news:#g******** ******@TK2MSFTN GP14.phx.gbl: My client wants to have some text scale appropriately depending on the resolution of the screen. This is very much like the way that flash works in that as the area being displayed gets bigger, the font gets bigger, smaller - it gets smaller. Trying to write flash is turning out to have some problems and it sorta works (I found a library by ComponentOne which does most of the stuff but not everything.)
One thing to make it a bit easier is that this app runs 99.9% of the time full screen so I could make the stuff dependent on screen resolution through JavaScript but I'm looking for a better way of doing it.
Can anybody give suggestions on how to do this without flash? I'm really at a loss.
Use % for your table sizes... and use relative CSS font sizes.
--
Lucas Tam (RE********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
Newmarket Volvo Sucks! http://newmarketvolvo.tripod.com
you can use clientscript (not too hard, depending on the effect desired),
but the easiest is an image of the text. just scale (set width and height)
the image to the screen size.
-- bruce (sqlwork.com)
"UJ" <fr**@nowhere.c om> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. My client wants to have some text scale appropriately depending on the resolution of the screen. This is very much like the way that flash works in that as the area being displayed gets bigger, the font gets bigger, smaller - it gets smaller. Trying to write flash is turning out to have some problems and it sorta works (I found a library by ComponentOne which does most of the stuff but not everything.)
One thing to make it a bit easier is that this app runs 99.9% of the time full screen so I could make the stuff dependent on screen resolution through JavaScript but I'm looking for a better way of doing it.
Can anybody give suggestions on how to do this without flash? I'm really at a loss.
TIA - Jeffrey.
When you say an image of the text what do you mean? This is text that needs
to change frequently by the user so it needs to be something that we can
automate.
"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. you can use clientscript (not too hard, depending on the effect desired), but the easiest is an image of the text. just scale (set width and height) the image to the screen size.
-- bruce (sqlwork.com) "UJ" <fr**@nowhere.c om> wrote in message news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. My client wants to have some text scale appropriately depending on the resolution of the screen. This is very much like the way that flash works in that as the area being displayed gets bigger, the font gets bigger, smaller - it gets smaller. Trying to write flash is turning out to have some problems and it sorta works (I found a library by ComponentOne which does most of the stuff but not everything.)
One thing to make it a bit easier is that this app runs 99.9% of the time full screen so I could make the stuff dependent on screen resolution through JavaScript but I'm looking for a better way of doing it.
Can anybody give suggestions on how to do this without flash? I'm really at a loss.
TIA - Jeffrey.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: News Central |
last post by:
I resize a control in a Form wth Scale mode set to vbInches. However, the
control's size changes in different screen resolution, I thought that if
Scale mode is set to vbInchs, then the control should have the same size
regardless of screen resolution... can anyone tell me why? thanks :>
|
by: Peter |
last post by:
Hi at all,
how can I do to make a css file to change automatically the text size of the
text that is into a table relatively the screen size?
I.E. if the screen is 800 x I want the text size=10pt but if it is 1024 I
want the text size =12 pt.
Thank in advance
Peter
|
by: Peter |
last post by:
I would like to automatically resize a window to its content. I was thinking
of using an outer table to detect the size of my content, then use
window.resizeTo( ).
The problem is I'm not sure how I can determine the size of what I think is
referred to as the 'chrome' - the window borders, toolbars, etc.
Is there a way to determine the height and width of the chrome so that I can
supply the correct parameters to the resizeTo method?
|
by: Chris Beall |
last post by:
I'm struggling with how to handle, on a web page, images that contain
text that the user must be able to read. Examples: tombstone photos,
photos or scans of historic documents (handwritten or typed), a map with
place names, route numbers, etc.
(An appropriate alternative for audio UAs would be provided and is not a
part of my concern).
I see two ways to handle these images:
1. Dynamic scaling, with the source image containing enough...
|
by: mukeshgupta.WD |
last post by:
Hi,
i have seen in many web sites, the size of pages are automatically
resized according to screen resolution.
generally we create web layout for 800x600 but if we view it in1024x768
then the page open have wide space on right.
Is there any kind of coding to overcome this situation.like when we
wiew the page created in 800x600 in 1024x768 resol. then it
atomatically resized to full screen without having any scroll on
browser.
| |
by: kklickman |
last post by:
I've got a page with two columns: one floats left, the other doesn't
float. The page displays fine in Netscape no matter what. In IE (both
6 and 7), it looks fine as long as the browser window is more than 800
pixels wide. However, when the browser window gets narrow, IE pushes
the text in the right-hand column to below where the left-hand column
ends. I can't figure out where I went wrong.
Sample page is...
|
by: tshad |
last post by:
This was posted before but the message got messed up (all NLs were stripped
out for some reason).
I have 2 labels that hold the name of different images on my .aspx page.
<asp:Label ID="Logo" runat="server"/>
<asp:Label ID="CompanyPicture" runat="server"/>
I have 2 links that open the windows to preview these images. The previewed
images are done on separate html pages that do nothing but display the
|
by: Cartoper |
last post by:
I am working on a browser kiosk needs to be able to be run at multiple
screen resolutions. What I would like to do is keep the text the same
size relative to the screen, all the time.
In other words, lets say there is a table with 10 rows and 4 columns
that is centered with a 5% of the screen as a boarder around it. If
you have two 17 inch monitors, one at 1024x768 and the other at
1280x1024 sitting next to each other, I would like the...
|
by: AliR \(VC++ MVP\) |
last post by:
I'm trying to write a RTF render code in C#. I have the code in C++/MFC and
it works fine, but I have run into a problem with the C# code. I think the
C# code is from Microsoft, and I added scaling to it. The C# code is
working fine on my desktop PC but it cuts off some of the text when I run it
on my laptop. The MFC code works fine both on the laptop and the PC. I
have looked at all the numbers used in the MFC and the C# code and they...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |