PDA

View Full Version : Javascript to CSS conversion



Cindyv
04-23-2009, 06:26 AM
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

Snookerman
04-23-2009, 06:30 AM
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:

<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!