Widgets and Web Banners

A widget is an online program that provides customized information and can be easily added to your website. It automatically updates, so it requires no maintenance by you.

Give your website visitors instant access to a list of their nearest HIV and STD testing locations without leaving your site. Put the widget on your site and when a ZIP code is entered, it will return the nearest testing locations from the extensive database available at gettested.cdc.gov, a national online tool for locating local STD and HIV testing centers by ZIP code.

STD Testing Site Locator Widgets


Please copy the code below into the Body section of your page:



Please copy the code below into the Body section of your page:


GYT Test Site Locator

Designed to incorporate the GYT brand into your Web site.

Please copy the code below into the Body section of your page. The code in the left box is for a widget dimension 877px by 132px. The code in the right box is for a widget dimension 600px by 132px. The example of the widget shown above is 600px by 132px.

   

Simple Search Box

Designed to be used on any Web site targeting any audience.

View of the Search Box on HIVTest.org Web site

Simply cut and paste this code into your site. Please remember not to change any of the information located between the <form name…> and </form> so that the code functions properly.

Basic Search Box

Designed to be used on any Web site targeting any audience.

Customizable Search Box

Designed to be customized by organizations to use their own logos or pictures.

Have your Webmaster replace this image (100x100)

Add this widget to your Web site

Have your Webmaster edit this code for the above widget:

Replace the image with your own 100x100 image, and be sure not to change anything between <iframe src…> and </iframe>

Spanish Search Box

Designed for Spanish language Web sites.



Flexible Audience Search Box

Designed to target heterosexual and/or African American populations.



Search Box for Young Women

Designed to target young women.



Search Box for Young Men

Designed to target young men and/or men who have sex with men (MSM).



Search Box for American Indians/Alaska Natives or Heterosexual Couples

Designed to target American Indian/Alaska Native populations and/or heterosexual couples.



Another way that you can help promote STD and HIV testing on your own Web site is to display the Web banner below, which directs users to https://gettested.cdc.gov/.

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Simply follow the three steps below:

  1. Download and save this zipped folder with two files on your Web server. Please save the folder at the same level as the file in which you want to embed the Web banner.

  2. In the Head section of your file, insert the following line:
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

  3. Cut and paste this code into the Body section of your page, where you want the banner displayed:



    Please remember not to change any of the information located between the <object classid…> and </object> so that the code functions properly.

Photo of diverse young men and women. April is STD Awareness Month.

To use the banner, paste this code into your site:


There are 20 million new sexually transmitted infections (STIs) each year. Photo of concerned young man.

To use the banner, paste this code into your site:


Nearly half of all new STD cases occur in people aged 15 to 24. Photo of concerned young woman.

To use the banner, paste this code into your site: