-
Can I put 3 java scripts together to create one?
I would like to know if I can take the following javascripts
http://ajax.googleapis.com/ajax/libs.../jquery.min.js
http://www.dynamicdrive.com/dynamici...dsmoothmenu.js
and the last one....
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "smoothmenu1", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
ddsmoothmenu.init({
mainmenuid: "smoothmenu2", //Menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
//customtheme: ["#804000", "#482400"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
and put these all togeather and make them into one external script.
The below link is the menu I am working with
http://www.dynamicdrive.com/dynamici...smoothmenu.htm
I know I can do it as it says to do and have done so but would like to condense it into one if possible?
Thank you.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks