Jul 20, 2008

Link Colour

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Link Colour

kvarnerexpress
Hey all,

i dont know how easy this is to do or whether it can be done just using HTML or whatever.

Basically i have 2 seperate navigation bars
top nav bar is the parent navigation bar. when you hover over any of the entries in this parent bar it dynamically updates the second nav bar. what i ideally want is to highlight the parent link in black when i move the mouse over it BUT stay black until i select/ hover over another parent link.


does that make sense?

Reply

fffanatics
The only way i can think of doing that is to make a JavaScript funtion for the mouseover on the parent that would change the color of the current item to black, revert the old item to its original color, and then save the current item (window.document.<etc>) to the old item variable. Therefore, this function would only change the color if a new one is hovered because if it is the same one, nothing would end up changing. If you need help doing this PM me or something cause i could help you with the function if you do not know javascript

Reply

sxyloverboy
There is a way of dong it i suppose. All you have to do is use CSS and the <span> tag.

CODE

<head>
<style type="text/css">
.menu1 a:link {
text-decoration: underline;
color: #66CC99;
}
.menu1 a:visited {
text-decoration: underline;
color: #66CC99;
}
.menu1 a:hover {
text-decoration: none;
color: #333333;
background-color: #FFFFFF;
}
.menu1 a:active {
text-decoration: underline;
color: #66CC99;
}
</style>
</head>
<body>

<span name="menu1"> kjslkajd..... </span>


and the rest of your html...




there i think that should be abour right. you can make as many span tags as you want as long as you choose a diff name for each.




Reply

beeseven
What sxyloverboy said will highlight it black, but when you take the mouse off it will revert back to normal. I think the best way to do it would be to use Javascript, but I don't really know it that well.

Reply

sxyloverboy
QUOTE(beeseven @ Jun 17 2005, 07:51 PM)
What sxyloverboy said will highlight it black, but when you take the mouse off it will revert back to normal. I think the best way to do it would be to use Javascript, but I don't really know it that well.
*




ok the colors are wrong. just change them to what you want it to be. (assuming you know how to)

Reply

Becca
if you are talking about the whole square then there is a javascript script on dynamic drive .

http://dynamicdrive.com/dynamicindex1/highlightmenu.htm

if this isn't what you want, then I dunno

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : link, colour

  1. Dreamweaver Cs3: How To Link Content To Layers/apdivs
    (4)
  2. Suitable Forum
    Link Exhanges (0)
    I am looking for the suitable forum to post a thread regarding link exchanges. Please reply to
    arnett.carroll@gmail.com. Thanks.....
  3. Image Hosting Link On My Website?
    need help (2)
    Please look at the imagefilez.com box at the top part of most of the pages at trap 17. I'm
    looking to place any kind of image hosting box similar to that one on my own website. The hosting
    service can be any website but I'm just trying to find a way that I can have my own image
    hosting box on the site. I don't care if it does the hosting through another site. Please, any
    help to create a image hosting box on my website would be greatly appreciated. /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />....
  4. Broken Link!
    (4)
    Just so you guys know, there is a broken link at the top of alot of your pages for computing web
    hosting. It goes to a site that doesn't exist. And the graphic for Imagefilez.com is also
    broke. Wasn't sure where to post, so here you are!....
  5. Link Between Depression And Learning Disabilities?
    Can depression cause learning disabilities? Do learning disabilities (3)
    I have been diagnosed with clinical depression. I have found at times that it is hard to
    concentrate (more often than not). I also have a hard time remembering things. I know that these
    are typical symptoms of depression but am wondering if depression itself can be considered a
    learning disability due to it's symptoms and side effects. I have done a little of research on
    the subject and see many references to people with learning disabilities developing depression
    because of having learning disabilities. Does anyone know of a good article, or maybe a website
    with....
  6. Free Web Hosting: (legend Link) [screened] [approved]
    Free Website: <legionoftwilight.trap17.com> (2)
    To generate an application for free web hosting please click here: Free Web Hosting
    Request Form I would like to request free web hosting from Trap17. Please find my application
    below. Your Registered Domain Name or Desired Trap17 Subdomain Name:
    legionoftwilight.trap17.com Account Username: aaronz Introduction: I love
    computers, video games, astronomy, and web design. Anything having to do with science or technology
    basically. Email Address: astronaut707@aol.com Age: 15 Country
    Where I ....
  7. Joomla 1.5.2 Broken Link?
    Add New User won't work (3)
    So I wiped the whole slate clean and noticed they've got 1.5.2 now, so I installed it. When I
    went to add another admin under the user manager menu, it did nothing when I clicked on "NEW" in the
    upper right. This link is broken or something else is wrong here. I need to be able to add other
    admins to get this thing off and running... Someone help me please... Admin??? Edit: I've come
    to the conclusion that the software that's on the server is bad. Could you, Shree, or someone
    over at Xisto please download a new copy of 1.5.2 to replace the one that's the....
  8. Flash Problem
    sometimes the buttons will load the wrong link. (9)
    Its weird but sometimes when you hit the forums or roster button on my flash banner it will load:
    www.childrenofconan.trap17.com/index.html instead of what its suppost to. It works fine, but if you
    mess around and click the buttons for a little bit you will notice this happening. This is a problem
    because people visiting the site will sometimes click the button once and be like oh I guess the
    link is broken and never come back, if anyone has a solution to what could be the problem it would
    be awesome. This is one of my first custom flash banners and im just confused what....
  9. Text-link-ads
    (0)
    I wanted to know your experience? I just started using the program and so far found it to be a god
    send! I am rolling the dough with their affiliate program. I know bloggers like John Chow and
    celebrity copy cat John Cow make lots of cash using it hence I tried it out. I would personally say,
    so far so good. My campaign of promoting the link worked well. What are your thoughts?....
  10. Link Image Css Bug In Firefox
    Can anyone help me? (7)
    I have a problem in a site I am creating. I have styled my post content links in the following
    way. CODE #post-content a {     background-color: #bf6f3c;     color: #fff;
        padding: 2px 2px 1px 2px;     border-bottom: 1px solid #7f4926; } #post-content
    a:hover {     color: #f5fac7; } And when I insert an link image like so: There
    seems to be an extra border inherited from my #post-content a style. I have attached the screenshot
    to show the problem. This was how my link image should look like: CODE #post-content a img { ....
  11. American Troops At Their Worst. Videos Of What Our Soldiers Who Represent The Usa Are Doing In Other Countries.
    WARNING, GRAPHIC CONTENT (in a link) (10)
    Our American Soldiers are supposed to be the people protecting those who can't protect
    themselves, insuring freedom and helping other countries and trying to work for peace. As such in my
    opinion they have a responsibility to become role models. Obviously some people in our armed forces
    are not up to that role. This article shows 5 different videos of things that our troops have been
    filmed doing (most of them filmed themselves and thought it was amusing) The article also makes a
    good point when it says that there is a proven link between the abuse and torture of ....
  12. Server Status Link Doesn't Work
    (1)
    Hey, I tried going to the xisto menu on the top right of the forums and the server/network status
    link doesnt work, it leads to: http://www.xisto.com/helpdesk/index.php?cmd=status I get, The
    requested URL /helpdesk/index.php was not found on this server. Is this a out-dated link?....
  13. Domain Name Hyperlinking Question?
    Hyper Link does not point (2)
    So I try to link to forums.gnarfard.com using a href=link here but it says
    gnarfard.com/forums.gnarfard.com How do I get it so it only links to forums.gnarfard.com and
    leaves the domain name behind thanks for the HTML help /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
  14. Is Link Right Handed Or Left Handed
    (7)
    In twilight princess Link is right handed in the Wii version but left handed in gamecube version so
    has Link really become normal or is it just a phase, also all of the TP screenshots show link right
    handed some times and left handed other and i got confused a lot anyway this is important so post
    now....
  15. Target Links To A Div Layer
    Is there such code that allows you to change ur link target so that it (22)
    Hey i need help I was wondering if there is a code that allows you to target ur link to a div
    layer.. lets say eg.. i got CODE <a href="www.example.com">Example</a>
    i want that page to show in the div layer below on the same page. Is there a way i can do that? .
    im tryin to avoid using frames. thanks....
  16. How Do I Add A Paypal Link On My Page?
    (2)
    For people to join my website (just friends at the mo) it is $10. I'd like to be able to
    create a paypal link on my page so that they have the option to pay via that? Thanks, std....
  17. D-link Router Burned?
    D-Link Routersection not connectable (0)
    My friend has an D-Link DI-604 - Router. Yesterday he told me that his router isnt connectable. He
    ran a couple of tests on his own, but still no connection. Without knowing what were the problem, he
    got in touch with a geek guy, that tested his router and found out that the routers WAN port was
    burned, and he couldn't use his router more than a simply switch without firewall. So
    here's my question; how could a routers WAN port be "burned" and still be possible to use the
    router as a switch? What went wrong with the router when there were Lightning and overvolt....
  18. Blogger Link Exchange
    want exchange links? (1)
    I´m running 2 blogs on blogger and I´m interested in exchanging links... My blogs are... nummell
    (English blogs only)) This blog is about making money online Blogger Caffe (Any portuguese blog
    or english blogs of the same kind) This blog is my own version of the top news and readers
    complaints box If you want to exchange links just leave a message on any of the blogs you wish to
    exange links... What´s your blog about?....
  19. Link-building Services In 3 Languages
    Global Vibration Inc. is now the first SEO agency offering link-buildi (1)
    Global Vibration Inc. is now the first SEO agency offering link-building services in 3 languages:
    English, Spanish and French: http://www.mseo.com/link_building_services.html Our link-building
    solutions are offered through temporary staffing services (hire 1 of our technicians for 1 month/160
    hours). SEO agencies, advertising agencies and web marketing companies are invited to consider
    acting as our reseller and receive a straight 20% commission. After visiting our multilingual
    link-building services, you may sign up as a reseller by clicking on the following link: ht....
  20. Toolbar Not Working (adobe Dreamweaver)
    I dont know why but it doesnt link. (7)
    See, my toolbar is made up of 8 buttons. They are: Home | Lessons | Theory | Links Videos| Extras
    | Forums | Feedback To make my website, I use adobe Dreamweaver CS3. if youve ever used it, youll
    know that if you want to make an image a link, you need to click it and fill in the link box at the
    bottom and then make the border 0. The annoying thing is, lets say I type in in the link box for
    Home "index.html". Then, I take a look at lessons. Suddenly, that box is filled with index.html
    too! So, I quickly change that box to lessons.html. But then (this is where the ....
  21. The Link Building Nightmare…
    (3)
    Don’t you ever wonder how ironic it is that we are drifting towards Web 2.0 and yet it’s becoming
    harder to get great links for search engine optimization? Nowadays more and more webmasters are
    barring search engines from seeing or following external links. Techniques used include: using a
    rel=”nofollow” on external links, forwarding the links through JavaScript, barring pages with
    external links in robots.txt, and using 302 (temporary) redirects. Getting links from websites
    employing these techniques means that your link won’t count in your search engine o....
  22. A New Free Game Mo Siang Online, Who Know The Link?
    who know the link? (4)
    /ohmy.gif" style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" /> i heard from my
    friend is great and free and being close beta, who know the download link?....
  23. Microsoft Launches Internet Explorer 7!
    Download link available here (25)
    Well, Microsoft has just released Windows Internet Explorer 7 (note that MSIE is no more, it is
    now WIE /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> ). What
    are your opinions about the new IE, if you have tried it? Is it better than Opera or Firefox?
    Personally, I think it is better than MSIE 6, and pretty much the same thing as FX, but I still miss
    features that are integrated into Opera, such as a mail client, IRC client and mouse gestures. There
    is also a major change when rendering web sites: The text is anti-aliased. Personall....
  24. Trap17 Link Exchange Script Introduced
    (26)
    Hi, We have introduced a link Exchange Script at Trap17. http://www.addlivelinks.com/ The
    categories are yet to be setup. It will be done as we receive link requests. Thanks. -OpaQue....
  25. How To Use A Link To Call Function In Php?
    (8)
    The title says it all, really. How do you call a function using in PHP? I'm doing a project
    and I stumbled upon this problem. I don't want to use query string in the href part like
    since that would mess up the other part of my code. Can anyone pleae help me? I've pasted the
    code below. /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Thanksh.
    CODE <?php   function display($x){ //coding goes here.   } ?>
    <html> <body> <p align="center"> <a href="what g....
  26. What Eye Colour Would You Prefer?
    If you could change it? (92)
    Oooh! Oooh! I like.... I DUNNO!!!! /blink.gif' border='0'
    style='vertical-align:middle' alt='blink.gif' /> /blink.gif' border='0'
    style='vertical-align:middle' alt='blink.gif' /> /blink.gif' border='0'
    style='vertical-align:middle' alt='blink.gif' /> I JUZ DUNNO!!!! /ohmy.gif'
    border='0' style='vertical-align:middle' alt='ohmy.gif' />
    AHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!
    ;!!! /ohmy.gif' border='0' style='vertical-align:middle' alt=....
  27. Link Exchange
    Link Exchange (2)
    Hi, My site is Golf equipment UK , has a PR of 5 and I want to exchange some links for it.
    Somebody interested? Claudiu....
  28. Table/cell Link?
    (10)
    Well, I actually don't know what it is. But I need a code where you can click everywhere on the
    table, not only on the text/image.....
  29. Link To New Page?!
    (1)
    Ok.i have a link to this: http://hostjunkies.trap17.com/forums in an .html iframe.. and it goes up
    in there...i want to know how to make an HTML link so this http://hostjunkies.trap17.com/forums
    pops up in a new page.....
  30. ZELDA and LINK
    (30)
    Ok here's something that bothers me. There's lots of people that say that zelda and link
    have some kind of romantic thing going on. I always imagined link just being her hero and that their
    relationship was strictly platonic. I mean, i always saw link as a completely pure person that
    doens't really have romantic feelings but only want to save her because it's the valient
    thing to do. .. also he's the legendary hero. .. it's in his blood. Someone argued that they
    do have a relationship because she kissed him in part two on the cheek when he saved h....

    1. Looking for link, colour

Searching Video's for link, colour
Similar
Dreamweaver
Cs3: How To
Link Content
To
Layers/apdiv
s
Suitable
Forum - Link
Exhanges
Image
Hosting Link
On My
Website? -
need help
Broken
Link!
Link Between
Depression
And Learning
Disabilities
? - Can
depression
cause
learning
disabilities
? Do
learning
disabilities
Free Web
Hosting:
(legend
Link)
[screened]
[approved] -
Free
Website:
<legionof
twilight.tra
p17.com>
Joomla 1.5.2
Broken Link?
- Add New
User
won't
work
Flash
Problem -
sometimes
the buttons
will load
the wrong
link.
Text-link-ad
s
Link Image
Css Bug In
Firefox -
Can anyone
help me?
American
Troops At
Their Worst.
Videos Of
What Our
Soldiers Who
Represent
The Usa Are
Doing In
Other
Countries. -
WARNING,
GRAPHIC
CONTENT (in
a link)
Server
Status Link
Doesn't
Work
Domain Name
Hyperlinking
Question? -
Hyper Link
does not
point
Is Link
Right Handed
Or Left
Handed
Target Links
To A Div
Layer - Is
there such
code that
allows you
to change ur
link target
so that it
How Do I Add
A Paypal
Link On My
Page?
D-link
Router
Burned? -
D-Link
Routersectio
n not
connectable
Blogger Link
Exchange -
want
exchange
links?
Link-buildin
g Services
In 3
Languages -
Global
Vibration
Inc. is now
the first
SEO agency
offering
link-buildi
Toolbar Not
Working
(adobe
Dreamweaver)
- I dont
know why but
it doesnt
link.
The Link
Building
Nightmare…
A New Free
Game Mo
Siang
Online, Who
Know The
Link? - who
know the
link?
Microsoft
Launches
Internet
Explorer
7! -
Download
link
available
here
Trap17 Link
Exchange
Script
Introduced
How To Use A
Link To Call
Function In
Php?
What Eye
Colour Would
You Prefer?
- If you
could change
it?
Link
Exchange -
Link
Exchange
Table/cell
Link?
Link To New
Page?!
ZELDA and
LINK
advertisement



Link Colour



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE