473,398 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 2170
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********@slowtorture.spammers.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********@slowtorture.spammers.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********@slowtorture.spammers.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
Mason A. Clark wrote:
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

<URL: http://yahoo.com> <URL: http://www.csszengarden.com> (second has
many many alternate styles...
Jul 28 '05 #11
Gazing into my crystal ball I observed Mason A. Clark
<ma*************@ix.netcom.com> writing in
news:ns********************************@4ax.com:
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


If the developer doesn't use Interdev, I'm sure it's a nightmare to
maintain. The tables are nested four deep, with lovely markup such as:
<TR>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=67 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=22 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=19 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=35 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=10 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=13 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=37 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=34 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=33 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=36 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=12 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=5 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=6 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=38 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=62 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=101 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=124 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=115 HEIGHT=1 ALT=""></TD>
<TD> <IMG SRC="Index2/spacer.gif" WIDTH=31 HEIGHT=1 ALT=""></TD>
<TD valign="top"> <IMG SRC="Index2/spacer.gif" WIDTH=150 HEIGHT=1
ALT=""></TD> <TD></TD>

I write a lot of server side code, and believe me, not having to cobble
tables for positioning, and not having to worry about presentational
markup has made my life _a lot_ easier.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 28 '05 #12
rf
Mason A. Clark wrote:
Here's one of the most beautiful on the internet:

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


http://users.bigpond.net.au/rf/screenshot/ist.jpg

Cheers
Richard.
Jul 28 '05 #13
Mason A. Clark wrote:
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.


Almost all the sites on the web use tables for page layout ...
http://dorward.me.uk/tmp/but-most/

Meanwhile: http://www.cssreboot.com/

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 28 '05 #14
On Thu, 28 Jul 2005 09:08:57 GMT, "rf" <@invalid.com> wrote:
Mason A. Clark wrote:
Here's one of the most beautiful on the internet:

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


http://users.bigpond.net.au/rf/screenshot/ist.jpg

Cheers
Richard.

Wow ! I had only viewed it with Opera. The home
page graphics are broken in MSIE and Firefox. The
other pages look ok. I've called this to the attention
of the webmaster. Odd that they must have done
their testing only in Opera??

A beautiful site nevertheless.

Mason C
Jul 28 '05 #15
Previously in comp.infosystems.www.authoring.html, "Mason A. Clark"
<ma*************@ix.netcom.com> said:
The umpire wears ladies underpants.
That's none of the business of the players, and is irrelevant to the
umpire's ability to do his/her job.
Maybe someday style sheets will be suitable for page layout.
For at least the last few years, and for a long time to come yet.
My opinion, for what it's worth, is that
css style must be replaced with a workable system.
There are certainly flaws in the CSS concept. But it's the best we've
got for now. Yes, that includes being better than tables for layout.
In the meantime
almost all of the really well-designed sites use tables for page layout.


The lemming mentality doesn't become you.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 28 '05 #16
On Fri, 29 Jul 2005 09:14:46 +1000, Mark Parnell
<we*******@clarkecomputers.com.au> wrote:
Previously in comp.infosystems.www.authoring.html, "Mason A. Clark"
<ma*************@ix.netcom.com> said:
The umpire wears ladies underpants.


That's none of the business of the players, and is irrelevant to the
umpire's ability to do his/her job.
Maybe someday style sheets will be suitable for page layout.


For at least the last few years, and for a long time to come yet.
My opinion, for what it's worth, is that
css style must be replaced with a workable system.


There are certainly flaws in the CSS concept. But it's the best we've
got for now. Yes, that includes being better than tables for layout.
In the meantime
almost all of the really well-designed sites use tables for page layout.


The lemming mentality doesn't become you.


Your use of tables for what is not *data* surprised me. Surely you
could use css? Then you use css for a table of actual data -- ok, but
tables would be suitable there.

Bottom line: use what works for you.

Mason C
Jul 29 '05 #17
Previously in comp.infosystems.www.authoring.html, "Mason A. Clark"
<ma*************@ix.netcom.com> said:
Your use of tables for what is not *data* surprised me. Surely you
could use css?
You talking to me? Where have I done that?
Then you use css for a table of actual data
Again, where have I done that?
ok, but
tables would be suitable there.


Absolutely. That's what they are designed for, and I don't know of
anyone here who has ever suggested otherwise.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 29 '05 #18
Jedi Fans <"news[at]jedifans[--=dot==-]com"> writes:
Bruce Lewis wrote:
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...


A radio button and a description of its value form a row of tabular
data.

As it turns out I didn't use tables, just <br> at the end of each
description. Tables would have been more correct than what I actually
did.
Aug 1 '05 #19

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

Similar topics

19
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...
3
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...
2
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...
32
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...
2
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...
1
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...
6
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...
4
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...
0
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...

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.