Geeks With Blogs
Reidar Husmo SharePoint from the trenches Html Html 5 with CSS and Javascript
Edit multiple items as ribbon button

Adding ribbon buttons can be a frustrating process. I show how to do it the fast way during development, for easier troubleshooting.

Posted On Tuesday, January 29, 2013 12:40 PM

Html 5 clock, part ii - CSS marker classes and getElementsByClassName
The clock I made in part i displays the time in "long" - "It's a quarter to ten" (but in Norwegian). To save space, some letters are shared, "sevenineight" is four letters shorter than "seven nine eight". We only want to highlight the "correct" parts of this, for example "sevenineight". When I started programming the clock, each letter had its own unique ID, and my script would "get" each element individually, and highlight / hide each element according to some obscure logic. I quickly realized, ......

Posted On Thursday, July 5, 2012 10:11 AM

Html 5 – new size units
There are some new size units with CSS 3, which allows you to resize elements relative to the viewport size. They are vw, vh, vmin (that’s vm in IE), and perhaps vmax. (Viewport width, height, smaller of the two, larger of the two.) 8vw is 8% of the viewport width – or 205 pixels on my 2560 screen. I created a tiny demo clock which sizes the elements so that it uses the whole screen. Clock – in Norwegian, but it’s the source that is interesting… Bug: Resize does not work. Tested for IE 9 & 10 ......

Posted On Wednesday, July 4, 2012 10:50 PM

Html pages in SharePoint
By default, SharePoint 2010 will not let you show html pages in the browser. If you add them to your site, either using upload or SharePoint Designer, the browsers will prompt you to save the file. It is easily remedied; open central admin, manage web applications, select web application, general settings, and change "Browser file handling" to permissive. Ah, but what if you do not have access to CA - like in Office 365? The official answer is simple: "Not supported" If you can rename the files, ......

Posted On Saturday, June 30, 2012 2:21 PM

Copyright © Norgean | Powered by: GeeksWithBlogs.net | Join free