1
vote
0answers
20 views

To Scroll to the top of page

I'm using angularjs & sharepoint 2013. I have implemented the SPA model in one page where the entire page refresh may not happen. Here, the scroll bar is not always going to the top of page since, ...
0
votes
1answer
14 views

ScriptResource.xsd error on site

I am getting a javascript error on all the pages in my application . Message: 'Sys.UI' is null or not an object Message: 'Sys.__upperCaseTypes' is null or not an object ...
1
vote
1answer
23 views

“Working on it” message - Handle event and hide some blocks

I edited master page, added some custom blocks. My problem is when opening the web site I see my footer and header blocks. How can I hide these blocks when "Working on it" block appears? Can I ...
0
votes
3answers
84 views

Sharepoint site : Javascipts not working

I have a sharepoint site . The javascripts seems to be working only for my home page . If i naviagate to any other pages , the javascripts are not getting executed . I observed the behavior in chrome ...
0
votes
1answer
60 views

'OpenCalloutAndSelectItem' is undefined / 'ShowMenuForTrOuter' is undefined

SP2013 Enterprise, custom master page using skel.js and jquery Recently users have started receiving an error when trying to access the item menu revealed by the ellipses next to an item in a list. ...
0
votes
2answers
86 views

Include js file in Page Layout, after jQuery file in Master Page

I'm trying to include a javascript file in my page layout file. I already have it inside the "PlaceHolderAdditionalPageHead" Content Placeholder, and it includes the file, however I need it to be ...
2
votes
3answers
305 views

Removing top links from Sharepoint online team site

The whole day yesterday I have been trying to follow the instructions from MSDN to hide the top links in a SharePoint team site (SharePoint Online in Office 365). However, I can not get it to work. ...
0
votes
1answer
248 views

Add custom web application/page which uses files from other folders

I've created a JavaScript web browser game. The HTML page, Game.html, within folder Game references several other JS/jQuery/CSS files stored in sub folders. I simply want to add the Game folder, ...
0
votes
1answer
95 views

Call jQuery and other scripts for the entire site collection

I want to be able to use jquery and other javascript files across my entire site collection. If I create a new site, it should already be calling jQuery. I don't want to have to worry about whether ...
0
votes
1answer
139 views

Calender and Date picker will overlap when i re-size my browser

I have the following components inside my App part ; a calendar and a date picker (i have moved the datePicket to be in the left side of the screen instead of being on the right side):- And I set ...
0
votes
0answers
263 views

Resource interpreted as Image but transferred with MIME type text/css

When browsing my SharePoint 2013 Community site using goole chorme and using its developer tool , the consule is showing the following error:- Resource interpreted as Image but transferred with MIME ...
0
votes
0answers
206 views

javascript:OpenPopUpPage will close automatically on safari web browser

I have the following code to display a pop-up window:- <li class="ms-comm-adminLinksListItem" unselectable="on"> <a ...
0
votes
2answers
76 views

How to change the Ribbon.calender colour from green to blue

Blue is our official colour, and the higher management mentioned that all the colours should be blue. So for my Ribbon Calendar the upper boarder will be green as follow:- So is there a way to ...
0
votes
1answer
157 views

Sharepoint javascript:OpenPopUpPage Is not being displayed well on Safari and Chrome

I have added and code snippet to my team site home page to display a pop up when clicking on a link:- <li class="ms-comm-adminLinksListItem" unselectable="on"><a ...
0
votes
1answer
392 views

Removing Fellow & Sync buttons using javaScript worked well, while it will fail to hide the share Button

I have wrote the following three scripts at the end of my master page, to remove the Fellow,Sync and Share buttons:- <script type= "text/javascript"> ...
0
votes
1answer
156 views

Editing SPO 2013 Master Pages - no effect and where do you place javascript code block?

I'm trying to add a jQueryt block to oslo master page on spo 2013. check out, make changes and save, but no apparent impact. Am I placing javascript in the wrong place? do I need to do any additional ...
0
votes
4answers
3k views

Referncing a java script inside my master page will not fire

I have added the following to my seatle.master page inside my SharePoint server 2013 :- <SharePoint:ScriptLink language="javascript" name="custom.js" OnDemand="true" runat="server" ...
0
votes
1answer
123 views

How to dynamically load js file in master page based on aspx page loaded?

I have include all the link to my javascript file in my master page using tag. Can I load specific js file according to pages loaded? (for example, I would like to load home.js only when Home.aspx is ...
0
votes
1answer
179 views

Customizing Top navigation bar with javascript

I would like to make a customized the top navigation bar with mouse hoover and dropdown. The list is all sites that person have access too in that site collection. Since some people have access to ...
1
vote
3answers
336 views

masterpage javascript not working while anonymous user visits the site

Explanation. I have applied anonymous access to entire website. My Javascript working fine while users login. But not woking while anonymous users visits the site. I need to execute masterpage ...
2
votes
2answers
1k views

How to retrieve Sharepoint list data in master page

I have Created Custom Master Page. and i want to access SharePoint List Data in this Master Page using JavaScript. I write the following script to access data but it gives error that ...
1
vote
2answers
2k views

SHarepoint 2010 - popup an image for 5 second after i open my site

How i can popup an image that display for 5 second as slogan/announcement after opening my sharepoint site welcome page As Example: http://www.lebanese-forces.com regards, Hass
0
votes
5answers
509 views

looking for javascript reference that's in master page

An old version of jquery is being loaded into my masterpage and I can't figure out where it's coming from. Looking at the masterpage, I see SharePoint:ScriptLink ID="ScriptLink1" ...
0
votes
1answer
272 views

Programmatically set src attribute for JavaScript link on masterpage?

The dev site was set up as a subsite in a site collection with the URL http://server/sites/site but on the production server it's just http://site so the src attribute on the dev box <script ...
2
votes
3answers
668 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
3
votes
2answers
784 views

ScriptManager ServiceReference in SharePoint

I have always used jQuery.ajax to retrieve data from listdata.svc or lists.asmx in SharePoint and from some custom web services. Now I will try Microsoft Ajax Library and especially ServiceReference ...
2
votes
4answers
5k views

Loading jQuery in the Correct order

I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page. <script src="/Style Library/js/jquery-1.6.4.min.js" ...
0
votes
3answers
461 views

SharePoint redirect to add parameter

I want to add a parameter "Force=True" when the user is redirected to userdisp.aspx (when you click on people's name) What is the best way to do it? Details: I need that because I do not have a ...
0
votes
2answers
423 views

Link in master page to base url

In a WebApp with diffrent site collections and subsites, I would like to add a link on the custom master page of all sites to the WebApp Url. (This Url is corresponding with a home/top site ...
6
votes
7answers
5k views

What is the proper way to add jQuery to a MasterPage?

Currently I am using this method in the header: <script src="/_layouts/MNCAssets/scripts/jquery-1.5.1.min.js"></script> But for some reason, my webparts that use jQuery don't appear to ...
1
vote
4answers
3k views

Why are my sub site collections not getting javascript and css files?

I have a master page deployed with a feature which has custom javascript and css references on it. I am using the <Sharepoint:ScriptLink> and <Sharepoint:CssLink> tags and the code is ...
0
votes
1answer
668 views

ScriptLink without Locale ID in path

I have this ScriptLink in my custom Master Page: <SharePoint:ScriptLink language="javascript" name="my.js" runat="server"/> This renders as 1033/my.js on an English Site Collection, but as ...
1
vote
3answers
640 views

Strip publishing master-page for anonymous users

Is it ok to strip a masterpage for all SharePoint scripts and styles? We have custom CSS and all of our scripts are JQuery. Even CQWP will have custom rendering. The reason we want to do this is so ...
1
vote
1answer
126 views

Embedded JScript in masterpages works in Windows 2003 / fails in 2008

My colleague just reported that he developed a master page with embedded JScript using Windows Server 2003. The same master page fails to execute the JScript when used on a Windows Server 2008 ...