трабла с меню

Freema[N]
На сайте с 18.04.2010
Offline
44
294

Уважаемые форумчане я не силен в яваскриптах поэтому прошу вашей помощи. оформил пробелему как смог. если что-то надо предоставить - предоставлю

http://designers.rv.ua/1/demo.html вообщем так оно выглядит в чистом коде

http://designers.rv.ua/ а атк оно выглядит на форуме.

в чем пробелма?

нашел закономерность

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script type='text/javascript'>

jQuery.noConflict();
jQuery(document).ready(function($){

$("#show_login").click(function(){
$("#quick_login").show(400, function() {
$(".quick_login").fadeIn();
});
return false;
});

$("#close_login").click(function(){
$(".quick_login").fadeOut(400, function(){
$("#quick_login").fadeOut();
});
return false;
});

$(".forum_name").hover(
function(){
$(this).next(".forum_desc_pos").fadeIn();
},
function(){
$(this).next(".forum_desc_pos").hide();
}
);

$(".rounded-avatar img").load(function() {
$(this).wrap(function(){
return '<span class="rounded-img" style="background:url(' + $(this).attr('src') + ') no-repeat center center; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;" />';
});
$(this).css("opacity","0");
});

$("input[placeholder]").each(function(){

var inputtext = $(this).attr("placeholder");
$(this).attr('value', inputtext);
$(this).addClass('inactive_input');

var clearMePrevious = '';

$(this).focus(function(){

if($(this).val()==$(this).attr('placeholder'))
{
clearMePrevious = $(this).val();
$(this).val('').removeClass('inactive_input');
}

});

$(this).blur(function(){
if($(this).val()=='')
{
$(this).val(clearMePrevious).addClass('inactive_input');
}
});


});


$("#postingform .input_rte").focus(function(){

var topicDescInput = $("#topic_desc").val();
var topicDescPlace = $("#topic_desc").attr('placeholder');

if(topicDescInput == topicDescPlace){
$("#topic_desc").val('');
}

});


});


</script>

jQuery.noConflict(); удалением оттуда этой штучки включет меню но выключает все остальные скрипты. можно ка кто подружить их? я как понял не совместимость версий и ли че

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий