Log In · Register

 
Certain script ~
squeex3
post Jun 10 2006, 10:57 AM
Post #1


Senior Member
***

Group: Member
Posts: 45
Joined: Oct 2005
Member No: 279,128



At this website, if you scroll down slightly, they have image links with this sort of fade thing whenyou put the cursor over the image.

I was just wondering if anyone knew the script/code for this.

Thanks ~
 
 
Start new topic
Replies (1 - 4)
talcumpowder
post Jun 10 2006, 11:00 AM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



[ http://www.dynamicdrive.com/dynamicindex4/highlightgrad.htm ]
 
squeex3
post Jun 10 2006, 11:58 AM
Post #3


Senior Member
***

Group: Member
Posts: 45
Joined: Oct 2005
Member No: 279,128



I use LJ so where would i place the header script ?



my code:

CODE
    body    {
        background-color: #FFFFFF;              
        background-position: center;
        background-attachment: scroll;
        background-image: url();
           text-align: center;
        color: #333333;
        font-family: "Trebuchet MS", sans-serif;
        font-size: 10px;
        margin: 0px 0 0px 0;
        border-color: #ffffff;
        border-style: solid;
        border-width: 0px;
        }
b{
        color: #A3C6C1;
}    

    a, a:link, a:visited {
        color: #333333;
        font-weight: bold;
        text-decoration: none;
        }
    
    a:hover {
        color: #121212;
        font-weight: bold;
        text-decoration: none;
                }
    
    p, td, blockquote {
            font-size: 9px;
                }
        
    code, kbd, pre, tt {
            font-family: monospace;
        }
        
    #content
    {      
        width: 736px;
        margin-top: 0px;
        margin-left: auto; margin-right: auto;        
        background-color: #FFFFFF;
        background-image: url(http://headsoak.profanatory.com/bkg/cirgb.gif);
        border-width: 0px;
        border-style: solid;
        border-color: #CCCCCC;
        padding: 9px;
        text-align: justify;
    }

    #maincontent {         
        margin-top: 0px;
        padding: 3px;
        font-family: "arial", sans-serif;
        font-size: 10px;
        line-height: 15px;
        background-color: #FFFFFF;
        background-image: url();
        color: #555555;
        border-style: solid;
        border-color: #CCCCCC;
        border-width: 0px;
        margin-right: 160px;
        text-align: justify;

        }
    
    #sidebar {
        font-family: "arial";
        font-size: 10px;
        line-height: 15px;
        padding-top: 3px;
        margin-top: 0px;
        background-color: #FFFFFF;
        border-width: 0px;
        border-style: solid;
        border-color: #CCCCCC;
          color: #999999;
        width: 155px;
        float: right;
        text-transform:lowercase;
        text-align: justify;
                }

    #header {        
        display:none;
                }

    #footer {            
        width: 100%;
        text-align: center;
        font-family: "arial", sans-serif;
        font-size: 11px;
        font-weight: bold;
        background-color: #ffffff;
        background-image: url();
        border-width: 0px;
        border-style: solid;
        border-color: #CCCCCC;
        color: #444444;
        z-index: 100;
        clear: both;
        }
        
    /* header -- links to views; title of journal; subtitle of journal */    
    
    div#header a, div#header a:link, div#header a:visited, div#footer a, div#footer a:link, div#footer a:visited {
        color: #222222;
        font-weight: lighter;
    }
    
    div#header a:hover, div#footer a:hover {
        color: #777777;
        text-decoration: none;

    }    
    
        ul.navheader     {    
        padding: 0px;    
        margin: 0px;
        }

        ul.navheader li  {
        display: inline;            
        padding: 0 3px 0 3px;
        }

    .title    {
        font-family: "arial", sans-serif;
        font-size: 10px;
        color: #cccccc;
        font-weight: bold;
        text-transform:lowercase;
        letter-spacing: 2pt;
        visibility: hidden;
        top: 10px;
                }
    
    .subtitle{
        font-family: "arial", sans-serif;
        font-size: 10px;
        color: #cccccc;
        font-weight: bold;
        text-transform:lowercase;
        letter-spacing: 2pt;        
        visibility: hidden;
        top: 10px;
                }
        

    /* sidebar */     
            
    div#sidebar a, div#sidebar a:link, div#sidebar a:visited{
        color: #777777;
        font-weight: bold;
    }
    
    div#sidebar a:hover {
        color: #aaaaaa;
        text-decoration: none;
    }
    
    .defaultuserpic {
        text-align: center;
        }
    
    .sbarheader {
        padding: 5px 5px 5px 5px;
        color: #000000;
        text-align: center;
                }
    
    .sbarbody {
        padding: 0 5px 0 5px;        
        }
    
    .sbarbody2 {
        padding: 0 5px 0 10px;
    }
            
    table.calendar {
        margin-right: auto;
        margin-left: auto;
        }
        
    .sbarcalendar {
        border-color: #cccccc;
        border-width: 1px;
        border-style: solid;
        text-align: center;
        font-family: "arial", sans-serif;
        font-size: 10px;
        }
    
    .sbarcalendarposts {
        border-color:  #bbbbbb;
        border-width: 0px;
        border-style: solid;
        background-color: #e5e5e5;
        text-align: center;
        font-family: "arial", sans-serif;
        font-size: 10px;
        font-weight: lighter;
        }
        
    ul.sbarlist
    {
        padding-left: 0px;
        margin-left: 0px;
        list-style: none;
    }

    li.sbaritem
    {
        padding-left: 10px;
        list-style: none;        
    }

    li.sbartitle
    {
        padding: 6px;
        padding-left: 5px;
        padding-right: 5px;
        list-style: none;        
        margin-bottom: 5px;
        margin-top: 5px;
        letter-spacing: 0px;
        color: #CCCCCC;
        font-family: "helvetica", sans-serif;
        font-weight: none;
        text-transform:lowercase;
        font-size: 18px;
           border-top: 0px dotted #CCCCCC;
           border-bottom: 0px dotted #CCCCCC;
}

    
    /* maincontent */    
    
    .subject img[src="http://stat.livejournal.com/img/icon_protected.gif"]{
        width: 0;
        height: 0;
        padding: 0 08px 10px 0;
        background: url(http://headsoak.profanatory.com/layouts/icons/lock.gif);
        }
    .subject img[src="http://stat.livejournal.com/img/icon_private.gif"]{
        width: 0;
        height: 0;
        padding: 0 08px 10px 0;
        background: url(http://headsoak.profanatory.com/layouts/icons/lock.gif);
        }

    span.ljuser{
        background-image: url(http://headsoak.profanatory.com/layouts/icons/figure_ver2.gif);
        background-repeat: no-repeat;
        background-position: left middler;
        }

    span.ljuser img{
        visibility: hidden;
        margin-top:-10px;
        margin-left:-6px;
        }

    .subcontent {        
    background-color: white;
        }
        
    .entry    {
        margin: 0px 0px 0px 0px;
        padding: 10px;
        background-color: #ffffff;
        color: #444444;
        font-family: "arial", sans-serif;
        font-size: 10px;
        text-align: justify;
        border-width: 0px;
        border-style: dashed;
        border-color: #d6d6d6;
        }
        
    .entry ul li
        {
        padding-left: 5px;
        margin-left: 0px;
        margin-right: 15px;
        }
        
    .entry ol li
        {
        padding-left: 5px;
        margin-left: 15px;
        }

    .userpic {
        display: none;
        }
        
    .userpicfriends {
        position: relative;
        float: left;
        padding: 5px;
        margin: 10px;
        text-align: center;
        border-style: dotted;
        border-width: 0px;
        border-color: #d6d6d6;
        font-family: "arial", sans-serif;
        font-size: 9px;
        z-index: 15;
        }
        
    .date {        
        line-height: 200%;        
        top: 5px;
        font-weight: none;
        color: #BBBBBB;
        font-family: "arial", sans-serif;
        text-transform:uppercase;
        font-size: 10px;
        letter-spacing: 2pt;
        text-align: right;
        background-color: transparent;
        }

    .ljtags {
        font-family: "arial", sans-serif;
        font-size: 10px;
        color: #7F7F7F;
        margin-top: 15px;
        font-weight: bold;
        text-transform: lowercase;
        position: left;
        }
    
    .subject {            
        padding: 6px;
        color: #CCCCCC;
        font-family: "helvetica", sans-serif;
        font-weight: none;
        text-transform:lowercase;
        font-size: 18px;
        background-color: #;
        letter-spacing: 0px;
        font-style: none;
           border-top: 0px dotted #C4C4C4;
           border-bottom: 0px dotted #C4C4C4;
        }
        
    .subject a, .subject a:link, .subject a:visited {
        color: #000000;
        }
    
    .subject a:hover {
        color: #333333;
        }    

    .datesubject {                
        background-color: #ffffff;
        padding: 5px;
        }
        
    .currents, .currentmood, .currentmusic {
        text-align: left;
        font-family: "arial", sans-serif;
        font-size: 10px;
        color: #7F7F7F;
        margin-bottom: 0px;
        padding: 0px 0px 0px 0px;
    
        }

    .comments {
        text-align: right;
        padding: 6px;
        position: center;
        top: 17px;
        color: #000000;
        font-family: "helvetica", sans-serif;
        text-transform:lowercase;
        font-size: 18px;
        background-color: #F1F1F1;
           border-top: 0px dotted #DDDDDD;
           border-bottom: 0px dotted #DDDDDD;
        font-weight: none;
        }
        
    div.comments a, div.comments a:link, div.comments a:visited{
        color: #CCCCCC;
        font-size: 18px;
        font-weight: lighter;
    }
    
    div.comments a:hover {
        color: #ABABAB;
        text-decoration: none;
    }

    
    /* maincontent --  entry, reply pages */    
    
    .datesubjectcomment {                
        background-color: #ffffff;
        padding: 5px;
        margin-top: 20px;
            }    
        
    .userpiccomment {
        position: relative;
        border-width: 5px;
        border-style: dashed;
        border-color: #d6d6d6;
        background-color: #ffffff;
        top: -30px;
        left: 0px;
        padding: 5px;
        margin: 10px 10px -20px 10px;
        z-index: 15;
        float: left;
        border-width: 1px;
        border-color: #ffffff;
        border-style: solid;
        }
        
    .box {
        border-style: dashed;
        border-width: 1px 0px 0px 0px;
        border-color: #EEEEEE;
        padding: 10px;
        }

    input, textarea {
        background-color: #ffffff;
        color: #5d5d5d;
        }
        
    textarea.textbox  {
          width: 100% !important;
           }
    
    .reply    {
        position: relative;
        margin: 20px 30px 10px 30px;
        padding: 25px 10px 10px 10px;
        text-align: left;
        font-family: "arial", sans-serif;
        font-size: 10px;
        line-height: 125%;
        background-color: #ffffff;
        color: #5d5d5d;
        }
        
    .replytosubject {
        font-weight: bold;
        }
            
        
    .commentreply {
        position: relative;
        margin: 10px;
        font-size: 10px;
        font-family: "arial", sans-serif;
        color: #5d5d5d;
        }
        
    .commentbox {
        
        border-color: #cccccc;
        border-width: 1px;
        border-style: solid;
        padding: 5px;
        margin: 5px;
        background-color: #ffffff;
        }
        
    .datesubjectcomment a:link, .datesubjectcomment a:visited {
        color: #000000;
        }
        
    .datesubjectcomment a:hover {
        color: #555555;
        }
    
    .commentboxpartial {
        border-color: #cccccc;
        border-width: 1px;
        border-style: solid;
        padding: 5px;
        margin: 5px;
        background-color: #ffffff;
        }

    .commentinfo {
        background-color: #ffffff;
        margin-top: 10px;
        width: 100%;
        }
            
        
    /* maincontent -- year/achive pages */
        
    ul.year {
        text-align: center;
        padding-bottom: 40px;
        }
    
    ul.year li {
        display: inline;        
        }
    
    table.yeartable {
        margin-left: auto;
        margin-right: auto;
        }
    
    table.yeartable td.yeardate, table.yeartable td.yearday {
        border-width: 1px;
        border-style: solid;
        border-color: #DDDDDD;
        }
    
    table.yeartable td.yearday {
        background-color: #ffffff;
        text-align: center;
        }
    
    td.yearmonth {
        border-style: none;
        }

        
    /* footer */
        
    ul.navfooter{
        padding: 0px;    
        margin: 0px;
        }
    
    ul.navfooter li  {
        display: inline;    
        margin: 0 5px 0 5px;
        }
        
    .clearfoot {        
        clear: both;
        }
                
    /* misc  */
                
    .clear {        
        height: 15px;
        }
        
    .skiplinks {
        text-align: center;
        }
        
.headerimage {
    position: relative;
    width:  730px; /* Width of the banner, in pixels */
    height: 260px; /* Height of the banner, in pixels */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 45px; /* Space between bottom of image and outer box of style */
    background-image: url("http://img167.imageshack.us/img167/7176/ljbanner2sp.png");
    background-repeat: no-repeat;
}

.separator{
/* for formatting separators between entries */
        height: 0px;
           border-bottom: 0px dotted #434343;
          margin: 0px 0px;
}
 
talcumpowder
post Jun 11 2006, 09:03 AM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



You can't use it for LJ.... wink.gif At least I was under the impression that LJ didn't support Javascript. You place it in LASTN_HEAD section. Under the CSS, before the CSS.... It doesn't matter as long as it's before the ending </head> tag.
 
squeex3
post Jun 11 2006, 09:35 AM
Post #5


Senior Member
***

Group: Member
Posts: 45
Joined: Oct 2005
Member No: 279,128



Okay ~ thanks anyway :)
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: