Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

jump menu works, then doesn't
 

herod2221




quote this post edit post

IP Loged report this post

Old Post  07-31-05 - 12:26 AM  
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 liste
d
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 'Apr
il
2005'.  once in the April 2005 page, try to navigate to any other page throu
gh
the jump menu - nothing works!  any ideas to fix this?  much appreciated.




Post Follow-Up to this message ]
Re: jump menu works, then doesn't
 

M..




quote this post edit post

IP Loged report this post

Old Post  07-31-05 - 04:14 AM  
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.
>
>




Post Follow-Up to this message ]
Re: jump menu works, then doesn't
 

Alan




quote this post edit post

IP Loged report this post

Old Post  07-31-05 - 04:14 AM  

> 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.



Post Follow-Up to this message ]
Re: jump menu works, then doesn't
 

herod2221




quote this post edit post

IP Loged report this post

Old Post  08-01-05 - 12:35 AM  
thanks, that was it.  odd that the script wasn't inserted when i made the ju
mp menu from scratch...  also careless of me not to check for that.


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 08:44 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top