/    Sign up×
Community /Pin to ProfileBookmark

Menus with Javascript

I want to create the pull down menus that you see at [URL=http://www.bestbuy.com]bestbuy.com[/URL]. 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.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@ExuroAug 10.2003 — You seem to be missing the actual [i]script[/i] there my friend... They have it in an external JS file on their server. Actually, they have it in [i]several[/i] external JS files on their server... Here's some snippets of their code:

[FONT=courier new]

<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>

[/FONT]

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.
Copy linkTweet thisAlerts:
@ecrossauthorAug 10.2003 — Do you know of a simplier drop down menu like the one at bestbuy.com?
×

Success!

Help @ecross spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...