Re: Problem with formatting jQuery slider code into HTML

Re: Problem with formatting jQuery slider code into HTML

Hi all,
 
I have created my own jQuery slider from this tutorial:
 
 
I have all the relevent coded files and images in one root directory and the slider works when I test the index file. However I need to know how to include my slider into my homepage. I have tried pastingf the html and script codes into the body of the homepage and linking to the jquery and .js file in the head tag and making sure everything is linked up properly, and it worked fine in IE8 and Opera but not in Firefox, Safari and Chrome.
 
I then tried using the <embed> tag to link to the external html file, therefore having no need to include any of the slider html, scripts or css within the homepage code. This worked in Safari, Opera and Chrome but not in IE8 or Firefox. I am getting realy frustrated! Can someone please help me? If you check out the link to the tutorial above I just need to know what further steps to take to display this slider on my website.
 
I would greatly appreciate any advice people put forward.
 
Thanks in advance.
 
Marc