Category Archives for Web development

Programming, CSS, and general web stuff.

Get Facebook Profile Picture with Javascript SDK

It’s pretty simple to get the profile picture of a Facebook user using Facebook’s Javascript SDK. No extra permissions or access token are required. Create the App If you haven’t already, create your app in Facebook Developers. Add Javascript to Log Into the App and Grab the Profile Photo Review the instructions for setting up [...]

Also posted in Facebook | Tagged | Leave a comment

Adding CKEditor Spell Checker and Enabling by Default

To avoid having to look this up again and again, here it is in a sample custom config.js in the ckeditor: This is a basic config.js set up. config.js is found in the main ckeditor folder. The operative lines are: Ckeditor

Tagged | Comments Off

Google Analytics Event Tracking Optional Field Use: Value Without a Label

In Google Analytics event tracking the category and action parameters are required. Optional fields are label, value, and non-interaction. If you want to use any of the optional fields without the prior optional fields, you need to pass in undefined. For example if you want to pass in a value without a label: _gaq.push(['_trackEvent', 'Purchases', [...]

Also posted in Google Analytics | Tagged | Comments Off

stopPropagation and preventDefault jQuery Methods

Simple demo of stopPropagation() and preventDefault() jQuery methods. Often these two methods are used together. And, often their function and use is confused or used when not needed thanks to copy and paste.

Also posted in jquery | Tagged | Comments Off

Generate SQL Server Reporting Services (SSRS) Report as PDF from URL with VB.NET or C#.NET

Generating an existing SQL Server Reporting Services (SSRS) report to a PDF via a web URL is a convenient way to distribute SSRS reports, invoices, or anything else from SSRS. This post focuses on an existing report; however, links to the basic set up for a report are included. The code to output an existing report as PDF are given and uses a ReportViewer control.

Also posted in .net | Tagged , , , , | Comments Off