SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question CSS and Javascript?

    I am new with CSS Style Sheets.
    I want to apply an effect to all my links by use of CSS Style Sheets, the effect is a kind of colour fade, done with JavaScript. You can see the effect on this forum: http://www.cdgroup.org/forums/tbs/ci...x.php?h=1&pf=2
    The html reference is
    "<SCRIPT language=JavaScript src="page_files/fade.js"></SCRIPT>"
    Any help would be appreciated.
    Thermal Degree.

  2. #2
    Old Fogey mancroft's Avatar
    Join Date
    Oct 2002
    Location
    lost
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.cdgroup.org/forums/tbs/civ3/fade.js

    why not download the file above, and put

    <script language="JavaScript" src="fade.js"></script>

    in your page head and see what happens?
    :

    :

  3. #3
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just because:

    Code:
    <script language="JavaScript" src="fade.js" type="text/javascript"></script>
    (yes, I have been doing too much XHTML recently )

    Douglas
    Hello World


Bookmarks

Posting Permissions

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