Tag Info

New answers tagged

0

You can use JQuery to create menus as you like Please check the following link Please let me know in case of any query


0

The error you are getting (I presume) is a side affect of the problem... YOu have a few miss-matched curly braces... I found this quickly just by copying your code and pasting it into a code editor... it highlighted the syntax issues... Try this: (function($){ $(document).ready(function(){ value = $('div[id="cl"]').length; ...


1

According to this article Sandboxed Solutions support both custom actions as well as visual web parts. The following are not supported. Application Pages Custom Action Group Farm-scoped features HideCustomAction element Web Application-scoped features Workflows with code


2

You can extend the SPSecurityTrimmedControl class to create a custom control that discriminates based on group membership rather than permission level. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint.WebControls; using System.Web.UI; using Microsoft.SharePoint; namespace My.Custom.Controls { ...


0

This seems like it would be natively supported in a Content Query Web Part. It would require some rework on your part to add your links and thumbnails to a list, configure the CQWP slots, and style the CQWP appropriately but at least you know it works and is possible.


0

This seems pretty similar to what I encountered yesterday. It's not within the CEWP but you could use a script editor that uses css to hide the element and target that to whichever audience(s) of your liking. Target audience for a stylesheet


0

Well, to me it seems this should be pretty easily done with a custom content editor webpart. Create a new Webpart and have it derive from the Content Editor webpart. Add a custom action to the rich text editor so that you can use to easily inject an additional wrapper xml element surrounding the pieces of html you want to target. Use this XML element to ...


1

Like @cubanGuy answer.. try <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type=text/javascript> alert("yes"); </script > If that works, then you have a typo in your code. You could try to set "onchange" in the html code: HTML <select title="Option" id="iCard" ...


1

Have you tried: $("select [title='Option']".on('change', function(){ alert("yes"); });


1

Try this: In the Content Editor WebPart put the following: <script src="/sites/test/_layouts/15/SP.Runtime.js" type="text/javascript"> <script src="/sites/test/_layouts/15/SP.js" type="text/javascript"> <script src="/sites/test//sites/test/SiteAssets/Scripts/Script.js" type="text/javascript"> <a onclick="return redirectToDownloadsPage();" ...


0

Inserted a XsltListView Webpart as child list and used the filter option to filter by ID passing the query string to Child form (as shown in this video) https://www.youtube.com/watch?v=MiI-EJYTEp8



Top 50 recent answers are included