RaaapuLis Posted March 25, 2010 Report Share Posted March 25, 2010 Tātad lieta sekojoša, mājaslapā skripts iet, parādās un pazūd, taču ipb forumā vnk parādās, un nepazūd nekur.. Kāpēc neiet ipb forumā? <script language="javascript"> //jquerijs $(document).ready(function(){ $("#load").slideUp("slow").ajaxStart(function(){ $(this).stop().slideDown("slow"); }).ajaxStop(function(){ $(this).stop().slideUp("slow"); }); }); </script> <div id="load"><img src="/loader.gif" alt="" /> ielādējas...</div> Link to comment Share on other sites More sharing options...
worm Posted March 25, 2010 Report Share Posted March 25, 2010 ja tev ir firebug, tad attiecīgajā funkcijā (ajaxStop) pieraksti console.log("ajaxStop()") un skaties firebug konsolē vai tā funkcija tiek izsaukta... otra lieta, paskaties vai gadienā ar css kaut kas nav sapists, jo forumam nāk līdzi daudz liekas drazas... Link to comment Share on other sites More sharing options...
RaaapuLis Posted March 25, 2010 Author Report Share Posted March 25, 2010 neiet neviens variants.. Link to comment Share on other sites More sharing options...
BOT^a Posted March 25, 2010 Report Share Posted March 25, 2010 (edited) IPB3 lieto prototype un taapeec pa defu nedraudzeejas ar jQuery vainu lieto prototype ajax vai arii lieto jQuery.noConflict(); p.s. ja nu kas http://docs.jquery.com/Using_jQuery_with_Other_Libraries Edited March 25, 2010 by BOT^a Link to comment Share on other sites More sharing options...
RaaapuLis Posted March 25, 2010 Author Report Share Posted March 25, 2010 nesanāk.. :/ Link to comment Share on other sites More sharing options...
w4p1337 Posted March 25, 2010 Report Share Posted March 25, 2010 Kas tev nesanāk? noConflict() ? Link to comment Share on other sites More sharing options...
RaaapuLis Posted March 25, 2010 Author Report Share Posted March 25, 2010 (edited) vainu lieto prototype ajax vai arii lieto jQuery.noConflict(); p.s. ja nu kas http://docs.jquery.com/Using_jQuery_with_Other_Libraries Neviens neiet, meginaj ua prototype, nevis jquery, nesanaaca pat uz lcoalhost lai staradaatu a tas noConflict neko nemainiija.. Edited March 25, 2010 by RaaapuLis Link to comment Share on other sites More sharing options...
worm Posted March 25, 2010 Report Share Posted March 25, 2010 tev nekādi errori caur firebug nelido ārā konsolē? Link to comment Share on other sites More sharing options...
RaaapuLis Posted March 25, 2010 Author Report Share Posted March 25, 2010 (edited) nē.. mosh pienācis laiks mest mieru tiem ipb forumiem, un pašam sākt kaut ko uzkodēt un apvienot ar lietotāju tabulu? :? Edited March 25, 2010 by RaaapuLis Link to comment Share on other sites More sharing options...
worm Posted March 25, 2010 Report Share Posted March 25, 2010 btw man ir aizdomas, ka tu hooko nepareizās funkcijas... pamēģini šo te: $("#load").bind("ajaxSend", function(){ console.log("ajaxSend()"); $(this).fadeIn("slow"); }).bind("ajaxComplete", function(){ console.log("ajaxComplete()"); $(this).fadeOut("slow"); }); p.s. ja tev nav aktīvs firebug, tad console.log() metīs errorus Link to comment Share on other sites More sharing options...
RaaapuLis Posted March 25, 2010 Author Report Share Posted March 25, 2010 errorus nemet, $ u njQuery sarkanaa kraasaa ieksh firebug, console tukšums vspr..$ un jQuery sarkanā krāsā iekš firebug, ar šo skriptu skripts pat uz lcoalhosta neiet Link to comment Share on other sites More sharing options...
w4p1337 Posted March 25, 2010 Report Share Posted March 25, 2010 Tev ir pareizs links norādīts uz jquery un tml? Link to comment Share on other sites More sharing options...
worm Posted March 25, 2010 Report Share Posted March 25, 2010 jocīgi, es šito gignā izmantoju, viss strādā lieliski es domāju, ka tu kaut ko vienkārši nemāki p.s. ja tev kaut kas consolē sarkanā krāsā lec ārā, tad tas viennozīmīgi nav labi Link to comment Share on other sites More sharing options...
RaaapuLis Posted March 25, 2010 Author Report Share Posted March 25, 2010 (edited) nu linki pareizi 100%, mja worm, piekrist tev nāksies, jo esmu slims u ndroši vien kaut kru vienkārši nemanu kļūdu edit: uuu, n0r3k`s iekš mana topika XD EDIT2: bet nu jā worm, tev jau tas loaders ir tikai webā, forumā viņa tev nav.. pamēģini pats ielitk to pašu loaderi forumā.. Edited March 25, 2010 by RaaapuLis Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now