Is there a limit to how many items can be in a jump list?
My script worked fine with 126 items, but at 152 items it just doesn't
work. When I select a page from the drop down menu it will only bring
me to one particular Web page among the 152, a page I haven't
selected. It's the same page all the time.
The alternative reason why it doesn't work is that I've munged up some
part of the javascript. I've had to adjust all 152 items by hand, so I
may well have screwed something up. Does anyone know of a piece of
software or some technique that will allow me to just highlight a list
of file names and turn them into a jump list? The way I'm doing it is
tedious.
Here's a truncated version of my javascript, the file names have been
changed to protect the guilty.
<!--Here's where the javascript begins.-->
<script language='JavaS cript'>
<!--
function jump()
{
jval=document.j oform.jsel.sele ctedIndex;
if (jval==0)
{
loc='foobar_12-22-03.html';
}
if (jval==1)
{
loc='foobar_12-08-03.html';
}
if (jval==2)
{
loc='foobar_11-24-03.html';
}
if (jval==3)
{
loc='foobar_11-10-03.html';
}
if (jval==4)
{
loc='foobar_10-27-03.html';
}
.....
if (jval==150)
{
loc='foobar_02-23-98.html';
}
if (jval==151)
{
loc='foobar_02-09-98.html';
}
window.open(loc ,'_top')
}
// End JavaScript -->
</script>
And of course there's a form.
<form name="joform" size=1>
<select name="jsel">
<option selected>Web page for December 21/22, 2003
<option>Web page for December 7/8, 2003
<option>Web page for November 23/24, 2003
<option>Web page for November 9/10, 2003
<option>Web page for October 26/27, 2003
.....
<option>Web page for February 22/23, 1998
<option>Web page for February 8/9, 1998
</select>
<a href="javascrip t:jump()"><img src="graphic.jp g" width="44"
height="28" align="Absmiddl e" border="0" alt="click here to see the
page"></a>
</form>
Any hints would be appreciated. I may just be too tired by this time
to be able to see the obvious.