0
votes
0answers
21 views

Sharepoint Online - Image Position in RichTextEditor

I have a custom site with a list of posts (something like a blog, but not the standard sharepoint blog), and I'm having an issue with the RichText Editor and images. The issue consists in inserting ...
0
votes
1answer
41 views

How to change the SharePoint 2013 logo image dynamically?

Is there any way to change the SharePoint 2013 logo dynamically, ideally via javascript? I have tried: document.getElementById("onetidHeadbnnr0").src="\path\image.png"; Also tried: div = ...
0
votes
0answers
18 views

finding individual list items and updating css

window.SFW = window.SFW || {}; window.SFW.urgentAlertsItem = { customItemHtml: function (ctx) { var urgentAlertsItemHtml = "<div class='urgent'><h2 class='name'>" + ...
0
votes
2answers
29 views

changing css in jquery sharepoint list

I am wanting to change the css in jquery if a certain statement returns true. I have just been playing around without the statement but it doesn't seem to work. This is my js file: <script ...
0
votes
0answers
18 views

using css js optimization in sharepoint 2013 results with error on SPRequestModule.IsExcludedPath

I'm trying to use built-in dot.net 4.5 feature web optimization (css and js minification) on SharePoint 2013 website and I'm getting an exception on ~ urls: Exception Details: ...
2
votes
3answers
62 views

Error when deploying SharePoint feature: The specified list does not exists

I'm using SharePoint 2010 Foundation and Visual Studio 2010 Ultimate. I'm working on a Web Parts with two features: Feature1 - My Web Parts Feature2 - Contains two Visual Studio module with CSS and ...
2
votes
2answers
41 views

Is it possible to change SharePoint CSS via javascript?

I am working on Sp2013 site and want to change the opacity of the overlay. This is the CSS that needs to be used:- .ms-core-overlay { background-color: rgba(255, 255, 255, 0.5); } I am setting ...
0
votes
2answers
68 views

If a user accidentally closes dialog in sharepoint, can we force it to submit to it's list?

In our sharepoint item workflow we have users enter info into a form, then hit submit as usual. A manager does not want the users to have to do it again if they accidentally close the form, or fire ...
1
vote
4answers
198 views

Is it possible to change Web Part attributes via CSS or XSLT?

I am working on a dynamic SharePoint design using DVWPs. I have a hidden DVWP which controls other webparts based on values in a list. I'm running into a slight snag, though. I need to know if it's ...
1
vote
2answers
50 views

Question about using CSS with EasyTabs 5.0

Not sure if this would be the right place, but I have a question about the EasyTabs 5.0 solution for SharePoint 2010. The author's website (www.pathtosharepoint.com) appears to be down at the moment ...
3
votes
1answer
116 views

Get rid of Horizontal Scrollbar on SharePoint Online Public Website?

On my out of the box public website have a horizontal scrollbar I can't find the source of. No matter how I try to find it's origin, I'm having trouble getting rid of it. It may be an error in the ...
0
votes
1answer
42 views

How to cache js/css/media assets from server in apps?

If you reference for example a JavaScript library from a CDN it will loaded from the browser's cache if it has already been downloaded. But SharePoint doesn't always run in a Internet facing ...
0
votes
1answer
138 views

Unable to create Image Slider web part using slideShow.js

I want to make the web part for image sliding for Picture Library. I got this link for doing so. My code for visual web part is : <!DOCTYPE html> <html> <head> <meta ...
9
votes
4answers
1k views

SharePoint 2013 hide elements (in body area ) when ribbon is expanded / ribbon is in use

Is there a css class/id in SharePoint 2013 that hide elements when the ribbon is in use? I've got some elements that I don't want to show when the user's in edit mode! In the picture below you can ...
1
vote
3answers
214 views

Using javascript to apply “noindex” to get SharePoint to avoid crawling certain content

I have a problem with navigation elements being crawled on our SharePoint site. These elements come from a custom control that's used for building the site navigation, so the output is just html that ...
1
vote
1answer
192 views

CSS and js UX optimization for 2013 master page

I've been trying to optimize the user experience of a 2013 site that has an entirely custom responsive-design master page. So far, the only recommendation I've come up with is "Put your CSS links at ...
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 ...
1
vote
1answer
233 views

Can I add hide/show list to my Quick launch links

I have parent/child links hierarchy inside my Quick Launch links, but is there a way to be able to hide/show the child links, instead of always showing the child links? ::EDIT:: I have modified my ...
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
121 views

IIS 401 errors getting custom master page css and js

Environment: 2013 Enterprise, single WFE, full control of environment I'm building a custom master page for a SP site collection using a very basic setup. It's a simple responsive HTML page using ...
4
votes
4answers
3k views

Add Javascript to every page in Sharepoint 2013

I looked but from what I see most questions that have anything to do with this refer to an old version of Sharepoint where something is always different from what I see in SP2013. I basically just ...
0
votes
1answer
75 views

Show/Hide button based on User Email. Error: Unexpected identifier

I have a JavaScript which I use to hide or show a button based on the logged in user. Button: <a id="customAddNew" ...
1
vote
2answers
3k views

What is the proper way to add custom CSS/JavaScript SharePoint 2013 site?

I would like to tweak the default layout in SharePoint, e.g. add... .ms-number { white-space: nowrap; } ... to all pages. I know it is possible to modify a master page directly, but is it the ...
1
vote
0answers
87 views

Footer does fill the whole width. Scrolling in document library

I have a problem with the footer not extending to the right side when scrolling to the right. (In a document library with way to many columns). Meaning the footer have a blank spot in the right side ...
1
vote
0answers
226 views

Office 365 Public Website JavaScript Snippets - how to remove

Playing around with Office 365 public website Master Page. Used security trimming to strip down the master page to reduce weight for use in responsive design. Assumption is we would not want any of ...
0
votes
0answers
68 views

JavaScript tab control that works on SP 2010

I'm trying to use jQuery UI Tabs but it seems to conflict with SP2010 styles, do you know any alternative that Works with SP2010? Or maybe a way to fix this? The same issue occurs with Bootstrap ...
1
vote
1answer
313 views

Change CSS of selected item in sharepoint menu

Is there a way to do the same as done here with some Javascript? AspMenu does not render css-class for 'selected' element I want to use this CSS for the selected item in the menu .s4-tn ...
2
votes
1answer
93 views

Storing JS/CSS/HTML for a sub-site

I am building out a Single Page Application using knockout.js on a sub-site which I do have control of the parent site collection. I know most people recommend storing JS and CSS files in the Style ...
0
votes
2answers
1k views

How to center a Picture Library Slideshow Web Part's Previous, Next, and Pause buttons

We have a Picture Library Slideshow web part added to our site but the buttons to control Previous, Next, and Pause/Play directly underneath it are off-center to the left for some reason. We need to ...
1
vote
5answers
2k views

How do I Inherit the CSS Theme Color in my Sharepoint 2013 App?

I am building a Sharepoint 2013 App in Javascript / HTML / CSS and I want to implement / inherit the color / class / css used by the theme. How do I do this? I want to ensure consistency through ...
7
votes
3answers
4k views

How to avoid caching issue when using custom JavaScript and CSS deployed under _layouts?

On our farm, I'm deploying some JavaScript and CSS files under the _layouts folder. I'm then referencing them, where it's required using a <SharePoint:ScriptLink> or a ...
1
vote
1answer
26 views

Disappearing Images

I am still new to Sharepoint and I am trying to upload some files from my staging area to production. Everything work in staging however when I move the files to production, I noticed that there are ...
1
vote
1answer
116 views

Site Template with Custom Pages: css, javascript?

If I create some custom pages that include custom html, css and jquery and this page exists within a site that is used as a site template, will that cause issues? From my limited experience with this ...
2
votes
1answer
149 views

How can I fit a Datatable only into a webpart (not page) dynamically?

I develop a Webpart, which should be deployed in other SP-Farms. The Webpart contains a DataTable. I deployed the solution and the DataTable appears in the right side of the Website. I'm using a ...
0
votes
1answer
220 views

Deploying SharePoint files (css, javascript) onto different platforms without SharePoint Designer

I need to deploy to "_catalogs/masterpage/" and "Style Library/" multiple jpg, css, javascript files These files originate from a developer platform and are to be deployed to multiple platforms ...
-3
votes
1answer
97 views

What JQuery effect is this? [closed]

I found this really nice effect on this website: http://www.engadget.com/ Please take a look at the IE advertisements on the top and the right side of the page. It seems like some kind of elastic ...
2
votes
3answers
4k views

How to add javascript and css to a SharePoint 2010 webpart?

What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part? I would like them to be ...
1
vote
2answers
459 views

Icon-based menu that dynamically changes based on permissions

We're trying to create an square grid, icon-based menu that is permission trimmed (certain icons appear based on your specific SP permission group), that dynamically rearranges the icons based on your ...
2
votes
1answer
371 views

How do I trigger off of the ribbonbar being shown/hidden?

When the ribbon bar is visible (i.e., not in Browse mode), I want certain things to happen on my page (mostly involving changing styles of some items). How do I determine if it's visible or not or ...
0
votes
1answer
614 views

Hiding left hand navigation menu

I'm using the following code to hide the left hand navigation in SharePoint: <style type="text/css"> #s4-leftpanel { display:none !important; } .s4-ca{ margin-left:0px !important; } ...
4
votes
1answer
523 views

disabling javascript from overriding breadcrumb navigation styling

I've used some CSS to restyle the titlebar breadcrumbs in a SharePoint 2010 mysite. .s4-title h1 a, .s4-title h2 a, .s4-titlesep h2, .s4-title h2, .ms-ltviewselectormenuheader .ms-viewselector a { ...
2
votes
2answers
413 views

Branding SharePoint 2010 CSS and Javascript - Training Courses?

I've been tasked with branding our new corporate website which will be on the SharePoint 2010 platform. Is anyone aware of some good training courses in the UK that might be able to help on the CSS ...
9
votes
2answers
7k views

Programmatically add JS/CSS to pages

I've created a Visual Studio SharePoint 2010 solution with an ASCX that adds some JavaScript files and CSS to the head of each page; this is based on this article. When I deploy the solution, it adds ...
1
vote
1answer
314 views

How do you handle Javascript/CSS packaging/minification/auto-versioning in SharePoint?

Packaging: Taking file1.js and file2.js and combined them together to make file3.js Minification: Using things like JsMin or YUICompressor Auto-Versioning: URL has /scripts/file2.js?v=123456
2
votes
2answers
550 views

What do you do to enable Auto-Versioning of custom CSS and Javascript in SharePoint 2010?

I want to be able to auto-version these in SharePoint and I'm looking for the best solution. SharePoint does it with some of it's files. For example: <link rel="stylesheet" type="text/css" ...
3
votes
2answers
355 views

Can all the /_layouts/xxx.debug.js files not be served to end users?

I'm working with a 3rd party vendor who has done the SP 2010 integration of a small site. I've noticed that our incredibly simple login page is nearly 3.2 megabytes. The users of this site are the ...
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 ...
1
vote
1answer
419 views

Highlight Group By Row in SharePoint List

I've got a dashboard on my SharePoint Homepage that shows a RAG status of all our project tollgates, grouped by (a) category then (b) project. Is there a way to highlight a group by row in a list ...