Click to See Complete Forum and Search --> : Menus with Javascript
ecross
08-09-2003, 08:20 PM
I want to create the pull down menus that you see at bestbuy.com (http://www.bestbuy.com). If you pass your mouse over the "Computers", "Music, Movies, & Games", and "Electronics" menu, there is bunch of links that you can choose from. I've looked at the source code and I'm tring to create something like that myself. The only thing I don't want is the images for the tabs. I want to use only text.
I've tried modifiying their source code, but apparently I'm doing something wrong or something. I've attached the script and was hopefully you guys can help me with this. I would like to know how to do this with one so I can do more and add later.
Exuro
08-09-2003, 10:06 PM
You seem to be missing the actual script there my friend... They have it in an external JS file on their server. Actually, they have it in several external JS files on their server... Here's some snippets of their code:
<script src="http://images.bestbuy.com:80/BestBuy_US/store/js/popups.js" type="text/javascript"> </script>
<script language="JavaScript">
<!--
if (is_ie5up){
document.write('<script src="http://images.bestbuy.com:80/BestBuy_US/store/js/hidedropdown.js" type="text/javascript"> </script>');
}
//-->
</script>
<script src="http://images.bestbuy.com:80/BestBuy_US/store/js/displayimage.js" type="text/javascript"> </script>
<script src="http://images.bestbuy.com:80/BestBuy_US/store/js/writemenu.js" type="text/javascript"> </script>
<script src="http://images.bestbuy.com:80/BestBuy_US/store/js/discography.js" type="text/javascript"> </script>
<script src="http://images.bestbuy.com:80/BestBuy_US/store/js/browserdetect.js" type="text/javascript"> </script>
<script src="http://images.bestbuy.com:80/BestBuy_US/store/js/popups.js" type="text/javascript"> </script>
All of those are external JS documents for their page, and it would seem that most of them are intertwined with their menu script... I'd suggest finding a simpler dropdown menu.
ecross
08-10-2003, 07:56 AM
Do you know of a simplier drop down menu like the one at bestbuy.com?
Take a look at http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm