Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-09-2009, 09:34 PM   PM User | #1
painfull v2
New to the CF scene

 
Join Date: Nov 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
painfull v2 is an unknown quantity at this point
Exclamation hey everyone

close post i apologize

Last edited by painfull v2; 12-10-2009 at 12:23 PM.. Reason: against rules
painfull v2 is offline   Reply With Quote
Old 12-09-2009, 10:06 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,248
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
How about this?
Code:
<html>
<head>
<title>Roll me over, in the clover</title>
<style type="text/css">
a.rollover 
{
    display: none;
    font-size: small; line-height: 50px;
    color: blue;
    text-decoration: none;
}
a.rollover:hover
{
    font-size: x-large;
    color: red;
}
</style>
</head>
<body>
<input type="checkbox" value="objchk" 
       onclick="document.getElementById(this.value).style.display=this.checked?'block':'none';" /> Objective 
<input type="checkbox" value="detchk" 
       onclick="document.getElementById(this.value).style.display=this.checked?'block':'none';" /> Details
<input type="checkbox" value="subchk" " 
       onclick="document.getElementById(this.value).style.display=this.checked?'block':'none';" /> Submissions
<hr>
<h3>objective</br></h3>
<a href="#" id="objchk" class="rollover">roll over me</a>
<h3>Details</h3>
<a href="#" id="detchk" class="rollover">roll over me</a>
<h3>submissons</h3>
<a href="#" id="subchk" class="rollover">roll over me</a>
</body>
</html>
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 12-09-2009, 10:11 PM   PM User | #3
painfull v2
New to the CF scene

 
Join Date: Nov 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
painfull v2 is an unknown quantity at this point
well i am trying to get it to work using the onmouseover
painfull v2 is offline   Reply With Quote
Old 12-09-2009, 10:38 PM   PM User | #4
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,248
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Because?

Oh...never mind. I see. Homework.

Ahh...then I really shouldn't directly answer you (rules of this forum).

Show what you've tried and let's see if we can suggest fixes.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 12-10-2009, 07:40 AM   PM User | #5
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by Old Pedant View Post
Because?

Oh...never mind. I see. Homework.

Ahh...then I really shouldn't directly answer you (rules of this forum).

Show what you've tried and let's see if we can suggest fixes.
How did you guess it was homework? Could it be something to do with <title> PROJECT 6-- OBJECTIVE</title>?

Do please read the posting guidelines regarding silly thread titles. The thread title is supposed to help people who have a similar problem in future. Yours is useless for this purpose. You can (and should) edit it to make it more meaningful.

You should also help us to help you by following the posting guidelines and wrapping your code in [code] tags. This means use the octothorpe or # button on the toolbar which will insert opening [ code ] and closing [ /code ] tags - omit the spaces.
Philip M is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:22 AM.


Advertisement
Log in to turn off these ads.