By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,781 Members | 1,134 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,781 IT Pros & Developers. It's quick & easy.

Javascript button navigation bar

P: n/a
Hello! I am quite new to Javascript, but not new to programming in
general or to (X)HTML.

Using events, is it possible to redirect someone to a new page? So if
you lined up five buttons, you could use this as your page's navigation
bar?

Sorry if this is a really beginners question! I am learning.

-- Alex

Dec 23 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello!

"PythonUsr" <py*******@gmail.comschrieb im Newsbeitrag
news:11**********************@a3g2000cwd.googlegro ups.com...
Hello! I am quite new to Javascript, but not new to programming in
general or to (X)HTML.
GREAT!
See www.selfhtml.org
Using events, is it possible to redirect someone to a new page? So if
you lined up five buttons, you could use this as your page's navigation
bar?
YES

Olaf

Dec 23 '06 #2

P: n/a
PythonUsr said the following on 12/23/2006 5:08 PM:
Hello! I am quite new to Javascript, but not new to programming in
general or to (X)HTML.

Using events, is it possible to redirect someone to a new page? So if
you lined up five buttons, you could use this as your page's navigation
bar?
<a href="somewhere.html">Go somewhere</aAnd you can put as many as you
want. Using javascript for navigation is a bad idea as your navigation
will be broken to non-JS browsers (either disabled or not available).

You can use CSS to style the links.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 23 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.