Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

slide php code

Posted on 2014-04-10
2
Medium Priority
?
571 Views
Last Modified: 2014-04-10
I got the code below from http://unslider.com/ and it does not seem to work. May be I did something wrong. I am very beginner in programming php so any help will be greatly appreciated.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
<!--
.banner { position: relative; overflow: auto; }
    .banner li { list-style: none; }
        .banner ul li { float: left; }
-->
</style>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>

<script src="//unslider.com/unslider.min.js"></script>

<script type="text/javascript">
		$(function() {
			$('.banner').unslider();
		});
</script>

</head>

<body>
<div class="banner">
    <ul>
        <li><img src="images/banner1.jpg" width="960" height="202" /></li>
		<li><img src="images/banner_about.jpg" width="960" height="202" /></li>

    </ul>
</div>
</body>
</html>

Open in new window

0
Comment
Question by:leblanc
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 39993137
Where is the "http:" in lines 15, 16, and 18?

i.e.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>

<script src="http://unslider.com/unslider.min.js"></script>

Open in new window

0
 
LVL 1

Author Comment

by:leblanc
ID: 39993170
ahhh... Thank you
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question