Results 1 to 2 of 2

Thread: Javascript to CSS conversion

  1. #1
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Javascript to CSS conversion

    I have used the Ultimate Fade-in Slideshow on my site but now I need to create a separate CSS page for it as there is now too much scripting (and images) in the <Head>. Can someone please help with the conversion?

    My site is: www.tulbaghhotel.co.za

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    If you want to get rid of the scripting, just take everything between the <script> tags (don't include the tags) and put it into a blank file and save it as something.js and then link to it like this:
    HTML Code:
    <script type="text/javascript" src="something.js">
    /***********************************************
    * Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    Good luck!
    Last edited by jscheuer1; 04-23-2009 at 09:34 AM. Reason: include script credit in external script tag example

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    Cindyv (04-24-2009)

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
  •