?
Solved

JavaScript

Posted on 1999-01-06
6
Medium Priority
?
147 Views
Last Modified: 2013-11-19
I need to know how to change the Font Style of a Link in the MouseOver Event.
I know how to do this with graphics, but not with Text.

0
Comment
Question by:Oli2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:seahpc
ID: 1841411
Try using Stylesheets for that :


<style type="text/css">
<!--
 A:link    { COLOR: #0000FF; TEXT-DECORATION: underline; font-weight: normal }

 A:visited { COLOR: #FF0000; TEXT-DECORATION: underline; font-weight: normal }

 A:active  { COLOR: #0000FF; TEXT-DECORATION: none }

 A:hover   { COLOR: #000000; TEXT-DECORATION: none; font-weight: Bold}
-->
</style>

0
 
LVL 1

Author Comment

by:Oli2
ID: 1841412
Sorry, seahpc, but I allready tried that. It doesn't work. At least with Netscape 4.05 it doesn't.
Here's my test:


<HTML>
<style type="text/css">
    <!--
     A:link    { COLOR: #0000FF; TEXT-DECORATION: underline; font-weight: normal }

     A:visited { COLOR: #FF0000; TEXT-DECORATION: underline; font-weight: normal }

     A:active  { COLOR: #0000FF; TEXT-DECORATION: none }

     A:hover   { COLOR: #000000; TEXT-DECORATION: none; font-weight: Bold}
    -->
    </style>
<BODY>
<A HREF="bla.html">Bla</A>
</BODY>
</HTML>

doesn't work.

Greetings, Oli

0
 
LVL 19

Accepted Solution

by:
cheekycj earned 150 total points
ID: 1841413
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 19

Expert Comment

by:cheekycj
ID: 1841414
BTW- the code is on the second page :)

CJ
0
 
LVL 1

Author Comment

by:Oli2
ID: 1841415
Thanx cheeky, I think it'll fit my needs.
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 1841416
your welcome :)


CJ
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question