Linking a Jquery slider to your index

Magic

Posting Freak
Oct 11, 2012
1,026
196
So yesterday I made this Jquery image slider in a seperate HTML document. I'd now like to add this file into my Index of my website.
How would I link it in?
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
You'll need the scripts and the required HTML.
Copy the HTML from the other file.
Link JS documents like so: <script type="text/javascript" src="__FILE-URL__"></script>
Link CSS document like so: <link rel="stylesheet" href="__FILE-URL__" />
 

Mee

Member
May 4, 2012
232
28
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " ">
<html xmlns=" ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Title</title>
<link href="css/style.css" rel="stylesheet">
<script type="text/javascript" src="js/slider.js"></script>

</head>

<body>
Your script code anywhere here.
</body>
</html>
 

Magic

Posting Freak
Oct 11, 2012
1,026
196
xpsv3m.png

This is where I want the slider to show up

ousgso.png

So that is the slider file and it needs to be linked to the content section of my Index.

The Slider is a .html file so I don't know why i'm being given Javascript things.

Excuse my noobishnessnessness 
Close Thread Please - I figured it out myself :)
 

Users who are viewing this thread

Top