spacer spacer spacer spacer spacer spacer spacer

Connect With Us
SAMHSA Facebook SAMHSA Twitter SAMHSA YouTube SAMHSA Blog

Community Events


Changing What Is Displayed on the Widget

In addition to featuring events, it’s possible to change what the widget displays. For example, the search screen is typically the first part of the widget the viewer sees; however, you can modify it to display other screens first.

You can replace the term 'search' with one of the following:

  • search – this shows the "search" screen (and is the default)
  • share – this shows the "share" screen
  • follow – this shows the "follow" screen
  • featured – this shows the "featured events" screen

To change the display, modify the same code lines as when adding a featured event with search, share, follow, or, featured, accordingly. The highlighted code below indicates which text you should modify. Please note: the text is bolded for emphasis.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="SWidget" width="160" height="600" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> <param name="movie" value="http://recoverymonth.gov/flash/2013/swidget/SWidget.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#663399" /> <param name="FlashVars" value="featuredEvents=2440|2302|1314&displayFirst=search " /> <param name="allowScriptAccess" value="always" /> <embed src="http://recoverymonth.gov/flash/2013/swidget/SWidget.swf" quality="high" bgcolor="#663399" width="160" height="600" name="SWidget" align="middle" play="true" loop="false" FlashVars="featuredEvents=2440|2302|1314&displayFirst=search" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"> </embed></object>



External link. Please review our Disclaimer