|
Posted by William Tasso on April 17, 2005, 12:08 am
Please log in for more thread options
> I am adding a sponsor feature to my site and am trying to figure out the
> best way to do it. The site is very stripped down; no PHP, etc.
>
> I am displaying the sponsors similar to how The Onion does
> (http://theonion.com - left column). It is pretty much just a list using
> a table. The easiest way I figure it is to keep the html of the table in
> a separate file that is called up via Javascript or some other way.
>
> So this is probably a question of very basic javascript, but how do I
> make it display an html or an html file dynamically? I know how to make
> it display plain text using document.write, but this isn't plain text.
>
> Or is this best done using another method? I don't want to use iframe
> because I want search engines to think these ads are part of the page,
> even though really it's in a separate file.
Client script is no better than [i]frame technology.
If you can't use server side scripting then you are pretty much limited to
Server-Side includes or a local pre-processor to build your pages.
--
Whatever you do - do something.
|