Roberto Luigi Posted October 12, 2014 Report Share Posted October 12, 2014 Vreau sa fac acest banner sa se miste ? Cum fac? Quote Link to comment Share on other sites More sharing options...
Moderators gadeas Posted October 12, 2014 Moderators Report Share Posted October 12, 2014 Downloadeaza fisieru ipbforumskins.js din: public_html > public > style_images > skinu care folosesti > js Si adauga intre: jQuery(document).ready(function($){ /* Mai multe coduri jQuery */ }); Urmatoru cod: var backgroundpos = 0; var offset = 1; function scrollbackground() { offset = (offset < 1) ? offset + (backgroundpos - 1) : offset - 1; $('#branding').css("background-position", + offset + "px 0"); setTimeout(function() { scrollbackground(); }, 100 ); } scrollbackground(); Backgroundu trebuie sa fie setat pe idu: #branding 1 Quote PHP Developer - Not available for freelancing right now Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament Link to comment Share on other sites More sharing options...
Roberto Luigi Posted October 12, 2014 Author Report Share Posted October 12, 2014 Tot nu se misca, era ceva din ACP de la global template parca ceva mai usor ca sa se miste... Quote Link to comment Share on other sites More sharing options...
Kennzo Posted October 12, 2014 Report Share Posted October 12, 2014 Tot nu se misca, era ceva din ACP de la global template parca ceva mai usor ca sa se miste... Este fix ce a zis gadeas.. am incercat pe un forum free care-l am si merge.. + studiaza tema animatee.. are acelasi concept.. branding miscator.. Quote Link to comment Share on other sites More sharing options...
Roberto Luigi Posted October 12, 2014 Author Report Share Posted October 12, 2014 E vorba de banner_bg.png ala sa se miste, si tot nu merge... Quote Link to comment Share on other sites More sharing options...
Roberto Luigi Posted October 12, 2014 Author Report Share Posted October 12, 2014 Asta am eu in ipbforumskins.js : jQuery.noConflict(); jQuery(document).ready(function($){ $('a[href=#top], a[href=#ipboard_body]').click(function(){ $('html, body').animate({scrollTop:0}, 400); return false; }); $(".forum_name").hover(function() { $(this).next(".forum_desc_pos").children(".forum_desc_con").stop() .animate({left: "0", opacity:1}, "fast") .css("display","block") }, function() { $(this).next(".forum_desc_pos").children(".forum_desc_con").stop() .animate({left: "10", opacity: 0}, "fast", function(){ $(this).hide(); }) }); $('#topicViewBasic').click(function(){ $(this).addClass("active"); $('#topicViewRegular').removeClass("active"); $("#customize_topic").addClass("basicTopicView"); $.cookie('ctv','basic',{ expires: 365, path: '/'}); return false; }); $('#topicViewRegular').click(function(){ $(this).addClass("active"); $('#topicViewBasic').removeClass("active"); $("#customize_topic").removeClass("basicTopicView"); $.cookie('ctv',null,{ expires: -1, path: '/'}); return false; }); if ( ($.cookie('ctv') != null)) { $("#customize_topic").addClass("basicTopicView"); $("#topicViewBasic").addClass("active"); } else{ $("#topicViewRegular").addClass("active"); } }); Quote Link to comment Share on other sites More sharing options...
Moderators Solution gadeas Posted October 12, 2014 Moderators Solution Report Share Posted October 12, 2014 Modifica cu: jQuery.noConflict(); jQuery(document).ready(function($){ $('a[href=#top], a[href=#ipboard_body]').click(function(){ $('html, body').animate({scrollTop:0}, 400); return false; }); $(".forum_name").hover(function() { $(this).next(".forum_desc_pos").children(".forum_desc_con").stop() .animate({left: "0", opacity:1}, "fast") .css("display","block") }, function() { $(this).next(".forum_desc_pos").children(".forum_desc_con").stop() .animate({left: "10", opacity: 0}, "fast", function(){ $(this).hide(); }) }); $('#topicViewBasic').click(function(){ $(this).addClass("active"); $('#topicViewRegular').removeClass("active"); $("#customize_topic").addClass("basicTopicView"); $.cookie('ctv','basic',{ expires: 365, path: '/'}); return false; }); $('#topicViewRegular').click(function(){ $(this).addClass("active"); $('#topicViewBasic').removeClass("active"); $("#customize_topic").removeClass("basicTopicView"); $.cookie('ctv',null,{ expires: -1, path: '/'}); return false; }); if ( ($.cookie('ctv') != null)) { $("#customize_topic").addClass("basicTopicView"); $("#topicViewBasic").addClass("active"); } else{ $("#topicViewRegular").addClass("active"); } var backgroundpos = 0; var offset = 1; function scrollbackground() { offset = (offset < 1) ? offset + (backgroundpos - 1) : offset - 1; $('#branding').css("background-position", + offset + "px 0"); setTimeout(function() { scrollbackground(); }, 100 ); } scrollbackground(); }); Cum am zis, banneru trebuie sa fie in: #branding { Nu conteaza cum e numit, nu conteaza ce mai are prin cod. Dar sa fie acolo. Ce spui tu din ACP si configuratie este la skinu Animate care are deja acel cod setat, doar modifici la o configuratie creata de ei din "No" in "Yes". Daca nu ai inceput sa modifici de la Animate, nu ai acea functie in skin. 2 Quote PHP Developer - Not available for freelancing right now Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament Link to comment Share on other sites More sharing options...
Roberto Luigi Posted October 12, 2014 Author Report Share Posted October 12, 2014 Gata, acum functioneaza, multumesc. Quote Link to comment Share on other sites More sharing options...
Giovanni Posted October 18, 2014 Report Share Posted October 18, 2014 dar cum asta, bannerul să fie în #branding ? Quote Link to comment Share on other sites More sharing options...
Moderators gadeas Posted October 18, 2014 Moderators Report Share Posted October 18, 2014 La: #branding { Trebuie sa ai setat: background: /* Cod css */; Adica imaginea sa fie acolo setata. Quote PHP Developer - Not available for freelancing right now Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament Link to comment Share on other sites More sharing options...
Giovanni Posted October 18, 2014 Report Share Posted October 18, 2014 dacă poți să mă ajuți unde să fac și cum ? Quote Link to comment Share on other sites More sharing options...
Moderators gadeas Posted October 18, 2014 Moderators Report Share Posted October 18, 2014 In ipb_styles.css cauti: #branding { Si intre { } adaugi: background: #000 url("Link spre banner") repeat-x top; Quote PHP Developer - Not available for freelancing right now Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament Link to comment Share on other sites More sharing options...
+MrTea Posted November 6, 2014 Report Share Posted November 6, 2014 Am adaugat codul ala sa se miste dar tot nu se misca... Quote Daca ti-am fost de ajutor la acest topic apeasa pe Link to comment Share on other sites More sharing options...
+Asa si asa Posted November 6, 2014 Report Share Posted November 6, 2014 Unde l-ai adaugat tu? Quote Link to comment Share on other sites More sharing options...
+MrTea Posted November 7, 2014 Report Share Posted November 7, 2014 la mine tot am inlocuit in js cu ce-a zis Gadeas dar nu se misca Quote Daca ti-am fost de ajutor la acest topic apeasa pe Link to comment Share on other sites More sharing options...
MadaliNNN Posted March 8, 2015 Report Share Posted March 8, 2015 Ce vă dă Gadeas trebe să mai și înlocuiți ca o formulă, nu tot mota mo cum acolo. Quote Link to comment Share on other sites More sharing options...
harys Posted January 26, 2019 Report Share Posted January 26, 2019 @gadeas si de unde pot descarca ipbforumskins.js ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.