473,396 Members | 2,129 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,396 software developers and data experts.

Javascript versus CSS = different link representation

Dear group,

I administrate the web site of a German school
(www.gymnasium-burgdorf.de\test.htm) and so far this site has been
designed using
HTML and CSS only.

Due to the increasing number of submenu links I am thinking of switching
to javascript, which seems to work fine on my PC so far (sorry, it's not
online yet).

However, I am troubled by the different representation of links:

1. _external_ links are represented as defined in my CSS file (i.e.
font-weight: bold; text-decoration: none; )
2. _internal_ links are not bold and underlined.

What went wrong? Is it javascript or CSS?

Michael

--
~~~~~~~~~~~~~~~~~~~~~~
http://www.majaeger.de
~~~~~~~~~~~~~~~~~~~~~~

Jul 21 '05 #1
5 2083
Michael Jaeger wrote:
Due to the increasing number of submenu links I am thinking of
switching to javascript, which seems to work fine on my PC so far
(sorry, it's not online yet).
If there are no HTML links, search engines will not be able to spider
your site. Further, some 5-15% of your visitors who have JavaScript
disables, unavailable, or stripped by corporate firewalls will not be
able to use your site.

Here is what they will see (as will Google):
<http://www.delorie.com/web/lynxview.cgi?url=http%3A%2F%2Fwww.gymnasium-burgdorf.de%2Ftest.htm>
However, I am troubled by the different representation of links:

1. _external_ links are represented as defined in my CSS file (i.e.
font-weight: bold; text-decoration: none; )
2. _internal_ links are not bold and underlined.
Non-underlined links? Should we move our mouses all 'round the page
looking for them? Bad Idea™.
What went wrong? Is it javascript or CSS?


JavaScript should only be used for non-critical enhancements.

--
-bts
-This space intentionally left blank.
Jul 21 '05 #2
Michael Jaeger schrieb:
Dear group,

I administrate the web site of a German school
(www.gymnasium-burgdorf.de\test.htm) and so far this site has been
designed using
HTML and CSS only.

Due to the increasing number of submenu links I am thinking of switching
to javascript, which seems to work fine on my PC so far (sorry, it's not
online yet).

However, I am troubled by the different representation of links:

1. _external_ links are represented as defined in my CSS file (i.e.
font-weight: bold; text-decoration: none; )
2. _internal_ links are not bold and underlined.

What went wrong? Is it javascript or CSS?

Michael


Your URL is invalid. It should read
http://www.gymnasium-burgdorf.de/test.htm
Jul 21 '05 #3
Beauregard T. Shagnasty wrote:
Michael Jaeger wrote:
Due to the increasing number of submenu links I am thinking of
switching to javascript, which seems to work fine on my PC so far
(sorry, it's not online yet).

If there are no HTML links, search engines will not be able to spider
your site. Further, some 5-15% of your visitors who have JavaScript
disables, ....


*you* dont know who his visitors will be, it could very well be a
school-internal site, browsed from school-internal computers with all
equal browser. !
However, I am troubled by the different representation of links:

1. _external_ links are represented as defined in my CSS file (i.e.
font-weight: bold; text-decoration: none; )
2. _internal_ links are not bold and underlined.

Non-underlined links? Should we move our mouses all 'round the page
looking for them? Bad Idea™.


again, you think you know everything without having even seen the site.
links do not need to be underlined to be obvious - there are many ways
to make links obvious-links.

What went wrong? Is it javascript or CSS?


JavaScript should only be used for non-critical enhancements.


you take your guidelines as rules, loosen up man, a good designer is not
limited by guidelines but by specs !
Jul 21 '05 #4
Martin! wrote:
Beauregard T. Shagnasty wrote:
If there are no HTML links, search engines will not be able to spider
your site. Further, some 5-15% of your visitors who have JavaScript
disables, ....
*you* dont know who his visitors will be, it could very well be a
school-internal site, browsed from school-internal computers with all
equal browser. !


That's true. *I* don't know for sure, but since this group name is
comp.infosystems.www.authoring.stylesheets [www] and since he didn't
mention an intranet for "web site of a German school", I had to assume
www. As we all do here, right? unless told otherwise.
Non-underlined links? Should we move our mouses all 'round the page
looking for them? Bad Idea™.


again, you think you know everything without having even seen the site.
links do not need to be underlined to be obvious - there are many ways
to make links obvious-links.


No reason to make it harder on the visitor, though.
you take your guidelines as rules, loosen up man, a good designer is not
limited by guidelines but by specs !


I'm very loose ... ;-)

--
-bts
-This space intentionally left blank.
Jul 21 '05 #5
Klaus Krtschil wrote:
Michael Jaeger schrieb:
Dear group,

I administrate the web site of a German school
(www.gymnasium-burgdorf.de\test.htm) and so far this site has been
designed using
HTML and CSS only.

Due to the increasing number of submenu links I am thinking of
switching to javascript, which seems to work fine on my PC so far
(sorry, it's not online yet).

However, I am troubled by the different representation of links:

1. _external_ links are represented as defined in my CSS file (i.e.
font-weight: bold; text-decoration: none; )
2. _internal_ links are not bold and underlined.

What went wrong? Is it javascript or CSS?

Michael


Your URL is invalid. It should read
http://www.gymnasium-burgdorf.de/test.htm


sorry about the typo and thanks for the correction.

Michael

--
~~~~~~~~~~~~~~~~~~~~~~
http://www.majaeger.de
~~~~~~~~~~~~~~~~~~~~~~
Jul 21 '05 #6

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

Similar topics

31
by: surfunbear | last post by:
I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is...
1
by: optimistx | last post by:
How to build or find an object browser for javascript? E.g. Delphi integrated developement environment ('ide') offers a very practical object browser for Pascal language. When typing a name with...
2
by: Kevin Lyons | last post by:
Hello, Can anyone assist me with what I am trying to do with the following code (six different scenarios to try to make the functionality work correctly)? I want to always (and ONLY) display...
9
by: MStepansky | last post by:
Whats the difference between Javascript and Java3D? I mean can Javascript do like Java3D can? Or is Java3D on top of Javascript (the core, if thats what it is)? Then I should learn Javascript...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
6
by: reynard | last post by:
I have a page that uses this doctype <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> but when I change to this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
20
by: Charles Sullivan | last post by:
I understand different processor hardware may store the bits in a byte in different order. Does it make a difference in C insofar as bit-shifting unsigned char variables is concerned? E.g, if I...
9
by: emrefan | last post by:
I am wondering a bit about what I should see in a message box (or in a webpage, for that matter) when I include an unprintable ASCII character, say ASCII 255, in there. I experimented a bit on my...
17
by: yawnmoth | last post by:
http://www.frostjedi.com/terra/scripts/demo/this-alert.html http://www.frostjedi.com/terra/scripts/demo/this-alert2.html Why, when you click in the black box, do the alert boxes say different...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
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,...
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
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.