Rohitashv Singhal
Rohitashv Singhal

Reputation: 4557

unable to display javascript on my website

i have designed a website. it is now live with http://innovakota.6te.net

I have used some java script on this for sliding the pics. it is running good on localhost. but when i am running on server, the slider is not working. The javascript code is as follow:

<script type="text/javascript">
$(document).ready(function() {
    $().piroBox({
            my_speed: 400, //animation speed
            bg_alpha: 0.1, //background opacity
            slideShow : false, // true == slideshow on, false == slideshow off
            slideSpeed : 4, //slideshow duration in seconds(3 to 6 Recommended)
            close_all : '.piro_close,.piro_overlay'// add class .piro_overlay(with comma)if you want overlay click close piroBox

    });
});
</script>

I have tried it on three hostings but the same problem is coming. i am attaching the local host snapshot also. enter image description here

Please help me guys

Upvotes: 1

Views: 208

Answers (2)

Pierre G.
Pierre G.

Reputation: 71

I think you need to clean your jquery.custom.js

Uncaught SyntaxError: Unexpected token ILLEGAL

Upvotes: 1

mplungjan
mplungjan

Reputation: 178383

Garbage in the JS file (http://innovakota.6te.net/lib/jquery.custom.js) - you need to take a look at it

਀� //Wave slider call ----------------------------------------------------਀樀儀甀攀爀礀⠀搀漀挀甀洀攀渀琀⤀⸀爀攀愀搀礀⠀昀甀渀挀琀椀漀渀⠀⤀ 笀� jQuery('.waveshow').nivoSlider({਀ऀऀ攀昀昀攀挀琀㨀✀猀氀椀挀攀䐀漀眀渀✀Ⰰ� slices:15,਀ऀऀ愀渀椀洀匀瀀攀攀搀㨀㄀   Ⰰ� pauseTime:5000,਀ऀऀ搀椀爀攀挀琀椀漀渀一愀瘀㨀琀爀甀攀Ⰰ ⼀⼀一攀砀琀 ☀ 倀爀攀瘀� directionNavHide:true, //Only show on hover਀ऀऀ挀漀渀琀爀漀氀一愀瘀㨀昀愀氀猀攀Ⰰ ⼀⼀㄀Ⰰ㈀Ⰰ㌀⸀⸀⸀� keyboardNav:true, //Use left & right arrows਀ऀऀ瀀愀甀猀攀伀渀䠀漀瘀攀爀㨀琀爀甀攀Ⰰ ⼀⼀匀琀漀瀀 愀渀椀洀愀琀椀漀渀 眀栀椀氀攀 栀漀瘀攀爀椀渀最� manualAdvance:false, //Force manual transitions਀ऀऀ挀愀瀀琀椀漀渀伀瀀愀挀椀琀礀㨀 ⸀㠀Ⰰ ⼀⼀唀渀椀瘀攀爀猀愀氀 挀愀瀀琀椀漀渀 漀瀀愀挀椀琀礀� beforeChange: function(){},਀ऀऀ愀昀琀攀爀䌀栀愀渀最攀㨀 昀甀渀挀琀椀漀渀⠀⤀笀紀Ⰰ� slideshowEnd: function(){} //Triggers after all slides have been shown਀ऀ紀⤀㬀� });਀� ਀�

Upvotes: 1

Related Questions