MVC3 Razor – jQuery – Visual Studio != Intellisense

I wondered where my intellisense had gone for jQuery with MVC3 and Razor. Anyway there is a fix for it:

Add the following to your view (with the jQuery vsdoc version you have:

@if (false) { <script src="~/Scripts/jquery-1.5.0-vsdoc.js" type="text/javascript"></script> }

The if-statement prevents the script tag from being rendered into the html source code.

Grab jQuery 1.5.0 vsdoc from here -> http://damianedwards.com/files/jquery/jquery-1.5-vsdoc.js

jQuery vScroll v1.2.0 released – multiple instance support + cycle feature

jQuery vScroll v1.2.0 released:

  • Includes support for multiple instances on a page.
  • Passing in of height atttribute for container.
  • Cycle feature to return to first item when last item reached.

Plugin Page Link

Download here: http://plugins.jquery.com/content/vscroll-120

Demo here: http://simon.tpdserver2.co.uk/jquery/vscroll/demo/

!Important: If moving from a previous version to v1.2.0 you must pass in the height you want the container to be as a plugin option.