Login     Register
Select Website 

Recruitment Directory's Blog - Australia's #1 Recruitment Technology Blog!

Back to Menu Back to Menu

Creating a Job Search Widget

Posted By: Thomas Shaw, 7:40pm Tuesday 22 September 2009    Email Article    Print Article

One of the easiest way to create, and distribute your own job search widget is through a simple JavaScript. Within this JavaScript, we can specify the widgets size and content that will be displayed to the end user.

Previously I have shown you some Examples of Job Search Widgets and let's not forget why we want to create a widget in the first place.

To increase the distribution and create loyalty within your user base. By displaying a widget on your website, you can provide your readers with jobs and content from your favorite job site.


I suggest using a JavaScript because we can centrally CONTROL and UPDATE the content displayed to the end user without having to get the publisher to update the websites code. You can also MEASURE and TRACK the performance of the affiliate network.

In this example, you will need to create 2 files. Note: This widget will be a set size of 250 x 250 using IAB Ad Unit Guidelines.

1. widget.js
2. jobsearch.html (or other file extensions aspx, php)

The code you need to use to try out this example (remember to replace the URL with your own) is..
<script type="text/javascript" src="http://www.recruitmentdirectory.com.au/images/blog/jobsearch_widget.js"> </script>
That’s it. You can centrally control what the widget displays and can update it anytime you want.

widget.js

document.write('<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" height="250" width="250" src="URL/jobsearch.html" style="border: medium none ;"/></iframe>');

jobsearch.html

<html> <head> <style type="text/css"> body { margin: 0px 0px 0px 0px;} </style> </head> <body> <table width="250px" height="250px" border="0" cellpadding="10" cellspacing="0"> <tr> <td valign="top" align="left">CREATE YOUR WIDGET HERE</td> </tr> </table> </body> </html>


Article URL: http://www.recruitmentdirectory.com.au/Blog/creating-a-job-search-widget-a269.html

Article Tags: javascript job search widget search form iab ad unit guidelines widget job distribution

Comments Hide Comments (0)

Feel free to join in on the conversation. All comments are moderated before publishing. Comments posted by subscribers don't necessarily reflect the views of Recruitment Directory.

Your Name: * Required
Your Email Address: * Required
Website URL:
Comments: * Required
 


Back to Menu Back to Menu



Random Blog Articles

OWASP Top 10 and your Recruitment Website - Part 1
Published: 8:30am Monday 09 August 2010

Should you post jobs to Google Base?
Published: 11:00am Monday 07 September 2009

Secure your website!!!
Published: 8:00pm Monday 15 December 2008

Cut the fat. CAPTCHA
Published: 11:32pm Monday 18 January 2010

Eat Your Own Dog Food
Published: 4:33pm Tuesday 30 December 2008


Newsletter Mailing List

Stay informed of current news, upcoming events and promotional offers.

Top 25 Most Influential

Latest Blog Comments

frustrated jobseeker - 1:27pm Tuesday 31 August 2010
Are you a Social Recruitment wanker?

Jason - 11:16am Wednesday 18 August 2010
IT Video Resume - Killa Appz

David Lyons - 5:17pm Friday 13 August 2010
Plan for the worst

DmitryK - 6:06pm Monday 09 August 2010
OWASP Top 10 and your Recruitment Website - Part 1

Jim Manico - 5:28pm Monday 09 August 2010
OWASP Top 10 and your Recruitment Website - Part 1

Steve Ludlow - 12:28pm Friday 06 August 2010
Are you a Social Recruitment wanker?

Brad Stewart - 10:45am Tuesday 03 August 2010
2010 Email Marketing Benchmark Report - HR/Recruitment Sector

Adam Crow - 5:23am Tuesday 03 August 2010
Plan for the worst

BryanB - 8:23am Friday 23 July 2010
Job ad of the month - I'm tired of writing boring adverts for boring Recruitment Consultants

robyn - 11:11pm Thursday 22 July 2010
Social Recruiting is a dirty word

Upcoming Webinars