PDC WIDGETS

You can customize your widgets grid color to match your website by passing into the querystring css=
For example: http://www.pdc.wa.gov/public/widgets/candidatesTotals.aspx?css=olympia

default
 
seattle
 
olympia
 
overcast
 
cloudy
 
northwest
 
evergreen
 

THERE ARE TWO TYPES OF STATE HOUSE RACES WIDGETS.
(1) District number can be dynamically changed by a vistor to your web site.
(2) You can create your own static DISTRICT widget.

WIDGET SAMPLE
Description and Code
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

Judges in this sample code [css=judges] represents color for the style sheet - see color names at the top of the page.

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
 
WIDGET SAMPLE
Description and Code
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Change the style of the widget
  • Change the district of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

Judges in this sample code [css=judges] represents color for the style sheet - see color names at the top of the page.

dis [dis=45] in this sample code represents the district for this widget. If you do not name one, it will default to 45

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
WIDGET SAMPLE
Description and Code
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe

 

WIDGET SAMPLE
Description and Code
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Change the style of the widget
  • Change the district of the widget
  • Change the Year of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

Judges in this sample code [css=judges] represents color for the style sheet - see color names at the top of the page.

dis [dis=45] in this sample code represents the district for this widget. If you do not name one, it will default to 45

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe

 

WIDGET SAMPLE Description and Code
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Dynamically change the style of the widget
  • Displays Contributions to Candidates
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Displays candidates/money raised for 2012 races
  • The Image at the top is also a link to the PDC Money Map
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=260px and width=160px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Displays Statewide, Legislative, Judical, Local Candidates totals
  • The Image at the top is also a link to the PDC Main QuerySystem for Candidates
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Totals can be changed by year through a dropdownlist of years
  • Data is dynamic (totals are updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=260px and width=160px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Displays committee intiatives raised for a given race
  • The Image at the top is also a link to the PDC Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is dynamic (updated once an hour) - Requires year selection or page refresh to reload data.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=260px and width=210px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Displays Election Totals raised by a particular contributor type
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe
Copy the iFrame code below and paste the code anywhere on your website or blog.
  • Displays Contributions to Candidates by Contributor Type
  • The Image at the top is also a link to the Query System
  • Image below (footer) links to the Public Disclosure Commissions Main website
  • Data is static/dynamic (updated once an hour) - Requires a page reload of your site.
Control Settings:

You can control the widget by modifying the following:
Attribute Value Description
frameborder 1
0
Specifies whether or not to display a border around the iframe
width or height pixels (px) or % Specifies the height or width of the iFrame (don't go below default height=360px and width=240px)
scrolling yes
no
auto
Specifies whether or not to display scrollbars in the iframe