52 Good-to-Know Techbits.">
burger menu icon
WillMaster

WillMasterBlog > Tips and Tricks

FREE! Coding tips, tricks, and treasures.

Possibilities weekly ezine

Get the weekly email website developers read:

 

Your email address

name@example.com
YES! Send Possibilities every week!

Let Amazon Pay You

Make some money from Amazon.

(You'll need to be an Amazon affiliate for Amazon to pay you.)

Paste one line of JavaScript to publish the example ad you see on the left. Use the form below to generate the JavaScript.

The JavaScript generator has three boxes.

  1. (Required) Provide either your Associates ID or affiliate product URL.

  2. (Optional) The simulated mobile device color may be changed.

    If you specify a new color in Generator Box # 2 and then click elsewhere on the page, the simulated mobile device in the example ad changes color accordingly.

  3. The copy and paste JavaScript for pasting into your webpage. (Instructions below the box.)

With the simulated mobile device shadow and the oval "Kindle Book" stamp at the top-right corner, the width of the ad is 210 pixels. It's height is 379 pixels.

Generator Box # 1:

Specify your Amazon Associates ID or the 52 Good-to-Know Techbits affiliate product URL.information

Generator Box # 2:

Optionally, you may change the simulated mobile device color. (To change, specify a hexadecimal color value or a standard web page color name.)

Generator Box # 3:

Copy this line of JavaScript for use on your web site.

Instructions:

Copy the JavaScript from Generator Box # 3.

Follow these instructions for where to paste the one line of JavaScript. Both WordPress and non-WordPress instructions are provided.

WordPress Sites

Post or Page  To put the ad in a post or page where you review or just talk about 52 Good-to-Know Techbits, paste the JavaScript where you want the ad to be published. Use the "Text" tab, not the "Visual" tab, when pasting the JavaScript.

Widget  To put the ad in your theme's widget area, create a text widget and paste the JavaScript into it. See Using the WordPress Text Widget for detailed instructions about creating a text widget.

Non-WordPress Sites

Paste the JavaScript where the ad is to be published.

The JavaScript can be pasted into the site template so it appears in the site navigation column. Or, it can be placed within an article where you review or just talk about 52 Good-to-Know Techbits.

How it Works

When your page loads, the JavaScript calls the WillBontrager.com server. The JavaScript delivers the URL and color information.

The WillBontrager.com server responds by delivering the ad to your web page with the specified URL and simulated mobile device color.

Will Bontrager

Was this blog post helpful to you?
(anonymous form)

Support This Website

Some of our support is from people like you who see the value of all that's offered for FREE at this website.

"Yes, let me contribute."

Amount (USD):

Tap to Choose
Contribution
Method


All information in WillMaster Blog articles is presented AS-IS.

We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.

Recent Articles in the Library

Simple CSS Rotate

Rotate divs, tables, and even characters. Specify the number of degrees or fraction of a turn, and you're good to go.

Avoid Expired SSL Certificate

Check the expiration date of your domain's SSL certificate

Image Zoom on Hover

Zoom the image with a hover. CSS. No JavaScript.

The INS and DEL Tags

The INS and DEL tags come in mighty handy to display editing marks and to emphasize ideas with HTML markup.

Viewing HTML Source Code

Three ways to view HTML source code.

The HTML address Tag

The address tag is used to present an address to the site user. It also makes the address available to website search engines.

Rotate

The CSS 'rotate' property is a versatile way to rotate elements.

How Can We Help You? balloons
How Can We Help You?
bullet Custom Programming
bullet Ready-Made Software
bullet Technical Support
bullet Possibilities Newsletter
bullet Website "How-To" Info
bullet Useful Information List

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2026 Will Bontrager Software LLC