473,387 Members | 1,374 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,387 software developers and data experts.

Javascript gegen CSS = unterschiedliche Linkdarstellung

Liebe NG,

ich betreue die web Seiten einer Schule und habe bislang ausschließlich
HTML und CSS eingesetzt.

Jetzt habe ich die Navigation auf Javascript umgestellt und dabei
folgendes festgestellt:

1. Die externen links, wie in der CSS Datei definiert, werden korrekt
dargestellt (z.B. text-decoration: none; )
2. die internen links werden jedoch unterstrichen, was ich nicht möchte.

Wo muss ich weitersuchen, bei Javascript oder bei CSS?

Gruß,

Michael

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

Jul 21 '05 #1
9 1738
Mit Sicherheit im CSS. Aber es hilft, wenn Du eine URL mitschickst.
Du hast schon bemerkt, dass das hier eine englischsprachige NG ist?

Gruß Chris
Michael Jaeger wrote:
Liebe NG,

ich betreue die web Seiten einer Schule und habe bislang ausschließlich
HTML und CSS eingesetzt.

Jetzt habe ich die Navigation auf Javascript umgestellt und dabei
folgendes festgestellt:

1. Die externen links, wie in der CSS Datei definiert, werden korrekt
dargestellt (z.B. text-decoration: none; )
2. die internen links werden jedoch unterstrichen, was ich nicht möchte.

Wo muss ich weitersuchen, bei Javascript oder bei CSS?

Gruß,

Michael

Jul 21 '05 #2
Michael Jaeger wrote:
ich betreue die web Seiten einer Schule und habe bislang ausschließlich
HTML und CSS eingesetzt.
Fine.
Jetzt habe ich die Navigation auf Javascript umgestellt


Why?
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jul 21 '05 #3
Chris Leipold wrote:
Mit Sicherheit im CSS. Aber es hilft, wenn Du eine URL mitschickst.
Du hast schon bemerkt, dass das hier eine englischsprachige NG ist?

Gruß Chris
Michael Jaeger wrote:
Liebe NG,

ich betreue die web Seiten einer Schule und habe bislang
ausschließlich HTML und CSS eingesetzt.

Jetzt habe ich die Navigation auf Javascript umgestellt und dabei
folgendes festgestellt:

1. Die externen links, wie in der CSS Datei definiert, werden
korrekt dargestellt (z.B. text-decoration: none; )
2. die internen links werden jedoch unterstrichen, was ich nicht
möchte.

Wo muss ich weitersuchen, bei Javascript oder bei CSS?


Hi Chris,

OK, sorry, I must have forgotton :-)

I'll repost my question in English tomorrow.

Sorry, I cannot point to a url because I have not uploaded the new
files, but I think I will be able to do so on the weekend - well, at
least a sample.

Right now the web site is designed in HTML and CSS,as I said, and this
is the url: www.gymnasium-burgdorf.de\test.htm

Michael

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

Jul 21 '05 #4
Johannes Koch wrote:
Michael Jaeger wrote:
ich betreue die web Seiten einer Schule und habe bislang
ausschließlich HTML und CSS eingesetzt.


Fine.


Thanks ;-)
Jetzt habe ich die Navigation auf Javascript umgestellt


Why?


If you take a look at the url you may understand:
www.gymnasium-burgdorf.de\test.htm
The main menu is static, it does not change, but the submenu does, and
as the web site keeps growing, more and more links accumulate
horizontally, and I don't think I can handle this by CSS exclusively.

But maybe I'm wrong, maybe it's just a design flaw, but do you happen
to have a clue as to the unusual (?) behaviour of external/internal
links?

Michael

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

Jul 21 '05 #5
Michael Jaeger wrote:
Johannes Koch wrote:
Michael Jaeger wrote:
Jetzt habe ich die Navigation auf Javascript umgestellt


Why?


If you take a look at the url you may understand:
www.gymnasium-burgdorf.de\test.htm


I could not see a menu, until I enabled script. So your site will not be
usable without scripting, which IMHO is a no-no. You should have at
least links for the main categories.

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jul 21 '05 #6
Johannes Koch wrote:
Michael Jaeger wrote:
Johannes Koch wrote:
Michael Jaeger wrote:
Jetzt habe ich die Navigation auf Javascript umgestellt

Why?


If you take a look at the url you may understand:
www.gymnasium-burgdorf.de\test.htm


I could not see a menu, until I enabled script. So your site will
not be usable without scripting, which IMHO is a no-no. You should
have at least links for the main categories.


Is there an easy way to offer a css alternative for javascript disabled
browsers like (in simple words)

if Javascript is enabled - use the Javascript menu
if not - use css?

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

Jul 21 '05 #7
Michael Jaeger wrote:
Is there an easy way to offer a css alternative for javascript disabled
browsers like (in simple words)

if Javascript is enabled - use the Javascript menu
if not - use css?


A menu is going to depend first on the HTML, then the CSS to format the
layout, just place your HTML/CSS menu within the <noscript> element.
You are using <noscript>, aren't you? I sure hate the blank pages that
I sometimes see from people not using <noscript>.

--
Stan McCann "Uncle Pirate" http://stanmccann.us/pirate.html
Webmaster/Computer Center Manager, NMSU at Alamogordo
Coordinator, Tularosa Basin Chapter, ABATE of NM; AMA#758681; COBB
'94 1500 Vulcan (now wrecked) :( http://motorcyclefun.org/Dcp_2068c.jpg
A zest for living must include a willingness to die. - R.A. Heinlein
Jul 21 '05 #8
Uncle Pirate wrote:
Michael Jaeger wrote:
Is there an easy way to offer a css alternative for javascript
disabled browsers like (in simple words)

if Javascript is enabled - use the Javascript menu
if not - use css?


A menu is going to depend first on the HTML, then the CSS to format
the layout, just place your HTML/CSS menu within the <noscript>
element. You are using <noscript>, aren't you? I sure hate the
blank pages that I sometimes see from people not using <noscript>.


no, I don't use <noscript>. I have to find out what <noscript> is all
about.
What's the use of it?
Please, enlighten me or point me to a helpful resource,

Michael

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

Jul 21 '05 #9
Michael Jaeger wrote on 10 mrt 2005 in
comp.infosystems.www.authoring.stylesheets:
Uncle Pirate wrote:
Michael Jaeger wrote:
Is there an easy way to offer a css alternative for javascript
disabled browsers like (in simple words)

if Javascript is enabled - use the Javascript menu
if not - use css?


A menu is going to depend first on the HTML, then the CSS to format
the layout, just place your HTML/CSS menu within the <noscript>
element. You are using <noscript>, aren't you? I sure hate the
blank pages that I sometimes see from people not using <noscript>.


no, I don't use <noscript>. I have to find out what <noscript> is all
about.
What's the use of it?
Please, enlighten me or point me to a helpful resource,


<http://www.google.com/search?q=noscript>
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 21 '05 #10

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

Similar topics

32
by: Don Lancaster | last post by:
In an existing, tested and working program, I have a form entry that simplifies to... <INPUT name ="fp1s" type="text" value=0.000 size=12 > and a button of... <input type="button" value="...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.