Skip to content

Commit

Permalink
added comment to start widget with uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgilliam committed Dec 15, 2020
1 parent b78fe4d commit aa75496
Show file tree
Hide file tree
Showing 42 changed files with 63 additions and 74 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,69 +1,38 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/transitional.dtd">
<html>
<head>
<meta HTTP-EQUIV=CONTENT-TYPE CONTENT="text/html; charset=utf-8">
<title>Slide 1</title>
<script type="text/javascript">
<!--
var nCurrentPage = 0;
var nPageCount = 10;

function NavigateAbs( nPage )
{
frames["show"].location.href = "img" + nPage + ".html";
//frames["notes"].location.href = "note" + nPage + ".html";
nCurrentPage = nPage;
if(nCurrentPage==0)
{
frames["navbar1"].location.href = "navbar0.html";
}
else if(nCurrentPage==nPageCount-1)
{
frames["navbar1"].location.href = "navbar2.html";
}
else
{
frames["navbar1"].location.href = "navbar1.html";
}
}

function NavigateRel( nDelta )
{
var nPage = parseInt(nCurrentPage) + parseInt(nDelta);
if( (nPage >= 0) && (nPage < nPageCount) )
{
NavigateAbs( nPage );
}
}

function ExpandOutline()
{
frames["navbar2"].location.href = "navbar4.html";
frames["outline"].location.href = "outline1.html";
}

function CollapseOutline()
{
frames["navbar2"].location.href = "navbar3.html";
frames["outline"].location.href = "outline0.html";
}

// -->
</script>
</head>
<frameset cols="*,816">
<frameset rows="42,*">
<frame src="navbar3.html" name="navbar2" marginwidth="4" marginheight="4" scrolling="no">
<frame src="outline0.html" name="outline">
</frameset>
<frameset rows="42,*">
<frame src="navbar0.html" name="navbar1" marginwidth="4" marginheight="4" scrolling="no">
<frame src="img0.html" name="show" marginwidth="4" marginheight="4">
</frameset>
<noframes>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
Unfortunately your browser does not support floating frames.
</noframes>
</frameset>
<center>
<h2><a href="img0.html">Click here to start</a></h2>
</center>
<center><table width="90%"><tr>
<td valign="top" align="left" width="25%">
<h3>Table of contents</h3><div align="left"><a href="img0.html">Slide 1</a></div>
<div align="left"><a href="img1.html">The Widget</a></div>
<div align="left"><a href="img2.html">{WidgetName}.html</a></div>
<div align="left"><a href="img3.html">{WidgetName}.js</a></div>
<div align="left"><a href="img4.html">{WidgetName}.js controller Function</a></div>
<div align="left"><a href="img5.html">{WidgetName}.js link Function</a></div>
<div align="left"><a href="img6.html">{WidgetName}.css</a></div>
<div align="left"><a href="img7.html">Localization / Translations</a></div>
<div align="left"><a href="img8.html">default.html</a></div>
<div align="left"><a href="img9.html">icon.png</a></div>
</td>
<td valign="top" align="left" width="75%">
<a href="img0.html"><img src="thumb0.png" width="256" height="192" alt="Slide 1"></a>
<a href="img1.html"><img src="thumb1.png" width="256" height="192" alt="The Widget"></a>
<a href="img2.html"><img src="thumb2.png" width="256" height="192" alt="{WidgetName}.html"></a>
<a href="img3.html"><img src="thumb3.png" width="256" height="192" alt="{WidgetName}.js"></a>
<a href="img4.html"><img src="thumb4.png" width="256" height="192" alt="{WidgetName}.js controller Function"></a>
<a href="img5.html"><img src="thumb5.png" width="256" height="192" alt="{WidgetName}.js link Function"></a>
<a href="img6.html"><img src="thumb6.png" width="256" height="192" alt="{WidgetName}.css"></a>
<a href="img7.html"><img src="thumb7.png" width="256" height="192" alt="Localization / Translations"></a>
<a href="img8.html"><img src="thumb8.png" width="256" height="192" alt="default.html"></a>
<a href="img9.html"><img src="thumb9.png" width="256" height="192" alt="icon.png"></a>
</td></tr></table></center>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>Slide 1</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
First page Back <a href="img1.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text0.html">Text</a></center><br>
<center><img src="img0.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>The Widget</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img0.html">Back</a> <a href="img2.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text1.html">Text</a></center><br>
<center><img src="img1.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>{WidgetName}.html</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img1.html">Back</a> <a href="img3.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text2.html">Text</a></center><br>
<center><img src="img2.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>{WidgetName}.js</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img2.html">Back</a> <a href="img4.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text3.html">Text</a></center><br>
<center><img src="img3.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>{WidgetName}.js controller Function</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img3.html">Back</a> <a href="img5.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text4.html">Text</a></center><br>
<center><img src="img4.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>{WidgetName}.js link Function</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img4.html">Back</a> <a href="img6.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text5.html">Text</a></center><br>
<center><img src="img5.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>{WidgetName}.css</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img5.html">Back</a> <a href="img7.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text6.html">Text</a></center><br>
<center><img src="img6.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>Localization / Translations</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img6.html">Back</a> <a href="img8.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text7.html">Text</a></center><br>
<center><img src="img7.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>default.html</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img7.html">Back</a> <a href="img9.html">Continue</a> <a href="img9.html">Last page</a> <a href="default.html">Overview</a> <a href="text8.html">Text</a></center><br>
<center><img src="img8.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<title>icon.png</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="img0.html">First page</a> <a href="img8.html">Back</a> Continue Last page <a href="default.html">Overview</a> <a href="text9.html">Text</a></center><br>
<center><img src="img9.png" alt=""></center>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
First page Back <a href="text1.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
First page Back <a href="text1.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img0.html">Image</a></center><br>
<h1>SIMRacingApps Widgets</h1>
<h2>Specifications for Developing a HTML Widget</h2>
<h2>Updated: May 5, 2016</h2>
<h2>Updated: December 14, 2020</h2>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text0.html">Back</a> <a href="text2.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text0.html">Back</a> <a href="text2.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img1.html">Image</a></center><br>
<h1>The Widget</h1>
<ul>
<li>Similar to an App, a Widget lives in its' own folder and is self contained. It may use other Widgets as well as its' own private ones. It contains the following files.</li>
Expand All @@ -21,7 +21,7 @@ <h1>The Widget</h1>
</ul>
<li>Each Widget can be run as a standalone App via the WidgetLoader App by creating the listing.json file and providing an icon.png file for the menu.</li>
<li>Like Apps, other supporting files, such as, images, should be placed in the Widgets's folder. Do not reference a resource, like an image, from another widget to keep them independent of the other Widgets at the expense of duplication so patches and updates can be applied to your Widget without affecting other Widgets.</li>
<li>To kick start a new Widget, using a tool like 7-Zip, open the SIMRacingAppsServer...exe file and extract the contents of the “widgets/Template” folder to “%USERPROFILE%\SIMRacingApps\widgets\MyNewWidget” folder (USERPROFILE is the folder you see when viewing the folder with your log-in name in Windows Explorer). Go into this new folder and for each file and change the word Template to the name of your new Widget (for example “MyNewWidget”). Open each file and globally replace “Template” with “MyNewWidget”.</li>
<li>To kick start a new Widget, using a tool like 7-Zip, open the SIMRacingAppsServer...exe file and extract the contents of the “widgets/Template” folder to “%USERPROFILE%\SIMRacingApps\widgets\MyNewWidget” folder (USERPROFILE is the folder you see when viewing the folder with your log-in name in Windows Explorer). Go into this new folder and for each file and change the word Template to the name of your new Widget (for example “MyNewWidget”). Open each file and globally replace “Template” with “MyNewWidget”. Important: Make sure your widget name starts with Uppercase.</li>
</ul>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text1.html">Back</a> <a href="text3.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text1.html">Back</a> <a href="text3.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img2.html">Image</a></center><br>
<h1>{WidgetName}.html</h1>
<ul>
<li>The {WidgetName}.html file is a snippet of HTML that makes up the content of a widget. When a user uses your Widget, this will replace the HTML contents of the tag that they used to reference it.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text2.html">Back</a> <a href="text4.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text2.html">Back</a> <a href="text4.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img3.html">Image</a></center><br>
<h1>{WidgetName}.js</h1>
<ul>
<li>The {WidgetName}.js file contains the definition of an Angular Directive using RequireJS to define it.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text3.html">Back</a> <a href="text5.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text3.html">Back</a> <a href="text5.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img4.html">Image</a></center><br>
<h1>{WidgetName}.js controller Function</h1>
<ul>
<li>The “controller” section of this file acts like a constructor and gets called when the Directive is initializing. At this point in time, it has not been added to the DOM yet.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text4.html">Back</a> <a href="text6.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text4.html">Back</a> <a href="text6.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img5.html">Image</a></center><br>
<h1>{WidgetName}.js link Function</h1>
<ul>
<li>The “link” section of this file also acts like a constructor and gets called after Angular has placed your HTML into the DOM. It passes to you the $scope for this instance of the Widget, the $element is was placed in, and the $attrs that the user assigned to this element.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text5.html">Back</a> <a href="text7.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text5.html">Back</a> <a href="text7.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img6.html">Image</a></center><br>
<h1>{WidgetName}.css</h1>
<ul>
<li>Each Widget should and does have its’ own CSS file.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text6.html">Back</a> <a href="text8.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text6.html">Back</a> <a href="text8.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img7.html">Image</a></center><br>
<h1>Localization / Translations</h1>
<ul>
<li>Widgets use the same rules as an App when Localizing numbers and translating text. See the documentation for creating an App.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text7.html">Back</a> <a href="text9.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text7.html">Back</a> <a href="text9.html">Continue</a> <a href="text9.html">Last page</a> <a href="default.html">Overview</a> <a href="img8.html">Image</a></center><br>
<h1>default.html</h1>
<ul>
<li>The default.html file is a simple file that has a redirect tag in the &lt;head&gt; to load WidgetLoader App and pass in this widget’s name in place of the word Template.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#000080" vlink="#0000CC" alink="#000080">
<center>
<a href="text0.html">First page</a> <a href="text8.html">Back</a> Continue Last page <a href="default.html">Graphics</a></center><br>
<a href="text0.html">First page</a> <a href="text8.html">Back</a> Continue Last page <a href="default.html">Overview</a> <a href="img9.html">Image</a></center><br>
<h1>icon.png</h1>
<ul>
<li>The icon.png file is a preview of your Widget. It is used by the main page. </li>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aa75496

Please sign in to comment.