Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: hey everyone

  1. #1
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation hey everyone

    close post i apologize
    Last edited by painfull v2; 12-10-2009 at 12:23 PM. Reason: against rules

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,537
    Thanks
    77
    Thanked 4,381 Times in 4,346 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well i am trying to get it to work using the onmouseover

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,537
    Thanks
    77
    Thanked 4,381 Times in 4,346 Posts
    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.

  • #5
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,017
    Thanks
    203
    Thanked 2,538 Times in 2,516 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •