UrMob Partner Scheme : InlineTables

HomePage :: PageIndex :: RecentChanges :: ContactUs

In-line Tables


The in-line tables content unit allow you to include a list of the offers for a particular handset. This is suited to affiliates that wish to create separate promotional pages for each handset. An example of a table showing the current top 10 deals for the Nokia N96 can be seen here.

Basic Format

To include a table of deals there are two lines of html you need to add to your page. Firstly, between the <head> </head> tags on your page you need to add: -
<link href="http://www.urmob.co.uk/content/default.css" rel="stylesheet" type="text/css">

This sets the default styles to be used for the table.

Then, where you want a table of deals to appear on your page, you just need to add: -
<script src="http://www.urmob.co.uk/content/table.php?id=username"></script>

You should replace username with your partner scheme username.

Display Options

By default the code above would just add a table showing the 10 cheapest deals found in the whole database, which isn't much use, so there are the following options you can add after {username} to modify the display: -




For example, if your username was qwerty and you wanted to show the top 5 results for the Nokia N70 with merchants logos and the total cost column shown, the code to add would be: -
<script src="http://www.urmob.co.uk/content/table.php?id=qwerty&max=5&model=29&showlogo=1&showcost=1"></script>


In-line Usage

An optional add on to In-Line Tables is InlineUsage.