472,144 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,144 software developers and data experts.

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 1830
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.