Category: Html

All the html related posts.

E

Extract the Term Sets and their custom properties using CSOM in SharePoint 2013

The code snippet below will help you to query the SharePoint 2013 Term store using CSOM (ECMAScript)://Get the Current SP Context var context = SP.ClientContext.get_current(); //Get the Current SP Taxonomy Session var taxSession = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); //Get the Term Stores instance var termStores = taxSession.get_termStores(); //Get the exact Term Store you would like to query//To get this...goto your term ...

B

Basics of javascript Templating

Being the 100th post, i felt i should share some of my most useful learning here. And i could not think of anything better than javascript Templating. There are quite a handful of such templating tools available online(JsRender, Underscore.js, Moustache.js...). Feel free to run a jsPerf on the tool you wish to use and then ...

D

Detect multiple key press in javascript for your website

Many a times we end up in situations where in our clients are windows app migrants to web. And they could not let go off the "hotkey" concept. Let's say "Ctrl + S" or "Alt + R" to perform save or submit operation on a website. The options are endless. A scalable code that you ...

B

Best Practices for jQuery Developers

Following are some of the best practices that you could follow while working with jQuery: Plugins: Please avoid unnecessary use of plugins If a plugin is being used, respect the authors work and ensure that the plugin file is reused with the license comments intact If you are writing a reusable functionality in the code, ...

S

Solve Flickering jQuery accordion issue in MOSS 2007

MOSS 2007 for the simple reason of missing a DOCTYPE can screw up the smoothness of animations created through jQuery. One of my situations didn't allow me to add DOCTYPE to my master and my clients ended up seeing flickering animation of the accordion. Seriously that was irritating. Being an ardent admirer and an evangelist ...

H

How to remove the dotted outline when you click on button or anchor tag

It is quite common fact that due to paddings, we tend to blow the control to larger sizes. Say a menu item, which is a simple anchor tag, inside an ordered list; you will blow the anchor to such a level that on click of it, there appears an outline with dotted line, which looks ...

H

How to remove “Open” button from File Download Dialog options you get in your browser?

I received one client requirement sometime back asking for removing the "Open" button from the File Download popup you get when you are trying to download any file which cannot be viewed directly on the browser. Inorder to remove the "Open" button, you can make use of one of the  "meta" tags HTML has given ...

Advertisements
Advertisements