473,770 Members | 3,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to detect table width or height?

Is there some way --using, say, DOM or javascript-- to detect the
current pixel width and/or height of a relatively sized table or of
one of its columns or rows. I'm going to be writing javascript to
adjust my page to the viewer's browser window dimensions and this
would sure be great information to have.

Thanks ....
Dennis
Jul 20 '05
157 16454
On Sat, 18 Oct 2003 16:00:43 -0400, Stan Brown
<th************ @fastmail.fm> wrote:
In article <52************ *************** *****@4ax.com> in
comp.infosyste ms.www.authoring.html, Dennis
<theonlyDennis @removeForSpam_ mindspring.com> wrote:
On Thu, 16 Oct 2003 15:50:26 -0400, Stan Brown
<th********** **@fastmail.fm> wrote:
So your choice by using Flash is for complete success or complete
failure, as opposed to 100% success or partial success if you don't
use Flash.
Something like 97% of web surfers out there do. And those few who
don't can easily get it. End of problem.


97%, huh? Why did you make up that particular number? Why didn't you
say 95%? or 99.2% or 67.1%?

Guilty until proven innocent, huh? Alright, may it please the court:
http://www.macromedia.com/software/p...s/flashplayer/
But what will _really_ happen is that people will go to your site,
see that it depends on Flash, and go elsewhere, unless you offer
content that they want and can't get anywhere else, which seems
unlikely.
OK Mr. Statistics, how many web surfers turn away when they see a
Flash site? Give us a source and not just a personal opinion.
Why do you post here if you don't want to listen to the feedback you
get?


What have I said that makes you think that I don't want to listen? Is
that I am taking a view different from the mainstream in this NG? Is
that "not wanting to listen"?
Jul 20 '05 #51
Sometime around Sun, 19 Oct 2003 20:17:23 -0700, Dennis is reported to have
stated:
http://www.macromedia.com/software/p...s/flashplayer/


This report has been discussed here previously. The statistics are based
on 2000 participants - not a very large number considering the total number
of internet users - who are supposedly a "representa tive Internet sample".
I find that unlikely. I bet they all have perfect/near-perfect eyesight,
for starters.

And of course, no matter how accurate the figures might or might not be,
they ignore one of the most important visitors to your site - the search
engine robots. I guarantee they don't have Flash installed. :-)

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #52
Dennis wrote:
On Sat, 18 Oct 2003 05:51:20 GMT, Brian
<us*****@juliet remblay.com.inv alid-remove-this-part> wrote:
Dennis wrote:
Something like 97% of web surfers out there do.
Source, please. Or did you just make this up?


Here ya go,
http://www.macromedia.com/software/p...s/flashplayer/


rotfl
A real unbiased source that is!
Whether they actually go to the trouble of downloading and
installing software for your content is another matter.


Well all you can do is make something available to people.


My sites are written in HTML. No additional software required.
If they refuse to use it, that's not your problem.


It is if I want them to visit.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #53
Dennis wrote:
On Thu, 16 Oct 2003 07:26:10 -0500, kchayka <kc*********@si hope.com>
wrote:

You have decided that this look you envision is more important than
usability and accessibility?


No. I am doing it in Flash precisely for usability. A page is more
usable if the user can see at a glance where everything is and not
have to scroll around to find it. And steps can be taken to make it
also accessible.


Well, color me skeptical but I have yet to see Flash used in such a way
that the usability is *better* than without Flash. Could you give us a
hint and throw us an URL to *any* site that uses Flash and has good
usability in your opinion. I haven't yet seen any. [1]

If there aren't any such site in existence yet, how did you figure out
that you can come up with one or that even trying to do that with Flash
would be a great idea?
[1] The only thing that has even remotely nice features and uses Flash
is http://www.kartoo.com/. I think that the usability could be much
better but using Flash makes some sense in this case. (HTML version
could be much better though, so the comparision between the Flash and
HTML versions of that site isn't fair.)

--
Mikko

Jul 20 '05 #54
Mark Parnell wrote:
Sometime around Sun, 19 Oct 2003 20:17:23 -0700, Dennis is reported
to have stated:
http://www.macromedia.com/software/p...s/flashplayer/


This report has been discussed here previously. The statistics are
based on 2000 participants - not a very large number considering the
total number of internet users - who are supposedly a "representa tive
Internet sample". I find that unlikely. I bet they all have
perfect/near-perfect eyesight, for starters.

And of course, no matter how accurate the figures might or might not
be, they ignore one of the most important visitors to your site - the
search engine robots. I guarantee they don't have Flash installed.
:-)


I have Flash installed. I also run with it switched off. So statistics on
Flash availability may exaggerate its use.

I have only come across 2 sites in the last few months where this has been a
problem. In one case, I persuaded the site owner to add alternative links (it
used Flash buttons). The other case is ... Macromedia! I have to switch on
Flash to access the Dreamweaver extensions. It is the only case for a long
time where I have needed to use Flash.

I now tend to assume that Flash is used as a substitute for valuable content,
and treat the site accordingly. I may sometimes be wrong (eg. Macromedia), and
so miss something important. But there are millions of other sites out there,
and I can't evaluate each one thoroughly. So, like many people, I apply crude
measures - and that includes "Flash = bad news".

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #55
"Barry Pearson" <ne**@childsupp ortanalysis.co. uk> wrote in message
news:hI******** **********@news fep2-gui.server.ntli .net...
I have Flash installed. I also run with it switched off. So statistics on
Flash availability may exaggerate its use.


Why do you run with it switched off?
Jul 20 '05 #56
"Brian" <us*****@juliet remblay.com.inv alid-remove-this-part> wrote in
message > My sites are written in HTML. No additional software required.

Really? Cuz I had to download this thing called a "browser" to view it. I
suppose I could've just used Notepad to view your site but it seems that a
"browser" enhances my ability to view your site.

Seriously though, wouldn't it be better to try and educate the people who
post questions here instead of badgering them and scaring them off to less
knowledgable sources that would actually encourage poor design.

Jonathan
Jul 20 '05 #57
"Mikko Rantalainen" <mi**@st.jyu.fi > wrote in message
Well, color me skeptical but I have yet to see Flash used in such a way
that the usability is *better* than without Flash. Could you give us a
hint and throw us an URL to *any* site that uses Flash and has good
usability in your opinion. I haven't yet seen any. [1]


The charts on http://www.infosoftglobal.com/FusionCharts/Gallery.html can be
an effective way of displaying tabular or more complex information. I've
also seen a Flash-based application for reporting gate information for an
airport. And I like the navigation on Macromedia.com. I've also seem some
chat apps (like the one at teknision.com) that would be downright hideous in
HTML.

Your Jakob-ian response that because the technology is abused it shouldn't
be used is just as applicable to HTML.

Jonathan
Jul 20 '05 #58
Jonathan Snook wrote:
"Barry Pearson" <ne**@childsupp ortanalysis.co. uk> wrote in message
news:hI******** **********@news fep2-gui.server.ntli .net...
I have Flash installed. I also run with it switched off. So
statistics on Flash availability may exaggerate its use.


Why do you run with it switched off?


Because I want as much control as possible over movement & delays. (Until
recently, when I was being a "web user" rather than a "web developer", I used
{IE 6 + Free Surfer + Google Toolbar}. Free Surfer also enabled me the inhibit
animated GIFs. Now I'm using {IE 6 + Avant Browser + Google Toolbar}, and
can't do this).

I am normally seeking information presented in a sensible way, not
entertainment or special effects. For the latter, I watch "Matrix Reloaded"
(wow!) or whatever. I want things that stay still, and stay quiet. (I dislike
being in the same office as a moving screen-saver, or the same room as a TV
with the sound turned down).

Flash is used for various purposes, from Flash Buttons (is there a point to
these?), through showing information in a value-added way, to showing
information that could at least as well be shown without Flash (in which case
some sites offer the option), to just demonstrating the size of the
developer's ego (enough said). The genuine "value-added" case appears to exist
for specialised purposes, but for some reason I am not interested those
particular specialisms.

The Macromedia site is just about one of the few sites that demands Flash that
I can't walk away from. Grrrrggh!

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #59
Jonathan Snook wrote:
Seriously though, wouldn't it be better to try and educate the people who
post questions here instead of badgering them and scaring them off to less


Is "badgering" the Word of the Week or something?
Matthias

Jul 20 '05 #60

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

Similar topics

14
2151
by: Carl Gilbert | last post by:
Hi I am currently writing a site that utilises tables. I have one page that links to a second page. The only problem is that when I link to the second page, the table loads up with a different height than was set in the code. However, when I use the navigation buttons in IE to go back and then forward again to the second page, the table is displayed as expected.
10
7855
by: John | last post by:
I have a table with two rows. On the first row is a text box and in the second row is an image. I have set the table cellpadding to 0 and cellspacing to 0. The table is leaving extra spaces in the rows on the top and bottom of the picture and image. I need to make the height of the rows to be the same as the textbox and image. How do I do this? I have tried even setting the height of the table and all the <td> and <tr> tags to 1 but have...
1
4332
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i want to make first text as Table Heading/menu category. For examle in the given menu i want to make a heading as "Comp. Languages" which won't be a link. 2) The position of this menu is absolute to the page. I want to make it absolute to the Table...
1
2013
by: andrewkooi | last post by:
Greetings, I have 16 links for my horizontal menu navigation as you can see in my website www.singakad.com and at present, I am using a table and javascript for this menu. Is it possible for me to create a submenu for certain cells in this horizontal menu? How do I go about doing this? Thank you in advance for any assistance given.
11
3581
by: Norman L. DeForest | last post by:
Am I misunderstanding the CSS specifications or is Firefox (version 1.0.6) (and Opera) doing the wrong thing? It appears that Firefox 1.0.6 includes the border in width calculations for tables but not in height calculations. Oh, and Opera version 8.02 does the same thing. |<-->| |<-->| <------ border |<------------>| <------ table contents
3
2039
by: Chifo | last post by:
hello. i have a problem with a populate html table with data from table here it's the problem two querys retrieving data from table, one of querys show me a colletion of data from 6:00 am to 15:30 pm timestampz, i put this on a part of html table. when time on my if condition es great than 15:31, showme data from 15:31 to 23:59 timestamp and populate another part of html table. but, data in html first part,it's gone away.
5
2121
by: outstretchedarm | last post by:
I'm extremely new to javascript and to programming in general. I am trying to create an interactive table. I have already created the table with constants, in the key of C (it is for music). what I would like to do is to create a dropdown box that would enable the user to select all 12 keys, then based on that choice, have the whole table re-calculate, basically transposing all the data up or down. how would I go about doing this.
2
16419
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using to overlap correctly. You can see it on this page: www.creativekaysjewelry.com The images overlap exactly how I wanted and in the right position
1
5194
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into a div table and after I save it I noticed that the slideshow does not show up and the embed code I added is altered. Can anyone help me figure this out? The embed code that I'm talking about is three quarters down the code page under {PHOTOS},...
1
3247
by: azura | last post by:
how can i get this textfield auto detect?? because i try not to using view name button... i want when i enterd this matric no., the student name will appear automatically when i insert the matric no.. <table width="416" height="70" border="1"> <tr> <td width="87" height="33"><strong>Matric No</strong> </td> <td width="7"><div align="center">:</div></td> <td width="300"><input name="matric"...
0
9425
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,...
0
10057
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 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...
0
9869
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 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...
0
8883
agi2029
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...
1
7415
isladogs
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...
0
5312
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...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3970
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2816
bsmnconsultancy
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...

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.