How It Works

Etiam porta sem malesuada slider integration and settings euismody

Installing

In order to add your page a new Edge Slider, first of all you should ass the jQuery library in between the tags. There are two different methods for adding jQuery library. You can use either one of the two methods below.

Internal jQuery Library (From Your Own Servers)

You can see the "jquery-1.7.1.min.js" file that belongs to jQuery 1.7.1 version in ../edgeslider/js/ folder. In order to add the jQuery files in this folder to your website, put the codes below between tags .

01
02
03
04
05
06
07
08
09
10
11
12

<!DOCTYPE html>
<html>
<head>
…
<!-- Latest compiled and minified Jquery Framework -->
<script src=“/edgeslider/js/jquery-1.7.1.min.js“></script> 
… 
</head>
<body>
…

Remote CDN Servers (Through Google CDN Servers)

Another way of adding jQuery library to your website is installing it through remote servers that contain the jQuery libary. If your website has a lot of visitors, you can reduce the server traffic by installing jQuery library through Google CDN servers. Just add the codes below between <head> </head>.

01
02
03
04
05
06
07
08
09
10
11
12

<!DOCTYPE html>
<html>
<head>
…
<!-- Latest compiled and minified Jquery Framework -->
<script src=“http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/
jquery.min.js"></script> 
… 
</head>
<body>
…

Adding Edge Slider Plugin to Your Website

In order to add Edge Slider to your page, you need to add Edge Slider jQuery plug-in to your page first. Put the code below between the tags <head> </head> and strengthen your website with Edge Slider plug-in.

01
02
03
04
05
06
07
08
09
10
11

<!DOCTYPE html>
<html>
<head>
…
<script src="/edgeslider/js/jquery.edgeSlider.js"></script>
… 
</head>
<body>
…

Create a New Edge Slider

After adding jQuery and Edge Slider libraries to your website, you can add a new Edge Slider object to your page. At first you should add Edge Slider to a place where you can specify it between the tags <body> </body>.

01
02
03
04
05
06
07
08
09
10
11
12

<!DOCTYPE html>
<html>
<head>
</head>
<body>
…
<div id=“slider”></div>
… 
</body>
</html>

We use the name "slider", the id name of the <div> </div> object, again amongst the javascript codes that we can add between <head></head> like shown below.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19

<head>
   <script type="text/javascript">
    $(document).ready(function() {
        $('#slider').edgeslider({
            edgeTag: 'tagname',
            customCss: 'slider.css',
            transitionEffect: 'linear',
            transitionEffectTime: 600,
            navigation: true,
            pagination: 'number',
            cursor: 'pointer',
            type: 'normal',
            count: 2
        });
    });
    </script>
</head>

The javascript codes we added above make sure Edge Slider is viewed in features we specify in <div></div> area named “slider”. The detail you should be careful about is in “sliderDataTag:’tagname’” line, the variable we define as “tagname” has to be one of the tag groups specified in admin panel.

Adjusting Edge Slider Features

You can customize your slider by adjusting the following features.

01
02
03
04
05
06
07

$(‘#slider').edgeslider({
         …
        properties: ‘value',
         …
});
Properties
Value:
edgeTag
string . Default: 'homepage'
There is a defined tag for every slider in your Edge Slider admin panel. (Exp: homepage, subpage, landingpage). Here, you should type the tag of the slider group you wish to add.
customCss
string . Default: 'slider.css'
You can customize the appearance of the Edge Slider you added to your page as you wish. You can have different appearances for multiple Edge Sliders by defining a different css folder for each slider you add to your page.
transitionEffect
string . Default: 'linear'
In transition between two slides, you can type here with which effect the previous slide will go off the screen.
transitionEffectTime
integer . Default: '600'
In transition between two slides, you can type here in how many milliseconds the previous slide will go off the screen.
navigation
boolean . Default: 'true'
You can “true” and “false” rates of the navigation buttons on each side of your Edge Slider to show it on or off.
pagination
string . Default: 'number'
You can define the paging the style at the bottom of your Edge Slider as ‘number’, ‘none’ or ‘text’. Or you can turn it off completely by using ‘false’.
cursor
string . Default: 'pointer'
You can define what kind of cursor will be shown to click to sliders in your Edge Slider.
type
string . Default: 'normal'
You can define the paging the style at the bottom of your Edge Slider as ‘number’, ‘random’.
count
string . Default: 1
You can type how many of your sliders you want shown in your Edge Slider.

Adjusting Edge Slider Style

Edge Slider plug-in is pretty flexible for use. It allows you to design your slider however you want.

edgeTag
string . Default: 'homepage'
There is a defined tag for every slider in your Edge Slider admin panel. (Exp: homepage, subpage, landingpage). Here, you should type the tag of the slider group you wish to add.

You can adjust the slider.css folder that belongs to the slider you add for further appearance settings.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

/**************************************************/
/*********** Custom Edge Slider CSS ***************/
/**************************************************/

#slider {
    width: 550px;
    height: 400px;
    margin: 0 auto;
    overflow:hidden;
    position:relative;
    background-color: #FFF;
    text-align: center;  
}
.slider-pagination {
    list-style: none;
    background-color: #577f15;
    width: 100%;
    left:0px;
    bottom: 0px;
    position:absolute;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 100;
}
.slider-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.slider-pagination li {
    list-style: none;
    padding: 0;
    margin: 0;
    float: left;
}

Edge Slider Management Panel

"Edge Slider Management Panel" integrates with your website's admin panel, so you can install, organize and delete your slides by only using package numbers.

Get started with a free 14-day trial o Edge Slider and start create your slider.

Try Demo