I want to create one menu with anchor tag
for e.g=> <a href="http://www.example.com/example.php" rel="facebox">Example</a>

I want to write javascript function for that like

$menu = array();
$menu = 'Page Title To be showed on page';

function MenuGen()
{
}

In addition I want to add FACEBOX from
http://www.electrictoolbox.com/jquery-facebox-basic-example/
or
http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm

Please Help
Thanks!

is this what you mean?

<script type="text/javascript">
<!--
var menu = new array();
menu['index'] = 'this is my home page';
menu['about'] = 'this is mypage about me';
-->
</script>

also please post javascript threads in the javascript section

regards
alex telford

is this what you mean?

<script type="text/javascript">
<!--
var menu = new array();
menu['index'] = 'this is my home page';
menu['about'] = 'this is mypage about me';
-->
</script>

also please post javascript threads in the javascript section

regards
alex telford

OK
I have posted it in javascript


But your answer is not enough I want to add facebox to it which creates many garbage values