Friday, November 19, 2010

Using Jquery in Master Pages

There are few things to notice :

1) try google CDN's
link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/sunny/jquery-ui.css" rel="stylesheet" type="text/css"/>
script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript">/script>
script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript">/script>

2) Put stepone in the head section of the Master page before Head Content Placeholder
head runat="server">
title>/title>
link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/sunny/jquery-ui.css" rel="stylesheet" type="text/css"/>


link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />



/head>

No comments:

Post a Comment