<link rel="stylesheet" type="text/css" href="css/main.css"  />
    <script src="js/jsimageslider.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href= "css/generic.css" />
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> 
    <div id="dm1">
        <div id="dm1Inner">

<h1 class="first">hello people</h1>
    <div id="sliderFrame">
     <div id="ribbon"></div>
        <div id="slider">
            <img src="images/sl-1.jpg" alt="Welcome to Design3d.nl"  />
            <img src="images/sl-2.jpg" alt="Customizable Transition Effects" />
            <img src="images/sl-3.jpg" alt="Easy to use" />
            <img src="images/sl-4.jpg" alt="Pure Javascript. No jQuery. No flash." />
            <img src="images/sl-5.jpg" alt="#htmlcaption" />
            <img src="images/sl-6.jpg" alt="Most light weight Image Slider"/>
            <img src="images/sl-7.jpg" alt="Fine tuned. Sleek & Smooth" />
            <img src="images/sl-8.jpg" alt="Fine tuned. Sleek & Smooth" />
            <img src="images/sl-9.jpg" alt="Fine tuned. Sleek & Smooth" />
            <img src="images/sl-10.jpg" alt="Fine tuned. Sleek & Smooth" />
            <img src="images/sl-11.jpg" alt="Fine tuned. Sleek & Smooth" />
            <img src="images/sl-12.jpg" alt="Fine tuned. Sleek & Smooth" />
            <img src="images/sl-13.jpg" alt="Fine tuned. Sleek & Smooth" />
            <img src="images/sl-14.jpg" alt="Fine tuned. Sleek & Smooth" />


        <div id="thumbs">
            <div class="thumb"><img src="images/sl-1-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-2-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-3-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-4-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-5-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-6-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-7-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-8-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-9-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-10-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-11-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-12-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-13-96x41.jpg" /></div>
            <div class="thumb"><img src="images/sl-14-96x41.jpg" /></div>



    margin:20px auto; 
    border:1px solid #667;


#slider {
    height:700px;/* Make it the same size as your images */
    background:black url(loading.gif) no-repeat 50% 50%;
    margin:0 auto;/*make the image slider center-aligned */
#slider img {
    position:absolute ;

img { text-align: center}

/* the link style (if an image is wrapped in a link) */
#slider a.imgLink {

/* Caption styles */
div.mc-caption-bg, div.mc-caption-bg2 {
    left: 20px; /*if the caption needs to be aligned from right, specify by right instead of left. i.e. right:20px;*/
    bottom: -40px;/*if the caption needs to be aligned from top, specify by top instead of bottom. i.e. top:150px;*/
div.mc-caption-bg {
    background:transparent; /*Caption background color. Can be set to "background:transparent;", or set to semi-transparent through the sliderOptions.captionOpacity setting in the javascript.*/
div.mc-caption {
    font:bold 13px/16px Arial;
div.mc-caption a { 

/* ------ built-in navigation bullets wrapper that is relative to the #slider ------*/
div.navBulletsWrapper  {

#thumbs .thumb 
    *display:inline;zoom:1;/*IE6, IE7 hack*/
    margin:0 1px;/*this determins the distance between each thumbnail*/
    border:1px solid #333;

#thumbs .thumb img{border:1px solid #555; cursor:pointer; width:70px; height:44px; opacity:0.5;filter:alpha(opacity:50);}
#thumbs .thumb-on img{border:1px solid #999; opacity:1;filter:alpha(opacity:100);}

/* --------- Others ------- */

Recommended Answers

All 16 Replies

on server doesn't works only #thumbs effect, main gallerys sliding effect works perffectly

Your reference to the ajax file seems to be incorrect. you are missing "http:"

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

Also, make sure you upload the script to the js folder on the server.

<script src="js/jsimageslider.js" type="text/javascript"></script>

commented: The http part isn’t missing. It’s intentionally left out to work with either http or https -8

it doesn't works anyway

Do you have the URL where this is online to take a look? You've only provide the HTML and CSS. There may be some other issues within the JS file.

The page does not come up. Did you fix this in your local solution and upload it to the server?

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>


<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

when the "http:" is not included in the URL, even the local copy that I have will not load. Once the http: is included, at least the page comes up even though I dont have access to your javascript file.

On the internet, the page doesnt come up which leads me to beleive that you havent corrected this.

if it is possible i can upload my files here

I just tried again, and you r website online is not coming up. My browser gives me a "connection reset error". Yes, you can zip your project and upload it hear, or you can a working copy on jsfiddle.net which is really helpful as well.

i can't upload photos

here is full

When I run your site using my browser's developer's tools, I only come accross two issues.

First, you refer to a loading.gif reference in your CSS and so the browser is expecting to find this file and cannot in the CSS folder.

Secondly, since I do not have the images, the tool reports that the images are unreachable, thats fine for testing.

I went ahead and created some test images, and uploaded the site to one of my webs. The web app ran without any issues. The images I uploaded where display both in the thumbnail strip as well as in the main screen moving from one picture to the next.

There is something about your hosting, or the way you are uploading your project. You have validated that it works locally as well as I and all of your references seem to be correct with the exception of the loading.gif image.

Are you sure you are uploading the files properly into the correct structure on your hosting provider's site?

i thin there is something wrong with js

if your page is hosted on https then use
<script src="https//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
else us
<script src="http//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

if your page is hosted on https then use
<script src="https//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
else us
<script src="http//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

I think you meant https:// vs http:// (you forgot the colon)

Alternatively, you can just use

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

(which is correct without the colon) and it will use whichever scheme the URL containing that script tag has.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.