So, I have this plugin http://www.myjqueryplugins.com/jRating
I downloaded it and tried it on a new blank page to see if I can do it. It worked. Now the problem is that I put this plugin on my website and did the EXACT things, like I did on a blank page, but this time the plugin does not work. Is it because I use the original jquery functions on the site itself or something like that? I can’t upload all my files on the Internet .. but here are the important parts
This is import
<link rel="stylesheet" type="text/css" href="styles/general.css"/>
<link rel="stylesheet" type="text/css" href="styles/place-event.css"/>
<link rel="stylesheet" type="text/css" href="styles/homepage.css"/>
<link rel="stylesheet" type="text/css" href="styles/css-buttons.css"/>
<link rel="stylesheet" type="text/css" href="styles/colors.css"/>
<link rel="stylesheet" type="text/css" href="plugin/jrate/jquery/jRating.jquery.css"/>
<script type="text/javascript" src="plugin/jrate/jquery/jRating.jquery.js"></script>
<script type="text/javascript" src="scripts/removeTextClick.js"></script>
<script type="text/javascript" src="scripts/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
This is jquery code
<script type="text/javascript">
$(document).ready(function(){
$("#abso").hide();
$("#close").hide();
$("#places-feed").load("eventPictures.html");
$("#comments").load("commentsOnEvent.html");
$("#insert-activity").load("newsFeed.html");
$("#list-friends-feed-link").load("friendsCount.html");
$("#notify").load("notificationCount.html");
$("#list-groups-feed-link").load("groupsCount.html");
$("#list-friends-feed-link").click(function(){
$("#abso").load("listFriendsFeed.html");
$("#abso").slideDown("600", function(){});
$("#close").slideDown("600", function(){});
});
$("#list-pictures-feed-link").click(function(){
$("#abso").load("picFeed.html");
$("#abso").slideDown("600", function(){});
$("#close").slideDown("600", function(){});
});
$("#list-groups-feed-link").click(function(){
$("#abso").load("listGroupsFeed.html");
$("#abso").slideDown("600", function(){});
$("#close").slideDown("600", function(){});
});
$("#notify").click(function(){
$("#abso").load("notifications.html");
$("#abso").slideDown("600", function(){});
$("#close").slideDown("600", function(){});
});
$("#upload-pic-place-gallery").click(function(){
$("#abso").load("uploadPicPlaceGallery.html");
$("#abso").slideDown("600", function(){});
$("#close").slideDown("600", function(){});
});
$("#close").click(function(){
$("#abso").slideUp("600",function(){});
$("#close").slideUp("600",function(){});
});
$(".ratings").jRating();
});
</script>
Finally, this is part of the code that includes the div in the html that the plugin uses
<div id="the-place-event-div">
<div id="for-top-box">
<a>
<img src="images/welcome.png"/>
</a>
<div id="place-description"><p>where awesomeness meets awesome</p>
<p id="date-time">Date:<a>21/08/2010</a> Time:<a>07:00am</a></p>
<div class="ratings" data="12_1">
</div>
</div>
</div>
source
share