わかりました、ここで何か仕事をすることができました。この投稿に遭遇した場合、より良い方法があれば教えてください...
最終的に MyTitle というメタ タグを作成し、ID を比較してそのメタ タグに基づいて UL を表示するコンテンツを与えました。
$(document).ready(function() {
$("#menu ul ul").hide();
$("#menu ul li").click(function()
{
$(this).next("ul").slideToggle(300).siblings("ul").slideUp("slow");
});
//created a meta tag called MyTitle to use as a way to open menu when needed. This function checks for the value of MyTitle. Got this from (http://forums.macrumors.com/showthread.php?t=569947)
var mytitle;
var metas = document.getElementsByTagName('meta');
for (var x=0,y=metas.length; x<y; x++) {
if (metas[x].name.toLowerCase() == "mytitle") {
mytitle = metas[x];
}
}
//Find the page currently on and display menu if need be.
var title = "" + mytitle.content;
if(title == "Resources")
$("ul #resources").show();
if(title == "Conferences")
$("ul #conferences").show();
等..........