0
votes
1answer
55 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
88 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
111 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
192 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
177 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
66 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
129 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
252 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
149 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
2k 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
113 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
144 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
299 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
499 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
261 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
650 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
723 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
418 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
375 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 ...
5
votes
7answers
4k 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
639 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
639 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
124 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 ...