469,133 Members | 1,153 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,133 developers. It's quick & easy.

Javascript button navigation bar

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
2 1718
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
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.

Similar topics

8 posts views Thread by Rob McLennan - ZETLAND | last post: by
5 posts views Thread by TrvlOrm | last post: by
2 posts views Thread by Greg T | last post: by
1 post views Thread by Spartanicus | last post: by
8 posts views Thread by chrisdude911 | last post: by
9 posts views Thread by thetechturf.com | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.