Warning: Please include a link to the DD script(s) in question in your post. See
this thread for the proper posting format when asking a question.
That said, first of all the first two scripts are in reverse order. This:
Code:
<script type="text/javascript" src="jqueryslidemenu.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
should be:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="jqueryslidemenu.js"></script>
Also, this script block has no closing tag:
Code:
<script type="text/javascript">
$(function() {
// Use this example, or...
$('a[@rel*=lightBox]').lightBox(); // Select all links that contains lightbox in the attribute rel
// This, or...
$('#gallery a').lightBox(); // Select all links in object with gallery ID
// This, or...
$('a.lightbox').lightBox(); // Select all links with lightbox class
// This, or...
$('a').lightBox(); // Select all links in the page
// ... The possibility are many. Use your creative or choose one in the examples above
});
And appears to be for a jQuery version of Lightbox that I guess you tried. That would actually be the better solution. But if you aren't using it, get rid of the above code.
From what you've posted, I cannot tell if the menu script is in noConflict mode, or even if the script can function in noConflict mode.
Please post a link to the menu script's demo page here on Dynamic Drive.
You can try throwing the menu into no Conflict mode by adding the highlighted here:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="jqueryslidemenu.js"></script>
<script type="text/javascript">
jQuery.noConflict();
</script>
<link rel="stylesheet" type="text/css" href="jqueryslidemenu.css" />
If you want more help, put up a live demo of the problem and post a link to it here.
Bookmarks