Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

I want to use the Jquery BBQ plugin with a little wordpress ajax -


i have tried head round jquery bbq seems brilliant can't work. here code have it's been messed around quite bit me:

$(".loadingallarticles").hide();  jquery('a.nextpostslink, a.previouspostslink').live('click', function(e){ $(".loadingallarticles").show();               e.preventdefault(); var link = jquery(this).attr('href');  $.bbq.pushstate({ url: link });  jquery('#allarticles').fadeout(500).load(link + ' #leftandrightpostbottom, #leftandrightposttop, #featuredposts, .postnav, .pagetitle, #footer', function() {   $(".loadingallarticles").fadeout(500);                                      jquery('#allarticles').fadein(500);   });  });   $(window).bind( "hashchange", function(e) {  var url = $.bbq.getstate( "link" );  }); 

essentially idea goto next set of posts want enable button , bookmark support, jump page 5 via link rather pressing next button on site 5 times.

feel free alter code want , i'm fine not using bbq if it's easier use alternative.

save me... , thanks


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -