Jump to content
  • 0

Скрипт неработает так как нужно


Mr.Black
 Share

Question

Здравствуйте, есть у меня скрипт, но не работает так как нужно в Mozilla FireFox.

Страница - http://melofon.ms/pop/1021-ed-shulzhevskiy-my-baby.html

При загрузке плеер заменяеться на картинку, если нажимаеш на картинку плеере должен открываться, до етого момента все хорошо, а дальше в Fx когда нажимаеш на паузу или другую кнопку в плеер он перезагружаеться

// Player (display: none;) —————-
$(document).ready(function() {
var Player = $('.MiniPlayer');

Player.each(function() {
$(this).append('<img src="http://melofon.ms/templates/Default/images/player_on.png" alt="Player_ON" class="player_img" />');
$(this).find('.player').hide();
});

Player.live('click', function() {
Player.each(function() {
$(this).children('img').show();
$(this).find('.player').hide();
});
$(this).children('img').hide();
$(this).find('.player').show();
});
})

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy