function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
avimeiravimeir 

Drop-down menus in Tabs?

Hi

 

Is there a way to group a few custome tabs into one drop-down menu?

 

Thanks!

 

Avi

admintrmpadmintrmp

Not without Javascript.

avimeiravimeir

How would you do it in javascript?

admintrmpadmintrmp

You would need to identify the DOM object for the tab and build the HTML dynamically. Not sure how flexible this would be if you wanted to retrieve tabs dynamically (haven't seen an object for tabs before so don't know if it exists). Even if you were to do this, it would only work via custom visualforce pages. It would be pretty useless.

vishal@forcevishal@force

Here is a simple but really good example of how to do it using jquery.

 

http://www.9lessons.info/2012/06/simple-drop-down-menu-with-jquery-and.html

 

Hope it helps to get you started!

avimeiravimeir

Thanks Vishal, but the question is how to turn force.com tab into a drop-down menu. Any idea how I integrate your code into force.com?