This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > July 2005 > jump menu works, then doesn't
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
jump menu works, then doesn't
|
|
| herod2221 2005-07-30, 7:26 pm |
| I put a jump menu on my site as a way to navigate between different pages in a
'news archive'. on the first page, i can navigate to any of the items listed
in the jump menu. but once on that new page, the same jump menu won't work.
i've created the menu from scratch, and i've tried to copy it from the page
that does work. the web developer toolbar in firebox gives me the error
message that MM_JumpMenu is not defined. i can't understand why it works on
one page, but not another when the code is exactly the same.
http://www.ar.XXXXXX.edu/utsolard/test5/buildit.html
here is the page where the jump menu works. from the jump menu, select 'April
2005'. once in the April 2005 page, try to navigate to any other page through
the jump menu - nothing works! any ideas to fix this? much appreciated.
| |
|
| I am guessing, but I'd make any ID name in DW letters only, no dashes or
underscores, etc. Rename your Jump Menu ID and try that. DW has some weird
and quirky things it chokes on.
M..
"herod2221" <webforumsuser@macromedia.com> wrote in message
news:dcgrsr$7kb$1@forums.macromedia.com...
>I put a jump menu on my site as a way to navigate between different pages
>in a
> 'news archive'. on the first page, i can navigate to any of the items
> listed
> in the jump menu. but once on that new page, the same jump menu won't
> work.
> i've created the menu from scratch, and i've tried to copy it from the
> page
> that does work. the web developer toolbar in firebox gives me the error
> message that MM_JumpMenu is not defined. i can't understand why it works
> on
> one page, but not another when the code is exactly the same.
> http://www.ar.XXXXXX.edu/utsolard/test5/buildit.html
>
> here is the page where the jump menu works. from the jump menu, select
> 'April
> 2005'. once in the April 2005 page, try to navigate to any other page
> through
> the jump menu - nothing works! any ideas to fix this? much appreciated.
>
>
| |
|
|
> http://www.ar.XXXXXX.edu/utsolard/test5/buildit.html
the other pages don't have the javascript function that does the work.
buildit_progress_Apr05.html
compare the code.
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
suggested fix-
Either copy/paste the function into the other pages, OR in the other pages,
select and make an edit to the Jump menu. That will insert the js function.
Then re-edit to remove the change you added to the menu.
| |
| herod2221 2005-07-31, 7:35 pm |
| thanks, that was it. odd that the script wasn't inserted when i made the jump menu from scratch... also careless of me not to check for that.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|