PDA

View Full Version : "undefined" showing in top item of Pop-it menu



maureenie
02-27-2011, 02:09 AM
1) Script Title:
Pop-it Menu

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/popit.htm

3) Describe problem:
I cannot get more than once instance of the pop-it menu to show on one page - see here: http://www.mendolaketermite.com/services.html

I want to have five instances show - and i added different numbers in the [x] bracket after each linkset in the <head> tag that also correspond with the ones in the <onmouseover> tag in the body...help! :)



****REVISED - ok, had to remove the + from the first line to get the "undefined" part to go away - but i cant get the other sets to work properly? only the first will hover and work?

azoomer
02-27-2011, 01:09 PM
From what I can see you are using a curly bracket instead of parenthesis in the instances that aren't working. An example:

onmouseover="showmenu(event,linkset[1]}"

what happens if you change it to

onmouseover="showmenu(event,linkset[1])"

and in the other instances as well

maureenie
02-27-2011, 11:26 PM
That worked!!!!! thank you SO MUCH! :) wow. so annoying how those silly little bits change everything - THANK YOU!!! :)