Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
Gazanimal
Hangin' Around



Joined: Nov 29, 2005
Posts: 47

PostPosted: Sat Oct 21, 2006 4:19 pm Reply with quote

Hey guys.

I've got a problem & not sure how to solve it with regards a scrolling banner block & a new banner that I want to add into it that uses javascript.

Basically my online gaming clan has a few affiliate partners that helps generates some cash back for the clan whenever someone uses the clickable link on our website (RavenDistro btw) & purchases something.

Anyway, one of our affiliates (Amazon.co.uk) doesn't use HTML adverts like all our other affiliates as they use their own `Associate` scheme, but their adverts uses javascript.

Now I've tried to add in their code into the scrolling banner block but it will just not work no matter what I try, so I'm a bit stumped.

The text file below shows part of the Banner Scroll code that I'm trying to get the Amazon javascript code into.

Problem Code Text File <<<< Click me

Anyone any idea on haw to get the Amazon code into the Banner code & working???

I wish Amazon would use HTML code like all the others would make it so much easier...lol.

Thanks for any help.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sat Oct 21, 2006 5:44 pm Reply with quote

a 468 x 60 banner in a scrolling block?
Is that correct?
 
View user's profile Send private message
Gazanimal







PostPosted: Sun Oct 22, 2006 3:50 am Reply with quote

Yes, the block sits in the middle of my Main page.
 
hitwalker







PostPosted: Sun Oct 22, 2006 5:21 am Reply with quote

But why scolling?
There's only one add.
 
Gazanimal







PostPosted: Sun Oct 22, 2006 1:09 pm Reply with quote

The code in the text file is an extract from the script, not the whole script.

There are about 20 or so affiliate adverts,if it was just one then I'd just stick it into the header but it's to go in with the others in the scrolling block.

Sorry if that confused you but I didn't see any reason to add in the whole file.
 
hitwalker







PostPosted: Sun Oct 22, 2006 1:19 pm Reply with quote

well its easy to put it in a block..
you could use.....

start with....

Code:
<marquee width="468" height="60" direction="down" scrolldelay="180" scrollamount="3">


javastuff here...

end with.....

Code:
</marquee>
 
Gazanimal







PostPosted: Sun Oct 22, 2006 1:45 pm Reply with quote

I've added a small extract from the existing block that I use, created by someone else so you can see how it works.

Example of block code text

If you visit [ Only registered users can see links on this board! Get registered or login! ] then you will see the banner scroll in the middle of the index with all the other working Affiliates but I can't get the Amazon one to integrate at all.



p.s. The webby looks great in Firefox, but shocking in IE. Rolling Eyes
 
hitwalker







PostPosted: Sun Oct 22, 2006 1:50 pm Reply with quote

well maybe your doing something wrong i dont know...
but dont fill your site with ads,looks like a xmas tree...
 
Gazanimal







PostPosted: Sun Oct 22, 2006 1:53 pm Reply with quote

Well maybe I am but no matter how I try to integrate the code it doesn't work, that's why I asked.

Oh & thanks for the advice on the website.....each to their own I suppose.
 
hitwalker







PostPosted: Sun Oct 22, 2006 1:55 pm Reply with quote

post a text file with how you include the amazon...
 
Gazanimal







PostPosted: Sun Oct 22, 2006 1:59 pm Reply with quote

Amazon Code Included in the banner code

See if you can see where I'm going wrong.
 
hitwalker







PostPosted: Sun Oct 22, 2006 2:50 pm Reply with quote

finishing it...
think i got it woking..
hold on..
 
Gazanimal







PostPosted: Sun Oct 22, 2006 2:51 pm Reply with quote

Thanks Smile

Waiting patiently.....
 
hitwalker







PostPosted: Sun Oct 22, 2006 2:55 pm Reply with quote

here...
[ Only registered users can see links on this board! Get registered or login! ]

dont touch the amazon...
continue after the <br>
It works...

Grab it ...it will be deleted in 5 minutes..
 
Gazanimal







PostPosted: Sun Oct 22, 2006 2:58 pm Reply with quote

Thanks.

Will give it a bash! Very Happy
 
Gazanimal







PostPosted: Sun Oct 22, 2006 3:03 pm Reply with quote

Fantastic.

Thanks very much for the help. Wink
 
hitwalker







PostPosted: Sun Oct 22, 2006 3:49 pm Reply with quote

YW Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©