I just would like to share some of my observation on how Firefox 3.5 on Ubuntu Jaunty Jackalope renders HTML:
I have the following entries in my JSP page:
<a title="myLink" href="[some url]">link 1</a>
<a title="myLink" href="[some url]">link 2</a>
<a title="myLink" href="[some url]">link 3</a>
<a title="myLink" class="hiddenLink" href="[some url]">link 4</a>
<a title="myLink" class="hiddenLink" href="[some url]">link 5</a>
<a title="myLink" class="hiddenLink" href="[some url]">link 6</a>
<button>more links</button>
The above links are shown on Firefox as:
link 4 to link 6 are hidden.
link 1 link2 link3
I attach a javascript on the 'more links button' using jQuery:
$("a[href ^='myLink']:hidden").show();
to show links 4 to 6 on the page. This is how firefox renders the links if I click the 'more links' button:
link 1 link2 link3
link 4
link 5
link 6