473,786 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dropdown menu javascript menus a bad choice?


This sounds like a frequently asked question, but I
didn't find the answer in any faq I've looked at.

I have a question about the wisdom of using
(javascript generated) dropdown menus.

Question:
Does google interpret javascript?
Or, in other words, are client-side-javascript-generated links
invisible to search engines?

Isn't this a strong argument for not using javascript, at
least for generating links of any kind?
Seems like css-positioned menus would be a better choice.
Jul 24 '05 #1
18 2193
sandy wrote:
Does google interpret javascript?
No.
Or, in other words, are client-side-javascript-generated links
invisible to search engines?
Yes.
Isn't this a strong argument for not using javascript,
No. http://www.onlinetools.org/articles/...ivejavascript/
at least for generating links of any kind?
Yes.
Seems like css-positioned menus would be a better choice.


Positioning is tricky to get right. In many cases floating is the better
option.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 24 '05 #2
On Fri, 22 Jul 2005 22:06:53 -0700, sandy
<sa********@slo wtorture.spamme rs.com> wrote:

This sounds like a frequently asked question, but I
didn't find the answer in any faq I've looked at.

I have a question about the wisdom of using
(javascript generated) dropdown menus.

Question:
Does google interpret javascript?
No. Not as a rule.
Or, in other words, are client-side-javascript-generated links
invisible to search engines?
Pretty much. There are spider-simulators you can check these things
with, a quick Google will reveal loads.
Isn't this a strong argument for not using javascript, at
least for generating links of any kind?
Absolutely.
Seems like css-positioned menus would be a better choice.


I'd check them with a sim too. CSS is still evolving at such a rate
I'd take nothing for granted.

BB
--
www.kruse.co.uk/ se*@kruse.demon .co.uk
Elvis does my seo
--
Jul 24 '05 #3
sandy wrote:

This sounds like a frequently asked question, but I
didn't find the answer in any faq I've looked at.

I have a question about the wisdom of using
(javascript generated) dropdown menus.

Question:
Does google interpret javascript?
Or, in other words, are client-side-javascript-generated links
invisible to search engines?

Isn't this a strong argument for not using javascript, at
least for generating links of any kind?
Seems like css-positioned menus would be a better choice.

i have a js include importing my menu for users + a noscript with a link
back to my main page which has the non-js menu on for spiders etc, so
either way im covered...
Jul 24 '05 #4
sandy <sa********@slo wtorture.spamme rs.com> writes:
I have a question about the wisdom of using
(javascript generated) dropdown menus.


Dropdown menus were a great tool for photo-editing software that had to
work on 640x480 screens. They compacted the design a great deal.

Today I think they're overused. I see many pages where it would be
*much* better to present the user's choices without forcing an extra
click. Use a table or a bulleted list.

Recently I changed a form that is used to classify press releases,
replacing the OPTION elements with tables of radio buttons. It's proved
a lot more usable since the change.
Jul 25 '05 #5
Bruce Lewis wrote:
sandy <sa********@slo wtorture.spamme rs.com> writes:
I have a question about the wisdom of using
(javascript generated) dropdown menus.


Dropdown menus were a great tool for photo-editing software that had to
work on 640x480 screens. They compacted the design a great deal.

Today I think they're overused. I see many pages where it would be
*much* better to present the user's choices without forcing an extra
click. Use a table or a bulleted list.

Recently I changed a form that is used to classify press releases,
replacing the OPTION elements with tables of radio buttons. It's proved
a lot more usable since the change.

tables should only be used for tabular data, not for layout etc...
Jul 25 '05 #6
On Mon, 25 Jul 2005 22:42:43 +0100, Jedi Fans <"news[at]jedifans[--=dot==-]com">
wrote:
tables should only be used for tabular data, not for layout etc...


Will someone please post a link to violin music?
Jul 28 '05 #7
Jedi Fans wrote:
[...]

tables should only be used for tabular data, not for layout etc...


I had a baseball coach once who would often ask players:

'When is a pitch a strike?'.

After numerous responses, he'd provide the answer:

'When the umpire says it is'
So when do you use tables? When it's best to do so.


--
Rob
Jul 28 '05 #8
RobG wrote:
'When the umpire says it is' So when do you use tables? When it's best to do so.


Which, according to the umpire is when the data is tabular, and not for
layout.

Tables should not be used purely as a means to layout document
content
and
authors should use style sheets to control layout rather than tables.

-- http://www.w3.org/TR/html4/struct/tables.html#h-11.1

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 28 '05 #9
On Thu, 28 Jul 2005 07:27:52 +0100, David Dorward <do*****@yahoo. com> wrote:
RobG wrote:
'When the umpire says it is'
So when do you use tables? When it's best to do so.


Which, according to the umpire is when the data is tabular, and not for
layout.

Tables should not be used purely as a means to layout document
content
and
authors should use style sheets to control layout rather than tables.

-- http://www.w3.org/TR/html4/struct/tables.html#h-11.1

David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


The umpire wears ladies underpants. Maybe someday style sheets will
be suitable for page layout. My opinion, for what it's worth, is that
css style must be replaced with a workable system. In the meantime
almost all of the really well-designed sites use tables for page layout.

Here's one of the most beautiful on the internet:

http://www.istanbulportal.com/Default.aspx

Incidentally, there is a novel, pop-out menu on the left age. Uses
javascript but it's not essential for navigation.

See this on any of the sub-pages such as:

http://www.istanbulportal.com/istanb.../ArtIndex.aspx

Mason C

Jul 28 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
2864
by: chart43 | last post by:
I have question about the technique for css dropdown menus described in http://www.alistapart.com/articles/horizdropdowns/. Based on an html list, it has a few items in a 1st order list and further 2nd order lists that appear to the right when hovering over items in the 1st order. Anyone figured how to modify to go to n order greater than 2? Bit tricky I found. I could get the other orders but they all appeared when hovering over the 1st...
3
339
by: Gleeman | last post by:
Dear Sir/Madam I'm an old dog of VB 6.0. I've mastered the new tricks of .Net Form-based programming rather OK. I now need to focus on web development. My Web pages need not be as glamerous as those seen on most sites, since even my web development is for operational purposes (Business). I devised a standard layout with the main menu at left and horisontal menus per subystem to navigate to the forms of each subsystem. Each of these...
2
1352
by: Brian | last post by:
Hello, I want to design some menus for websites with submenus. I'd like to learn the code myself and I was wondering a good place to pick up on some tips on how to design them. Also, is there a decent program out there that does it all for you at a good price? Thanks,
32
2734
by: Continental Translations | last post by:
Can anybody help me? I am trying to create two drop down menus, where the results of the second one vary depending on what was selected in the first one. I am using MS Script Editor in MS Front Page to do this. In my first menu, I want "English" "German" and "Russian." Now if "English" is picked, I want "French" "German" and "Spanish" to appear. If "German" is picked in the first menu, I want "English" to appear" If Russian is picked...
2
3899
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at http://home.pacific.net.sg/~jacksony ? (the drop down bar could not work at www.apchosting.net but can drop at home.pacific.net.sg. I suspect it is a server problem but was told it is not possible, therefore assuming it is a client script problem? the script works last time...
1
1763
by: Mosher | last post by:
Hi all, I am looking for some event handler auto-calc help on a form that takes user input through text fields and dropdown menus. I would like some of the text fields to be auto populated when dropdown menu selections are made. Here is an abstract html/javascript form: <form> Enter how much money you are willing to spend:<input type=text name=amount size=10> Enter your home city: <select name=city>
6
16228
by: nishac | last post by:
Can anyone suggest me how to make my drop down menu work in IE7 too.Its working in other browsers.On mouse over the submenus should be displayed.Am attaching my css code hereby.Anyone please check and give a positive reply. menu HOme products support..... | | submenus p1 A p2 B.. p3... /*================= STYLES FOR THE PRIMARY NAV...
4
2347
torquehero
by: torquehero | last post by:
Hi all :) I have created a horizontal navbar using Xara Menumaker. The Menu items have several dropdown menus. Its a javascript. When the mouse cursor is moved over any menu item, a dropdown list/menu appears. When the page is opened in the browser (as it appears by default), the dropdown menu positions are correctly displayed. But when I scroll the page and then move the mouse over any menu item of the navbar, the dropdown menu is not...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.