HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.

learn more… | top users | synonyms

2
votes
3answers
3k views

SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”

I want to edit the seatle.master master page for my enterprise wiki site collection. So I did the following:- I copy the seatle.html inside the SP designer. Paste it. It automatically creates two ...
0
votes
1answer
50 views

Rich HTML - No Limitations

I have followed instructions (basically exactly the code in the link) on how to create a unrestricted HTML field: http://blog.mastykarz.nl/publishing-rich-html-no-limitations-sharepoint-2010/ I am ...
2
votes
2answers
31 views

Store HTML files in a document library - how to prevent SharePoint adding “ghosting” code

I am storing HTML files in a SharePoint document library (2013). Unfortunately, every time I upload a file, SharePoint is adding some code, the same as here: Why is SPD adding content to my file? I ...
0
votes
1answer
45 views

Please correct my javascript code

Please i need help with my script,I want my page to generate thumbnails directly being read from a share point list, below is the already existing code : <script type="text/javascript"> ...
2
votes
2answers
2k views

How to modify the sharepoint 2010 NewItem2 function?

In sharepoint 2010, I want to add javascript to the alerts popup window page, but I don't want to modify the actual layouts file. I want to dynamically insert javascript in it. Basically the button to ...
0
votes
0answers
21 views

Add new DIV and Phone Icon

I have 2 folds question: How do I add a Div above the s4-titlerow. Lets call this NavBar. Should I add this to Masterpage because it needs to be on all the site collections for persistent ...
7
votes
3answers
7k views

Breadcrumb and flyout on custom master page

I have a master page that I wrote from scratch and applied through the Design Manager to one of my site collections. I would like to add the 2010-style breadcrumb and/or navigate-up flyout button in ...
2
votes
3answers
380 views

Share HTML content between pages

I'm sure this is an FAQ and probably answered many times on Google but I'm struggling to work out what to search on. I want to write a bit of HTML on one page and then include a reference to the same ...
0
votes
1answer
36 views

Update column using javascript

I'm somewhat new to SharePoint and I need help updating columns using javascript. I have a list that tracks expiration dates and shows traffic lights based on the days away from that expiration ...
0
votes
1answer
1k 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
3answers
38 views

Sharepoint CSS : dynamically add SharePoint:CssLink using javascript/jquery

How to add CSS Link dynamically to elements? $('head').append('<link type="text/css" rel="stylesheet" href="my css path">'); The below code doesnt work because we need to specify the ...
0
votes
2answers
35 views

Relative Paths in Content Editor Web Part

I have a relatively complex html-structure in a document library, which I want to display in a web part. The web part refers to site.com/library/index.htm, from which other pages are called. Problems ...
0
votes
1answer
907 views

unable to get property 'getEnumerator' of undefined or null reference error

When i try to retrieve list items in sharepoint list using javascript i get the error my code <script src="/_layouts/MicrosoftAjax.js" type="text/javascript"></script> <script ...
0
votes
1answer
36 views

How to display Sharepoint online office 365 site in aspx page

I have created an ASP.net web application where I am trying to display a SharePoint Office 365 online site through iframe. I am getting an error XFrame cannot be set to same origin How to ...
2
votes
1answer
27 views

Link to upload a new document

I have looked to try and link to the "Upload new Document" form for my Shared Documents from my home page but have had a lot of trouble. I am unsure of what other posts are saying when they mention ...
0
votes
1answer
33 views

The condition Greater Than (>) cannot work in my jquery code [closed]

I need to check the number of characters in class span, then change CSS according to the number. For example, if length of title is less than 29, the title color should be yellow. If length of title ...
0
votes
1answer
19 views

How to select entire texts in class span [closed]

I have an array title value with the class .block .title h2 span, I want to select entire texts in this class and check every title length. my script is x=$(".block .title h2 span").text()[i]; ...
5
votes
3answers
20k views

How do I prevent Sharepoint from asking to download html files to my local machine?

I have a page that contains a Page Viewer web part. Each time the page loads, in both edit and view modes, I get a File Download dialog box asking "Do you want to save this file?", listing the correct ...
0
votes
2answers
19 views

Using an input value in an href

I would like to use the value that I get in the 'Title' input field, and append it to the end of my href url. Do you know how to do that? Title Search: <input name="Title" type="text"/> <a ...
0
votes
0answers
16 views

Add a mouse over tooltip to folders in a SP 2010 library

I have seen a few similar questions to this one, but none that has an answer that I can use. The need is to add a specific tooltip that appears when the cursor hovers over any one of a number of ...
2
votes
1answer
32 views

Padding or margin for CEWP

I have added a link to another page via a CEWP but I need to move the position of the link to the top of the web part. I have attached a screenshot which will demonstrate the issue better. I need ...
0
votes
1answer
50 views

HTML 5 embed into SharePoint

Is there a reason SharePoint restricts some HTML 5 commands when embedded? For example, when I embed this <video width="320" height="240" controls> <source src="movie.mp4" ...
0
votes
1answer
37 views

display HTML styling to a div using content templates and JS

I am busy working on creating a 'new and announcements' web part for a client using a 'News' list, a content search on a New content type, and displaying it using a display template and javascript. ...
0
votes
1answer
49 views

Add a “add Link” to a Content Editor Web part

I have used a Content Editor web part to display a scroll-down list of links. The code I use is similar to this: <select id="mySelect" jquery110205452414735412181="1" ...
0
votes
1answer
42 views

Group by field using jQuery

Say I didn't want to use the Group By option in an out of the box view to group my list by a certain field. Is there a way to achieve this using jQuery, JavaScript or something other front-end code?
0
votes
1answer
39 views

Content Editor - ordered list second level

I wanted to create multilevel ordered list in SharePoint 2013 Content Editor, with continuous counting, including numbers from upper levels. 1. Planes 2. Cars 2.1. Ferrari 2.2. BMW 3. Trains ...
0
votes
0answers
181 views

Generating an html file from a master page created in the Designer

I created a new master page by copying the current oslo.master in the SharePoint Designer to add breadcrumbs to the oslo layout (following this link. I noticed that it did not generate an html file ...
0
votes
1answer
88 views

How can I get the mark-up for “add new item” link inside my list view, that opens inside a dialog box

I have the following list view:- But I need to add the “+ Add new item” link inside another page. So can anyone advice how I can get the mark-up for add new item which will display the form inside ...
0
votes
1answer
56 views

How to create custom html page for displaying list information?

I am just learning SharePoint 2010 and have a question about creating custom web pages for displaying information. Here is my situation: I have a list library that the user can filter to see only the ...
1
vote
1answer
41 views

why seatle.html is missing on subsites

I am confused on how i should be editing master pages on site collection & sub sites.now i have a team site collection inside sharepoint 2013, and when i check its master pages inside SP designer ...
0
votes
1answer
53 views

Sharepoint Enterprise wiki page layout for mobile devices view

I am working on SharePoint 2013 Enterprise wiki site, and users are complaining that accessing the wiki pages from their mobile devices is not very user friendly. now i have enabled a site feature ...
0
votes
0answers
9 views

why WebPartMobileContentPanel div inside an enterprise wiki site collection will always be empty

I have the following:- SharePoint server 2013 with Enterprise Client Access License + service pack I created a new site collection of type Enterprise wiki. inside the enterprise wiki site ...
0
votes
1answer
13 views

Disabling how changing an HTML file name in a Doc Lib modifies the file contents

SharePoint version: 2007 I am seeing a weird issue. When changing the name of a .htm file in a document library (Check Out > Edit Properties > Change the Name Field > Check In), it seems that ...
1
vote
3answers
165 views

Get current logged in user and display it on the Site as “Hello (Username)”

I am using SharePoint 2013 Online and I'm looking for some JavaScript and html to display the current logged in user on the site like for example: Hello (Username) If anyone could help or just ...
0
votes
0answers
10 views

InfoPath 2013 - PreferredName Displaying the Service Account Name [duplicate]

I have a Simple InfoPath 2013 Form. When I preview the InfoPath form it displays my name correctly. However I have the Form on my web page added as a Web Part and whenever I view it, it shows the ...
0
votes
0answers
57 views

Add SharePoint form fields in content editor web part

I have one Feedback list with columns like category, contact name,contact email, comments and I want to create one feedback form. First of all I need to use Content Editor Web Part only for that with ...
0
votes
0answers
38 views

modify the min length for the “People or Group” auto complete

i have a "People or Group" field inside my team site, and currently the built-in autocomplete will work after typing 3 characters. so how i can modify this to allow the autocomplete to work after ...
-1
votes
2answers
21 views

How to create links to lists in my custom global navigation

Created a global Navigation with drop down menu but not sure how to create links in my code to my SP lists. Here is a link to my code. http://jsfiddle.net/XPE3w/2738/
2
votes
0answers
30 views

What's the point of xlmns:ie=“ie”?

Sharepoint page layouts often include the following markup: <div xmlns:ie="ie"> <!-- contents --> </div> What's the use of the attribute xlmns:ie?
1
vote
1answer
892 views

HTML/CSS Website conversion to Sharepoint

This is my first time ever working with SharePoint I have developed websites before PHP/Ruby but I have never worked with this before. I have SP Designer installed but I'm really clueless how to get ...
2
votes
0answers
10 views

Determine when a boolean function has changed from true to false [closed]

I have a Print button on a web page that opens a PDF in a new window. I have function, lets call it pWindowNeeded this holds a boolean value. function pWindowNeeded() { if ( newPWindowNeeded == 'Y') ...
0
votes
0answers
18 views

Make parts of “edit source” web part editable by users

I am currently creating a new UI for a sharepoint site, and am at the stage of adding content. How can I make parts of my html editable by content creators, without giving them the ability to break ...
0
votes
2answers
148 views

Using HTML to recalculate calculated column

I wish to create an auto incremented "TaskId" list field. I had intended to create a new value that padded out the [Id], but obviously [Id] cannot be used as it is not available until after the item ...
0
votes
1answer
31 views

custom edit unlike the built-in edit form will not show newly created fields

I am working on an Enterprise wiki site collection. now if i am using the built-in Edit form it will automatically show any new field added to the Enterprise-wiki content type. But now i wanted to ...
1
vote
3answers
2k views

List view loses focus when additional webpart added to page

I have a list page to which I need to add an additional webpart (in this case, a more powerful filter). However, the ribbon doesn't appear because the listview does not have focus. This is easily ...
0
votes
0answers
31 views

Using HTML codes in Quick Parts

Is there any way to display the HTML codes as text in Quick Parts. I need to include table from the data in extract from SharePoint using Quick Parts. So, I need to display it as text in Word. Thanks ...
1
vote
1answer
55 views

Cancel button redirect in a url

I have a CEWP with an image. The URL takes you to the pages library and selects the content type specified in the URL. I need to make the cancel button take you back to the home page of that site. ...
0
votes
1answer
25 views

Upload an html page to sharepoint

I"ve been working on an html code (1 page only) with functions (using Javascript and CSS) and it's all combined in one file named menpower.html. I want to upload this html page to my SharePoint, so ...
0
votes
0answers
51 views

How to hide/remove fields from the default Editform for my Enterprisewiki page

I am working on an Enterprise Wiki site collection. And I need to modify the default edit form to only include the Wiki page Name. So to achieve this I did the following steps:- 1- Using SharePoint ...
0
votes
0answers
43 views

Sharepoint 2010 PlaceHolder attribute # issue in multiple lines of text column

I have a timer job with PlaceHolder ID and attritube is #. It checks a list and sends email every night. I created a EMAILTemplate list to send email. The body of the email is Multiple Lines of Text ...