You are here: Re: How do you use extenrnal javascript file if script different on each page? « HTML « IT news, forums, messages
Re: How do you use extenrnal javascript file if script different on each page?

Posted by Brian Cryer on 04/12/06 17:41

"xyZed" <xyzed@xyzed.co.uk> wrote in message
news:pnup321uaqaks8kg1390085ketldpdf2l4@4ax.com...
> There is circumstantial evidence that on Wed, 12 Apr 2006 11:21:44
> +0100, "Brian Cryer" <brianc@127.0.0.1.activesol.co.uk> wrote
> _______________________________________________________
>
>>> Do you have any form of server side scripting available to you? If you
>>> did
>>> then looking at that might provide you with greater flexibilility.
>
> This is an example of the average affiliate javascript I use (which
> I've disabled by changing numbers)
>
> <script type="text/javascript"><!--//
> var uri = 'http://impgb.tradedoubler.com/imp/img/**369/***9419?' + new
> String (Math.random()).substring (2, 11);
> document.write('<a
> href="http://clkuk.tradedoubler.com/click?p=12**&amp;a=10***19&amp;g=5**69"><img
> src="'+uri+'"><\/a>');
> //--></script>
>
>
> On pages containing these ads, I try not to use more than 2 or 3 on
> any page so I'm wondering if it's worth the effort of trying to put
> them in a seperate file to be honest.

Whether its worth putting them in separate files is your call, but I think I
would. Okay, its more agro to get it all set up in the first place, but if
at a later time you decide that you want to replace one advert with another
then its simply a case of editing the external JavaScript file and all the
html pages that reference it won't need to be touched. It all depends on how
may files you have on your site.

I know you didn't ask, but: In my experience if you get the right ads (and
that's an art I've not yet mastered), the right ad will easily out perform
Google Adsense. However, if you are not sure which ads would be good on a
page then make use of Google Adsense. I have 4 or 5 pages on my site which
bring in any real advertising revenue via CJ and others, Google Adsense
brings in about twice as much as those combined across the rest of my site.
Just a thought.

By the way, I like the look of your www.washerhelp.co.uk site. It looks like
a genuinely useful site (and I think you have a good point about
top-posting).
--
Brian Cryer
www.cryer.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация