On Tue, 2007-03-20 at 11:14 +0100, :murb: [maarten brouwers] wrote: > have been resolved, see: > http://website.openoffice.org/tryouts/murb/download8/ > > Would you be so kind to verify this for me? (Please check also some > other browsers). There are some function assignments being made in a for > loop, iterating over all li (the downloads are items in a <ul>) that > contain one <a href> element inside the div with the id > "downloadextendedtext" (which is basically the text that appears after > clicking on "Download OpenOffice.org" after first page load.
It works, but why such a complicated JavaScript based implementation?
See the issues Shaun pointed out.
Why don't you turn those inner <ul>s with the details into <div>s or
<span>s and make the <a>s cover the whole inner part of the outer <li>s?
Like (simplified):
<ul>
<li>
<a>
<div>Windows</div>
<div>
<span>All versions (>98)</span>
<span>(93MB)</span>
</a>
</li>
</ul>
You can drop the whole JavaScript loop then and things like link
destination preview in the statusbar and the like would work.
Possibly you could even keep your <ul> construct within that extended <a>,
although i believe this would violate strict HTML or something.
Highlighting of the boxes should then be done in CSS, too (using a:hover).
André.
signature.asc
Description: This is a digitally signed message part
