Two or more drop down menus on the same page, is this not possible?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I want to put 2 drop down menus on my page, but when I put both the menus on the page, the page only reads the first one, the second one doesn't work... Why is this?
Photo of Yola_User_A

Yola_User_A

  • 276 Posts
  • 3 Reply Likes
  • unsure...

Posted 9 years ago

  • 1
Photo of diane

diane

  • 1238 Posts
  • 121 Reply Likes
In your code, there will probably be a name for the menu. Rename the second one something else.
Photo of Yola_User_A

Yola_User_A

  • 276 Posts
  • 3 Reply Likes
Oh ok, but I found out that I had to go back to the tool I created it in and add another main category... Thanks Diane!!!
Photo of Yola_User_A

Yola_User_A

  • 276 Posts
  • 3 Reply Likes
If anyone notices this... I do have another question... I put the new code in my page, but the drop down menus do not drop down directly under each main category, instead they drop down all the way to the left of the menu, they worked fine there is nothing wrong with the code but on my page, they don't work properly. What might be the cause of this?
Photo of smithy

smithy

  • 1222 Posts
  • 28 Reply Likes
what it your site URL?
Photo of Yola_User_A

Yola_User_A

  • 276 Posts
  • 3 Reply Likes
Hi Smithy, I found out that in Firefox it shows up wrong, but in IE the menus drop down correctly which is funny because when I view them in the tool I created them in I am using in the firefox browser and they work fine... For now I'm ok I guess because most people use IE so I will leave it like this... But If you know what the problem might be just let me know! Thanks
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
If you'd like to try to get your code working properly in Firefox, perhaps we can take a look at what's going on in the code. Would you mind sharing your site URL so that we can take a closer look?
Photo of Yola_User_A

Yola_User_A

  • 276 Posts
  • 3 Reply Likes
I'm not able to post the URL at this time, just can't, I'm sorry...
If this helps any, I simply have the drop down menu code in a single table, but I also have a slideshow in another table below it, but even that is in a whole separate html box, could I have to many special codes on my page that are inhibiting each other?...
Another thing is, why would the script for the drop down menus start with ( style ) but then end with what I put below...



Shouldn't it end with /style???
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello - if you'd like you can send an email to support@yola.com and I can take a look at the code if you wish.

The reason why it starts with and end with is because this particular piece of code tells the menu how to look and/or behave.
Photo of Yola_User_A

Yola_User_A

  • 276 Posts
  • 3 Reply Likes
It doesn't end with </ style it ends with t fix it either... Plus I did find the tag it was just a little bit below the style tag, so it is in there...

I will think about sending the link later...
Thanks!
Photo of Yola_User_A

Yola_User_A

  • 276 Posts
  • 3 Reply Likes
I meant to say I added /style to the end but this doesn't fix it either... NOT it ends with /table /style... Yola read the code... and so it didn't show the I added & /style part that I put before >>>to the end... LOL