blindmind Posted January 8, 2011 Report Share Posted January 8, 2011 (edited) Tatad, ir poga, uz kuras uzspiezhot atver tads ka jauns lodzinsh taja pasha majaslapa.. Kods pogai izskatas shadi: Man vajag ar javascripta palidzibu nosimuleet "clicku" kaut ka.. <a href="#" class="bid-btn">Bid</a> Te ir pilna lapele (japieregistrejas) - http://www.lockerz.com/auction (login: [email protected] , parole: gignam) Ar click() kaut ka nesanak (Firefox). Suggestions? Edited January 8, 2011 by blindmind Link to comment Share on other sites More sharing options...
sLIDe Posted January 8, 2011 Report Share Posted January 8, 2011 (edited) Ja tu gribi, lai tev automātiski bidojas, tad tev vajag vēl apmānīt recaptcha Paskaties funkciju bid() http://www.lockerz.com/min/?f=js/auction/index.js,js/global.js,js/vendor/jquery.ba-dotimeout.min.js,js/vendor/jquery.fancybox-1.3.1.js,js/popover/popover.js,js/vendor/swfobject.js,js/layout/default.js Edited January 8, 2011 by sLIDe Link to comment Share on other sites More sharing options...
blindmind Posted January 8, 2011 Author Report Share Posted January 8, 2011 Ja tu gribi, lai tev automātiski bidojas, tad tev vajag vēl apmānīt recaptcha Paskaties funkciju bid() http://www.lockerz.com/min/?f=js/auction/index.js,js/global.js,js/vendor/jquery.ba-dotimeout.min.js,js/vendor/jquery.fancybox-1.3.1.js,js/popover/popover.js,js/vendor/swfobject.js,js/layout/default.js Ar captchu man nebus problemas. bid() ir domats tad, kad tu esi izvelejies balvu kadu gribi, bet man vajag ar javascriptu izveleties. Link to comment Share on other sites More sharing options...
Su1c1deR Posted January 10, 2011 Report Share Posted January 10, 2011 pastasti ko tu ar to captchu darisi? man ar noderetu Link to comment Share on other sites More sharing options...
blindmind Posted January 15, 2011 Author Report Share Posted January 15, 2011 Ideas, anyone? Link to comment Share on other sites More sharing options...
X ID Posted January 16, 2011 Report Share Posted January 16, 2011 http://www.lockerz.com/min/?f=js/auction/index.js,js/global.js,js/vendor/jquery.ba-dotimeout.min.js,js/vendor/jquery.fancybox-1.3.1.js,js/popover/popover.js,js/vendor/swfobject.js,js/layout/default.js 19. rinda: $('#catalog div.active div.item-holder').bind('click', function (event) { showQuickView($(event.currentTarget).parent()); }); click events nav bindots uz <a> elementu. Bindoto funkciju izsauc šādi: $('#catalog div.active div.item-holder').eq(.click(); Link to comment Share on other sites More sharing options...
blindmind Posted January 24, 2011 Author Report Share Posted January 24, 2011 (edited) New problem.. <div id="catalog"> <div id="3247" class="item inactive"></div> <div id="3248" class="item inactive"></div> <div id="3249" class="item inactive"></div> <div id="3250" class="item inactive"></div> <div id="3251" class="item inactive"></div> </div> Es gribu atstat tikai divu ar id 3247, parejos paslept ar setAttribute("style","display:none;"); How? Ar for in loop'u man nesanak, obviously es daru ko nepareizi. Edited January 24, 2011 by blindmind Link to comment Share on other sites More sharing options...
w4p1337 Posted January 24, 2011 Report Share Posted January 24, 2011 $('#catalog').each().setAtrribute("style","display:none;") $('#3246').setAttribute("style","display:inherit;"); js tiešām nezinu, tikai manuprāt, tā kaut kā varētu. Link to comment Share on other sites More sharing options...
sLIDe Posted January 24, 2011 Report Share Posted January 24, 2011 Jau atrisinājām $("#catalog > div:not(#3247)").hide(); 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