473,668 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2100
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?ur l=http%3A%2F%2F www.gymnasium-burgdorf.de%2Ft est.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.infosystem s.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
4778
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 great for pattern matching, text processing, and automated testing. Our company is really fixated on risk managnemt and the only way I can do enough testing without working overtime (which some people have ended up doing) is by automating my...
1
1605
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 a dot you get a list of objects,properties and methods to select from. When you select or type a methodname or function and the left parenthesis , the system writes the possible argument types. With key F1 one gets thorough description of the...
2
9158
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 in the status bar 'Symantec Corporation' whenever anyone mouses over (onMouseOver) my image or link OR when one clicks while holding the left mouse down (onClick) on the same image or link. Upon releasing the mouse (onMouseOut), the
9
2170
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 BEFORE Java3D, right? no? Worse, whats the difference between Java and Javascript? Whats the difference between Visual Basic and Visual Java++? (I still thought Visual Basic is like BASIC programming to allow you to write
136
9311
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 code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
6
2282
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" "http://www.w3.org/TR/html4/loose.dtd"> it breaks my javascript. Particularly I have a code that try to set element.style.left, when I use the second doctype, FF complains "Error in parsing value for property 'left'. Declaration dropped"
20
2504
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 have unsigned char x = 1; is it always true that (x << 1) == 2 (x << 2) == 4 etc?
9
2163
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 PC running Traditional Chinese Windows 98SE and found that the following javascript code produced a message that seemed to have ASCII represented as "y". alert( 'the following char is ASCII FF: \xff. So what does it look like to you?' );
17
2667
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 things? Shouldn't they say the same thing?
0
8893
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...
0
8797
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7401
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
6209
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
5681
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
4205
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...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2791
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.