52 Good-to-Know Techbits.">
Software, your way.
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

Extracting Dates From the Unix Timestamp

The UNIX timestamp can be used to determine the represented time for any time zone on Earth.

Submit Form Data Without Bothering User

To silently and effectively submit a form on a web page, Ajax with FormData() can be used.

CSS Dots

CSS dots can be used for interactions between web page and website user.

Email Testing

One thing to test when email doesn't get sent or doesn't arrive is whether the server actuall sends email.

Tap to Select

Find out how to make a link or button to select the content in a div or other HTML element.

Capitalizing the First Letter of Words

Here, find both PHP code and JavaScript code to capitalize the first letter of a word.

Fixed-position Table Header

During a vertical scroll, the table header scrolls out of view -- unless the header is fixed in position.

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-2024 Will Bontrager Software LLC