<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ProtoShare Community &#187; Josh Kristof</title>
	<atom:link href="http://community.protoshare.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://community.protoshare.com</link>
	<description>ProtoShare Blog and Resource Center</description>
	<lastBuildDate>Mon, 17 Jun 2013 23:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>More Advanced HTML Component Examples</title>
		<link>http://community.protoshare.com/2013/01/html-components-for-wireframes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html-components-for-wireframes</link>
		<comments>http://community.protoshare.com/2013/01/html-components-for-wireframes/#comments</comments>
		<pubDate>Mon, 07 Jan 2013 17:01:49 +0000</pubDate>
		<dc:creator>Josh Kristof</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ProtoShare Tips & Tricks]]></category>
		<category><![CDATA[ProtoShare Workflows]]></category>

		<guid isPermaLink="false">http://community.protoshare.com/?p=6907</guid>
		<description><![CDATA[In a previous post I showed you how you can use the Advanced HTML component to increase the fidelity of your wireframes. The Advanced HTML component lets you use HTML, CSS, and Javascript to create your own content, extending the &#8230; <a href="http://community.protoshare.com/2013/01/html-components-for-wireframes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://community.protoshare.com/2011/04/advanced-html-component-increase-the-fidelity-of-your-wireframes/">previous post</a> I showed you how you can use the Advanced HTML component to increase the fidelity of your wireframes. The Advanced HTML component lets you use HTML, CSS, and Javascript to create your own content, extending the functionality of ProtoShare. Below are some additional examples of what you can do.</p>
<h4>Activating states on design load</h4>
<p>This example shows you how to set your states to specific values when the design loads. This could be useful when you want the values of a state in a certain order but to have the default used on the page something other than the first. The variables <em>addState</em> and <em>addState2</em> use the ID of the state you want to set. In this example they are 3629 and 3630. These IDs are listed in the States section of the listing in ProtoShare. The value you want to select is indicated by the number after the colon. 0 (Zero) is the first value.</p>
<pre class="brush:javascript">&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;script type="text/javascript"&gt;
            function setState() {
                var pageState;
                var addState  = "3629:1";
                var addState2 = "3630:3";
                pageState = window.top.site9.StateMgr.get( 'ps' );
                pageState = pageState + ',' + addState + ',' + addState2;
                window.top.site9.StateMgr.set( 'ps', [pageState] );
            }
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body onload="setState()"&gt;
    &lt;/body&gt;
&lt;/html&gt;</pre>
<h4>Charting</h4>
<p><img class="alignright  wp-image-6923" title="Highcharts Example" src="http://community.protoshare.com/wp-content/uploads/2012/12/highcharts.png" alt="Highcharts Example" width="496" height="256" /><a href="http://www.highcharts.com/">Highcharts</a> is a Javascript charting library available commercially and for free under the <a href="http://creativecommons.org/licenses/by-nc/3.0/" rel="license">Creative Commons Attribution-NonCommercial 3.0 License</a>. Below shows how you can use this, and many other libraries, to add rich content to your projects. We&#8217;ve referenced external Javascript resources but you can also upload your files to ProtoShare and use the address provided by <em>Get URL</em> to link to your files.</p>
<pre class="brush:javascript">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt;
  &lt;title&gt;Highcharts Demo&lt;/title&gt;

  &lt;script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'&gt;&lt;/script&gt;

&lt;script type='text/javascript'&gt;//&lt;![CDATA[ 

$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: 'container',
                type: 'line',
                marginRight: 130,
                marginBottom: 25
            },
            title: {
                text: 'Monthly Average Temperature',
                x: -20 //center
            },
            subtitle: {
                text: 'Source: WorldClimate.com',
                x: -20
            },
            xAxis: {
                categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
                    'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
            },
            yAxis: {
                title: {
                    text: 'Temperature (°C)'
                },
                plotLines: [{
                    value: 0,
                    width: 1,
                    color: '#808080'
                }]
            },
            tooltip: {
                formatter: function() {
                        return '&lt;b&gt;'+ this.series.name +'&lt;/b&gt;&lt;br/&gt;'+
                        this.x +': '+ this.y +'°C';
                }
            },
            legend: {
                layout: 'vertical',
                align: 'right',
                verticalAlign: 'top',
                x: -10,
                y: 100,
                borderWidth: 0
            },
            series: [{
                name: 'Tokyo',
                data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
            }, {
                name: 'New York',
                data: [-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
            }, {
                name: 'Berlin',
                data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0]
            }, {
                name: 'London',
                data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
            }]
        });
    });

});
//]]&gt;  

&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
    &lt;script src="http://code.highcharts.com/highcharts.js"&gt;&lt;/script&gt;
    &lt;script src="http://code.highcharts.com/modules/exporting.js"&gt;&lt;/script&gt;
    &lt;div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"&gt;&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;</pre>
<h4>HTML5 &#8211; Date Picker / Audio Player</h4>
<p><img class="alignright size-full wp-image-6922" title="Date Picker" src="http://community.protoshare.com/wp-content/uploads/2012/12/date_picker.png" alt="Date Picker" width="262" height="218" />In the previous post, I showed how to create a date picker using Javascript. With the introduction of HTML5, this, and many other form controls, can be created much easier. Changing the input type can also let you create color pickers and fields formatted as search boxes.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre class="brush:html">&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;&lt;meta charset="UTF-8"&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;
    &lt;body&gt;
        &lt;input type="date" /&gt;
    &lt;/body&gt;
&lt;/html&gt;</pre>
<p>The second allows you to embed an audio player.<img class="alignright  wp-image-6921" title="Audio Player" src="http://community.protoshare.com/wp-content/uploads/2012/12/audio_player.png" alt="Audio Player" width="222" height="29" /></p>
<pre class="brush:html">&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;&lt;meta charset="UTF-8"&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;
    &lt;body&gt;
        &lt;audio id="audio" src="/wa/asset?oid=3517" controls /&gt;
    &lt;/body&gt;
&lt;/html&gt;</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://community.protoshare.com/2013/01/html-components-for-wireframes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced HTML Component &#8211; Increase the Fidelity of Your Wireframes</title>
		<link>http://community.protoshare.com/2011/04/advanced-html-component-increase-the-fidelity-of-your-wireframes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=advanced-html-component-increase-the-fidelity-of-your-wireframes</link>
		<comments>http://community.protoshare.com/2011/04/advanced-html-component-increase-the-fidelity-of-your-wireframes/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 20:19:24 +0000</pubDate>
		<dc:creator>Josh Kristof</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ProtoShare Workflows]]></category>
		<category><![CDATA[axure]]></category>
		<category><![CDATA[iRise]]></category>

		<guid isPermaLink="false">http://community.protoshare.com/?p=430</guid>
		<description><![CDATA[When creating a wireframe, a simple low-fi solution consisting of placeholder content and navigation is often sufficient; however, sometimes that&#8217;s just not enough. You may need to increase the fidelity to be able to clearly communicate your ideas to gain &#8230; <a href="http://community.protoshare.com/2011/04/advanced-html-component-increase-the-fidelity-of-your-wireframes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When creating a wireframe, a simple low-fi solution consisting of placeholder content and navigation is often sufficient; however, sometimes that&#8217;s just not enough. You may need to increase the fidelity to be able to clearly communicate your ideas to gain complete understanding from stakeholders.</p>
<p>In ProtoShare, we give you the opportunity to choose your own level of detail. One of the features that I find most targets this flexibility is the Advanced HTML component available on Professional Plans.</p>
<p>With a little programming knowledge you can create your own palette of custom components. You can also upload supporting files such as JavaScript and CSS resources to your Project Library to have all of your content contained in ProtoShare. The purpose of this article is not to teach HTML, CSS, or JavaScript but to show you examples of how you can extend and enhance the functionality of your prototypes in ProtoShare.</p>
<p><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} -->To use an example, simply select the code and then copy/paste it into a new Advanced HTML component, replacing the default content.</p>
<p>Keep in mind the Advanced HTML component is intended for advanced users and if you&#8217;re not comfortable working with HTML, this feature is probably not for you. With the exception of the first, these examples won&#8217;t work without modification.</p>
<p>When you need simple interactivity such as pop-ups, tabbed panels, carousels, etc., states are a quick solution. For more information on them, please view this <a>tutorial video</a>.</p>
<h4>Clock (JavaScript)</h4>
<p>In this first example, we&#8217;ll start with a very basic <a href="http://www.w3schools.com/js/tryit.asp?filename=tryjs_timing_clock" target="_blank">JavaScript powered clock</a>. You can copy and paste it directly into an Advanced HTML component in ProtoShare and work without any changes.</p>
<pre class="dontquote prettyprint">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript"&gt;
function startTime(){
	var today=new Date();
	var h=today.getHours();
	var m=today.getMinutes();
	var s=today.getSeconds();
	m=checkTime(m);
	s=checkTime(s);
	document.getElementById('txt').innerHTML=h+":"+m+":"+s;
	t=setTimeout('startTime()',500);
}

function checkTime(i){
	if (i&lt;10)
	  {
	  i="0" + i;
	  }
	return i;
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body onload="startTime()"&gt;
&lt;div id="txt"&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h4>Automatic Page Redirect (JavaScript)</h4>
<p>This example will provide you with a method of automatically redirecting one page to another. You could, for instance, use this to simulate an interim loading page.</p>
<p>You&#8217;ll want to change the <strong>mysite.protoshare.com</strong> to your own account and the <strong>/wa/page?oid=1002347</strong> to the page you want to redirect to. You can find the URL by right-clicking on a page in the site map and choosing <em>Get URL</em>.</p>
<p>Because the background is set to transparent you can then set the fill and border of the component to none and automatic to get a completely hidden component. Finally, changing the <strong>5000</strong> changes the delay, where the value is given in milliseconds.</p>
<pre class="dontquote prettyprint">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script&gt;window.domain = "mysite.protoshare.com";&lt;/script&gt;
&lt;script type="text/javascript"&gt;
   &lt;!--
   function delayer(){
	 if (!window.parent.frameElement.s9_workspace) {
		window.parent.location = "/wa/page?oid=1002347";
	 } else {
	   //Doing nothing since it appears we're in developer mode.
	 }
   }
   //--&gt;
&lt;/script&gt;
&lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body onLoad="setTimeout('delayer()', 5000)" style="background:transparent;"&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h4>Date Picker (Ext JS)</h4>
<p><a href="http://community.protoshare.com/2011/03/17/jpk-test/Example2.png"><img class="alignright" src="http://community.protoshare.com/wp-content/uploads/2011/04/Example2.png" alt="" /></a> In this next example, we&#8217;re going to use <a href="http://www.sencha.com/products/extjs/">Ext JS</a>, which is a JavaScript library, to display a field with a date picker.  Many examples can be found via your favorite search engine or from the Ext JS samples page.  In the HTML below, lines 5-7 reference the necessary files. You can upload these to the library and then use the Get URL menu command and paste the URL into your HTML or host the files outside of ProtoShare.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre class="dontquote prettyprint">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;link rel="stylesheet" type="text/css" href="ext-all.css" /&gt;
&lt;script type="text/javascript" src="ext-base.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="ext-all-debug.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
		Ext.onReady(function(){
		var bd = Ext.getBody();
		var dr = new Ext.FormPanel({
		  labelWidth: 1,
		  frame: false,
		  bodyStyle:'padding:5px 5px 0;border:none;background-color:transparent;',
		  width: 350,
		  defaults: {width: 175},
		  defaultType: 'datefield',
		  items: [{
			  fieldLabel: '',
			  name: 'date',
			  id: 'date',
			  vtype: 'daterange',
		  }]
		});
		dr.render('dt');
	  });
&lt;/script&gt;
&lt;/head&gt;
&lt;body style="background-color:transparent;"&gt;
	&lt;div id="dt"&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h4>Accordion (jQuery UI)</h4>
<p><img class="alignright" src="http://community.protoshare.com/wp-content/uploads/2011/04/Example3.png" alt="" /></p>
<p>Lastly we&#8217;ll be using <a href="http://www.jqueryui.com">jQuery UI</a>, another JavaScript library to create an accordion. Like Ext JS there are a number of examples available on the jQuery site and elsewhere.</p>
<p>This example is straight from the <a href="http://jqueryui.com/demos/accordion/">jQuery demo section</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre class="dontquote prettyprint">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
	&lt;link rel="stylesheet" type="text/css" href="jquery-ui-1.8.11.custom.css" /&gt;
	&lt;script type="text/javascript" src="jquery-1.5.1.min.js"&gt;&lt;/script&gt;
	&lt;script type="text/javascript" src="jquery.ui.core.js"&gt;&lt;/script&gt;
	&lt;script type="text/javascript" src="jquery.ui.widget.js"&gt;&lt;/script&gt;
	&lt;script type="text/javascript" src="jquery.ui.accordion.js"&gt;&lt;/script&gt;
  &lt;style type"text/css"&gt;
	body {
	  font-size: 62.5%;
	}
  &lt;/style&gt;
&lt;/head&gt;
&lt;body style="background-color:transparent;"&gt;
	&lt;script&gt;
	  $(function() {
	  $( "#accordion" ).accordion();
	  });
	&lt;/script&gt;
	&lt;div id="accordion"&gt;
	  &lt;h3&gt;&lt;a href="#"&gt;Section 1&lt;/a&gt;&lt;/h3&gt;
	  &lt;div&gt;
		&lt;p&gt;
		Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
		ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
		amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
		odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
		&lt;/p&gt;
	  &lt;/div&gt;
	  &lt;h3&gt;&lt;a href="#"&gt;Section 2&lt;/a&gt;&lt;/h3&gt;
	  &lt;div&gt;
		&lt;p&gt;
		Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
		purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
		velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
		suscipit faucibus urna.
		&lt;/p&gt;
	  &lt;/div&gt;
	  &lt;h3&gt;&lt;a href="#"&gt;Section 3&lt;/a&gt;&lt;/h3&gt;
	  &lt;div&gt;
		&lt;p&gt;
		Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
		Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
		ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
		lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
		&lt;/p&gt;
		&lt;ul&gt;
		  &lt;li&gt;List item one&lt;/li&gt;
		  &lt;li&gt;List item two&lt;/li&gt;
		  &lt;li&gt;List item three&lt;/li&gt;
		&lt;/ul&gt;
	  &lt;/div&gt;
	  &lt;h3&gt;&lt;a href="#"&gt;Section 4&lt;/a&gt;&lt;/h3&gt;
	  &lt;div&gt;
		&lt;p&gt;
		Cras dictum. Pellentesque habitant morbi tristique senectus et netus
		et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in
		faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia
		mauris vel est.
		&lt;/p&gt;
		&lt;p&gt;
		Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus.
		Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
		inceptos himenaeos.
		&lt;/p&gt;
	  &lt;/div&gt;
	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://community.protoshare.com/2011/04/advanced-html-component-increase-the-fidelity-of-your-wireframes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
