Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-20-2011, 02:09 AM   PM User | #1
rakicko
New to the CF scene

 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
rakicko is an unknown quantity at this point
jQuery problem on Google Chrome

i pay one guy to do something with joomla but he is stuck,because works in mozila,no in chrome. http://zaludjica.net/index.php/scena...a-kopira-i-ena check this video..need to be liked before played..like i need..works in firefox,but not in chrome..we think it is problem with jQuery.. this is the code :

Quote:
jQuery.noConflict();
jQuery('document').ready(function(){

jQuery('.embed').wrap('<fb:visible-to-connection>');
jQuery('.embed').wrap('<div class="likefbb">');
jQuery('.likefbb').prepend('<div class="likeCont2"></div>');
jQuery('.likeCont2').after('<div class="likeCont"></div>');
jQuery('.likefbb').hover(function(){showLike();});
});
var h=0;
function showLike(){
if(h==0){
jQuery('.addthis_button_facebook_like.at300b').wrap('<div id="fbnLike">');
jQuery('.addthis_button_facebook_like.at300b').wrap('<div id="fbnLike2">');
var fbhtml = jQuery('#fbnLike').html();

jQuery('.likefbb .likeCont2').prepend(jQuery('#fbnLike').html());
jQuery('.likefbb .likeCont2').prepend('<div class="likeTxt">Please click on the like button to be able to watch the video</div>');
h=1;

FB.Event.subscribe('edge.create', function(href, widget) {
jQuery('.likeCont2').remove();
jQuery('.likeCont').remove();
});
}
}
rakicko is offline   Reply With Quote
Reply

Bookmarks

Tags
jquery

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:50 PM.


Advertisement
Log in to turn off these ads.