To allow for more flexibility in where the widget can be placed on a web page, the display can be either vertical or horizontal:



Similar documents
Embedding a Data View dynamic report into an existing web-page

Tableau Server Trusted Authentication

MASTERTAG DEVELOPER GUIDE

BLACKBOARD 9.1: Text Editor

Overview. How It Works

WP Popup Magic User Guide

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

OPENTABLE GROUP SEARCH MODULE GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE

Website Login Integration

Integrating Luceo with your Website Using iframes. Version 4.1 Jan 15, 2013

Working with Indicee Elements

Sizmek Features. Wallpaper. Build Guide

Instructions for creating a survey using Survey Gizmo

Pay with Amazon Integration Guide

Slide.Show Quick Start Guide

HTML Tables. IT 3203 Introduction to Web Development

Login with Amazon. Getting Started Guide for Websites. Version 1.0

How To Use Mugeda Content

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs

Appointment Router Salesforce.com Web- to- Lead Integration Guide. Date: January 19, 2011

Usage Tracking for IBM InfoSphere Business Glossary

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

Lesson Review Answers

Google Sites: Creating, editing, and sharing a site

LiveStreamingCDN Producer User s Guide

How To - Add extra content to your site

RSS Feeds - Content Syndication Feed2JS: a simple solution to display RSS feeds

Using Style Sheets for Consistency

InPost UK Limited GeoWidget Integration Guide Version 1.1

OPENTABLE RESERVATION WIDGET GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE

Adobe Dreamweaver CC 14 Tutorial

Vizit 4.1 Installation Guide

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

A set-up guide and general information to help you get the most out of your new theme.

Photo Album // Getting Started Guide. Getting Started Guide. Photo Album. Manage Your Media Online. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1

<option> eggs </option> <option> cheese </option> </select> </p> </form>

ADOBE DREAMWEAVER CS3 TUTORIAL

Appspace 5.X Reference Guide (Digital Signage) Updated on February 9, 2015

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

Publishing KML Services Tutorial

Event2CRM Quick Start User Guide

introduces the subject matter, presents clear navigation, is easy to visually scan, and leads to more in-depth content. Additional Resources 10

PLAYER DEVELOPER GUIDE

IMRG Peermap API Documentation V 5.0

understand how image maps can enhance a design and make a site more interactive know how to create an image map easily with Dreamweaver

Super Resellers // Getting Started Guide. Getting Started Guide. Super Resellers. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1

Visualization: Combo Chart - Google Chart Tools - Google Code

Google AdWords TM Conversion Tracking Guide

ICE: HTML, CSS, and Validation

Technical Specifications

Visualizing an OrientDB Graph Database with KeyLines

How To Create A Site In Sharepoint 2013

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Web Design in Nvu Workbook 1

PASTPERFECT-ONLINE DESIGN GUIDE

AWEBDESK LIVE CHAT SOFTWARE

Editing Data with Microsoft SQL Server Reporting Services

jquery Tutorial for Beginners: Nothing But the Goods

How To Create A Website In Drupal 2.3.3

Interspire Website Publisher Developer Documentation. Template Customization Guide

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Kentico CMS 7.0 User s Guide. User s Guide. Kentico CMS

SPHOL326: Designing a SharePoint 2013 Site. Hands-On Lab. Lab Manual

frequently asked questions which you might find useful for creating/updating your SlideRunner. Frequently Asked Questions

WatchGuard QMS End User Guide

How to Deploy Custom Visualizations Using D3 on MSTR 10. Version 1.0. Presented by: Felipe Vilela

Your Blueprint websites Content Management System (CMS).

HELIX MEDIA LIBRARY API DEVELOPER S GUIDE

Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator

A quick guide to... Creating Custom Web Forms

Integrating KIMBIA form widget data with Google Analytics. What's Inside? KIMBIA. What s required...

Performance Testing for Ajax Applications

Customising Your Mobile Payment Pages

Chapter 5 Configuring the Remote Access Web Portal

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)

Ad Hoc Reporting. Usage and Customization

Next Generation Clickjacking

Hotspot Image Connector Page Guide

Portals and Hosted Files

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

Weather Widget Usage Guide

Tivoli Integrated Portal Online help. Version 1.0 Tivoli Integrated Portal 2.2

Dreamweaver Tutorials Creating a Web Contact Form

WYSIWYG Tips and FAQ

Chapter 22: Integrating Flex applications with portal servers

Tagging Guide: Website and Implementation. Contents

How to create pop-up menus

How-to Guide: Integrating Veeam ONE Reporting into Microsoft SharePoint

Build an ArcGIS Online Application

Creating Web Pages with Microsoft FrontPage

RCS Liferay Google Analytics Portlet Installation Guide

WebFOCUS BI Portal: S.I.M.P.L.E. as can be

Sizmek Formats. Collage. Build Guide

Mahara: MyPortfolio. Create content Build pages Share. A user guide for beginners. What is Mahara?

Please note: no personal information is stored in cookies and they cannot contain viruses.

Dreamweaver and Fireworks MX Integration Brian Hogan

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Transcription:

Widget User Guide Version 1.2 Produced 2012-08-20 What is it? The KIS widget is a small web application that can be embedded within a web page and will display statistics from the KIS data set for a course. When a user clicks on the widget it will take them to the Unistats website to obtain further information about the course. What does it look like? To allow for more flexibility in where the widget can be placed on a web page, the display can be either vertical or horizontal: Fig 1. Vertical widget

Fig 2. Horizontal widget How does it work? The widget can be added to a web page by including a small HTML snippet. The widget will do the rest of the work. Please see Embedding the widget below to find out how.

Embedding the widget Step 1 - Choose how you would like to embed the widget in a web page There are two ways that the widget can be embedded into a web page; using the HTML 5 Snippet or an HTML iframe. HTML 5 Snippet; You would choose this method of embedding if the site displaying the widget will be targeting browsers supporting HTML5 (http://www.w3.org/tr/html5/) HTML iframe; You would choose this method of embedding if the site displaying the widget will NOT be targeting browsers supporting HTML5 (http://www.w3.org/tr/html5/ ) or if you require more control over the display of the widget container. Step 2 - Add the widget snippet to the web page Depending on your selection from Step 1 you will use a different HTML snippet HTML 5 Snippet The following JavaScript must be added to the web page hosting the widget: <script> (function (d) { "use strict"; var widgetscript = d.createelement('script'); widgetscript.id = 'unistats-widget-script'; widgetscript.src = '//stg.unistats.eduserv.org.uk/js/unistats.widget.js'; var scripttags = d.getelementsbytagname('script')[0]; if (d.getelementbyid('unistats-widget-script')) { return; } scripttags.parentnode.insertbefore(widgetscript, scripttags); } (document)); </script> This JavaScript snippet should be placed at the bottom of the page, above the closing 'body' tag of the hosting page. Please note: If you are not testing this using a web page hosted on a web server (e.g. you are using an HTML file on your file system) then you will need to change the '//stg.unistats.eduserv.org.uk/js/unistats.widget.js' above to 'http://stg.unistats.eduserv.org.uk/js/unistats.widget.js'. The widget itself can then be embedded in the web page with the following snippet: <div class="kis-widget" data-institution="<ukprn>" data-course="<kiscourseid>" data-orientation="<orientation>" data-size= "<SIZE>"></div>

HTML iframe snippet Unlike the HTML 5 snippet there are two types of HTML snippet when embedding the widget using an iframe; one for vertical display and one for horizontal display. Each of these types also has either a 'Large' or a 'Small' size. Vertical display (Large) style="overflow: hidden; border: 0px none transparent; width: 200px; height: 575px;"> Vertical display (Small) style="overflow: hidden; border: 0px none transparent; width: 190px; height: 500px;"> Horizontal display (Large) style="overflow: hidden; border: 0px none transparent; width: 800px; height: 160px;"> Horizontal display (Small) style="overflow: hidden; border: 0px none transparent; width: 615px; height: 150px;">

Step 3 - Configure the widget parameters There are 4 mandatory parameters that must be completed in order for the widget to populate Itself with the data for a particular course: <UKPRN> Replace this with the UKPRN id for the institution providing the course <KISCOURSEID> Replace this with the KIS Course id for the course <ORIENTATION> Replace this with either 'horizontal' or 'vertical' (without the single quotes), the default is vertical if not specified. <SIZE> Replace this with either 'small' or 'large' (without the single quotes), the default is large if not specified. Notes This is a technical preview of the KIS widget, available for institutions to test how it may look on their web sites. As a result of this, the URLs above will change when the new Unistats website is launched.