Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 03:45 pm EST
Geeklog Forums
My first GL site. East Cork Motorcycle Club
dokeeffe
Anonymous
http://www.eastcorkmcc.com
Please let me know if I've made any obvious mistakes.....
Thanks,
Derek
Please let me know if I've made any obvious mistakes.....
Thanks,
Derek
9
9
Quote
Status: offline
dokeeffe
Forum User
Newbie
Registered: 10/15/06
Posts: 5
Heres a Link....
www.eastcorkmcc.com
www.eastcorkmcc.com
9
15
Quote
Status: offline
dokeeffe
Forum User
Newbie
Registered: 10/15/06
Posts: 5
I added a nifty bit of javascript to a block on my site that pulls a random book from a list of my amazon associates links
Here is the javascript code if anyone wants to do the same.
Just change the IFRAME links to your amazon associate links.
<script language="JavaScript">
function random_text()
{};
var random_text = new random_text();
// Set the number of text strings to zero to start
var number = 0;
// Incremental list of all possible Text
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760318026&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=B000FWGVOM&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760321132&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760324743&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736824383&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760311846&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736824391&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760320322&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736804773&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760306605&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
// Create a random number with limits based on the number
// of possible random text strings
var random_number = Math.floor(Math.random() * number);
// Write out the random text to the browser
document.write(random_text[random_number]);
</script>
Here is the javascript code if anyone wants to do the same.
Just change the IFRAME links to your amazon associate links.
<script language="JavaScript">
function random_text()
{};
var random_text = new random_text();
// Set the number of text strings to zero to start
var number = 0;
// Incremental list of all possible Text
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760318026&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=B000FWGVOM&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760321132&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760324743&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736824383&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760311846&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736824391&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760320322&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736804773&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760306605&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
// Create a random number with limits based on the number
// of possible random text strings
var random_number = Math.floor(Math.random() * number);
// Write out the random text to the browser
document.write(random_text[random_number]);
</script>
10
16
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Thank you for sharing Dokeeffe.
I found some problems of alignment with FireFox 1.5 on your left block :
Nice theme.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
I found some problems of alignment with FireFox 1.5 on your left block :
Nice theme.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
14
16
Quote
All times are EST. The time is now 03:45 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content