Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Lionsanime Directory   World's Leading Outsourcing Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-24-2004, 11:53 AM   #1 (permalink)
Inactive
 
Join Date: 08-24-04
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

roach is liked by many
Text colour change - Rollover

OK, so this question has probably been asked about a million times before in here but I'm a sad lowly UK newbie web designer so please take pity!!

I have a current project where I need some link text to change colour (from white to grey specifically!) when the mouse rolls over it. Tried the flash way, could get it to change colour but how the hell do you get to add the link?????? Or is there an easier way.....because I just love easy solutions!

HELP PLEASE!!!!!

Dan
roach is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-24-2004, 11:58 AM   #2 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Use CSS.

For the link, put this:
<a class="colorchange" href="link.html">

In your stylesheet, put this:

a.colorchange {color: #ffffff;}
a.colorchange:hover {color: #333333;}
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 11:59 AM   #3 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
PS. If you don't have a stylesheet, put this in the <head> section of your page:

<style type="text/css">
a.colorchange {color: #ffffff;}
a.colorchange:hover {color: #333333;}
</style>
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 01:07 PM   #4 (permalink)
Inactive
 
Join Date: 08-24-04
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

roach is liked by many
Jazzee,

Cheers for the help, but pardon my complete ignorance, Is it simply a case of pasting that code into my script?? I'm using Dreamweaver MX...
roach is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 01:19 PM   #5 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Go to your html view. Find the links you want to change and add class="colorchange" into the link so it looks like this:
[code:1:046f610bea]<a class="colorchange" href="YOURPAGE.HTML"> [/code:1:046f610bea]
(YOURPAGE.HTML will be whatever is already there)

Then look at the top of the page in html view. See if you have a stylesheet. (You'll recognize it by the <style type="text/css">)

If you have that, put this in there:
[code:1:046f610bea]a.colorchange {color: #ffffff;}
a.colorchange:hover {color: #333333;} [/code:1:046f610bea]

If not, put this right under <head>:
[code:1:046f610bea]<style type="text/css">
a.colorchange {color: #ffffff;}
a.colorchange:hover {color: #333333;}
</style>[/code:1:046f610bea]

Make sense?

This is the only way I know how to do it as I don't know dreamweaver, I only know html.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 02:17 PM   #6 (permalink)
Contributing Member
 
Join Date: 10-13-03
Location: Dallas, Texas
Posts: 811
iTrader: 0 / 0%
raciviusdawn is on the right pathraciviusdawn is on the right pathraciviusdawn is on the right path
Send a message via AIM to raciviusdawn
Quote:
Originally Posted by roach
Jazzee,

Cheers for the help, but pardon my complete ignorance, Is it simply a case of pasting that code into my script?? I'm using Dreamweaver MX...
Jazzee is the bomb with html..seriously...anyway, if you're using Dream MX just stay in the Design view and change your CSS instead by click the little + in the upper right hand corner where you create stylesheets...

This lets you assign link colors etc etc throughout your entire site or simply on one particular document...it does the same thing as J suggested but it does the code for you...since you have MX, you're probably used to the easy way as I am
raciviusdawn is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 02:20 PM   #7 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Thanks, raciviusdawn I'm clueless with WYSIWYG editors.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 03:49 PM   #8 (permalink)
Inactive
 
Fusion's Avatar
 
Join Date: 03-08-04
Posts: 2,644
iTrader: 0 / 0%
Latest Blog:
None

Fusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the rough
Send a message via MSN to Fusion Send a message via Yahoo to Fusion
Queen of html and css.
Fusion is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 03:51 PM   #9 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
That's right



lol
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2004, 05:41 PM   #10 (permalink)
v7n Mentor
 
thebassman's Avatar
 
Join Date: 03-04-04
Location: Whycocomagh, Nova Scotia
Posts: 4,766
iTrader: 0 / 0%
thebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nicethebassman is just really nice
Send a message via MSN to thebassman Send a message via Yahoo to thebassman
Worship the Queen... she has helped all of us with code several times each, I'm sure... LOL
thebassman is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-26-2004, 11:05 PM   #11 (permalink)
Inactive
 
Join Date: 12-06-03
Location: Australia
Posts: 136
iTrader: 0 / 0%
Latest Blog:
None

priyanka is on the right pathpriyanka is on the right pathpriyanka is on the right path
Send a message via MSN to priyanka
Hi,
If you use Microsoft Front page, it will take you hardly 2 minutes to do that. what you need to do is go to "Insert" option, click on "Web components" and I think the first option there contains HOVER BUTTON. You only need to set its properties and your work is done.
priyanka is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-27-2004, 08:05 AM   #12 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
They are using Dreamweaver as stated above.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-29-2004, 05:40 PM   #13 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,819
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
OMG Frontpage insert web componant hover button - doesn't that add applets istead of links??? AAAAAARRRGH!!!
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-29-2004, 05:43 PM   #14 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Eww. Applets.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image-to-Text Rollover (CSS) chicgeek Coding Forum 11 08-21-2006 12:21 PM
Links with text appearing on mouse rollover freddyfries Web Design Lobby 1 07-13-2004 02:17 PM
Problem with image rollover and text change Lucky Luciano Web Design Lobby 3 05-05-2004 11:55 AM
Text to appear somewhere on rollover edbarton Coding Forum 47 03-07-2004 06:13 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:19 AM.
© Copyright 2008 V7 Inc