![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||||
| |||||
|
|
Thanx, that was very helpful. Although there would appear to be a bug in IE 6 where this technique: a {display: block;} li><a href="..." title="...">....</a></li Does not work when embedded in a <table> (Note, it DOES work if it is in the first TD, other TDs you need to be over the text itself) |
|
I guess I am trying to draw a balance. This HTML is going to be very large - probably 100k or so after it is dynamically created. so I was trying to keep the size down by moving redundant code to JavaScript routines. For example, rather then have a title="a description that is repeated in many places">my hot text </a I use Javascript. The above line might appear 200+ times in the HTML report. So in an attempt to keep the physical file size smaller I use the onmouseover etc to put in my help hint. I can achieve similar results (window.status vs title attrib) and save a lot of bytes in terms of overall file size. |
|
Considering I have no choice but to use Javascripting in other areas (and hence required in order for the report to render correctly) would you still advise on using title="" vs JavaScript? |
|
I do have a NOSCRIPT tag to advise the user they need it turned on. |
|
thanx for your input -randall ps- care to see the work in progress... http://www.bytewise.com.au/test/reportwriterproto.html |
#12
| ||||
| ||||
|
|
"Randall Sell" <randallsell (AT) nospam (DOT) yahoo.com> wrote: Does not work when embedded in a <table> (Note, it DOES work if it is in the first TD, other TDs you need to be over the text itself) I've had some problems with IE in this area, are any of the containing elements floated or positioned? That seems to have an effect. Otherwise, yeah it's a pain when IE gets its knickers in a twist. |
|
But looking at the messages your setting, I wouldn't bother at all. This is not an application for the general public and so the users should know basic things such that a link will "Show detailed grader information." |
They need as much|
I do have a NOSCRIPT tag to advise the user they need it turned on. You need to put the noscript element in the body of the page, not the head, and the message should be a bit friendlier. |
|
I get a constant stream of JavaScripr error messages in IE6. |
#13
| |||
| |||
|
|
To play it safe, I placed it before any <script> declaration. It seems to work fine in the header or in the body. |
![]() |
| Thread Tools | |
| Display Modes | |
| |