Click here to Skip to main content
11,721,385 members (82,317 online)
Click here to Skip to main content
Add your own
alternative version

Chapter 5: Creating Web Widget with HTML, CSS, and JavaScript

, 16 May 2010 CPOL 316.9K 3.3K 33
Free chapter from the book: Developing Web Widget with HTML, CSS, JSON and AJAX
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
    <title>Test Widget Page</title>

<center><br /><font style="color:#435d82;" size="6">Test Page</font></center><br /><br />
<!--Widget Code Starts-->
<script type='text/javascript'>
    wWidth = "260px"; 
    wHeight = "195px";
    wFColor = "#627ea6";
    wTitle = "Hello";
    wURL= "";
    document.write('<div id="myFirstWidget"></div>');
    document.write('<scr'+'ipt type="text/JavaScript" src="bootstrap.js"></scr'+'ipt>');
<!--Widget Code Ends-->


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150901.1 | Last Updated 16 May 2010
Article Copyright 2010 by Raj Lal
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid