A nav bar in javascript
In the right top corner of this site [URL=http://www.gameplanet.co.nz/ ]http://www.gameplanet.co.nz/ [/URL] you find a nice nav bar.
Could somebody explain to me how i can make a thing like that, i think its made with javascript.
Thanks
Busy posted this at 00:18 — 12th June 2001.
He has: 6,151 posts
Joined: May 2001
Its made with flash, not JavaScript.
You can do similar with JavaScript thou, but not always compatible on all versions of browsers.
Jack Michaelson posted this at 12:30 — 14th June 2001.
He has: 1,733 posts
Joined: Dec 1999
how come that I see only a Javascript navbar? I don't see any Flash kinda things on the page at all...
Anyway, if you want to make an javascript-navbar check these links:
-http://www.dynamicdrive.com/dynamicindex1/index.html
-http://www.webreference.com/dhtml/column55/
hope it helps,
Shakespeare: onclick || !(onclick)
mairving posted this at 14:09 — 14th June 2001.
They have: 2,256 posts
Joined: Feb 2001
Yeah, it is javascript. It is a script called netbar.js. I did a quick search and couldn't find the script on the web. Why don't you do like Jack suggested. You can also take a peak at his script to see how he did it. He also uses some pretty extensive stylesheets. You should keep in mind that js will not work on every browser and some people actually turn it off to prevent pop-ups. So if you do have a menu like that, make sure that you also have an alternative way for the less fortunate.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
Mark Hensler posted this at 15:18 — 14th June 2001.
He has: 4,048 posts
Joined: Aug 2000
I think the original post was inquiring about the flash nav bar I see in the top righ corner... the one that uses this code:
farther up in the code, I did find:
<script language="JavaScript1.2" src="http://www.gameplanet.co.nz/netbar/netbar.js"></script>
but the source seems to also print code for a .swf
quick lession on.... 'barrowing' code.
When you find a path to an included .js file, copy and paste the path into your address bar. You'll get a prompt that says 'Run from location' or 'Save to disk'...
Mark Hensler
If there is no answer on Google, then there is no question.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.