Webby - Embedded Ads
Author
Discussion

Dr Chuff

Original Poster:

296 posts

315 months

Monday 21st April 2003
quotequote all
Chaps,

How do you (in Frontpage if possible) embed ads into graphics/banners (such as PH's home page)??

Thanks from a novice,
Dr C

Dr Chuff

Original Poster:

296 posts

315 months

Tuesday 22nd April 2003
quotequote all
PetrolTed, do you know?

dontlift

9,396 posts

289 months

Tuesday 22nd April 2003
quotequote all

Chaps,

How do you (in Frontpage if possible) embed ads into graphics/banners (such as PH's home page)??

Thanks from a novice,
Dr C


I think there is a banner rotation component available for frontpage, but unsure if it is part of the standard supported set.

Marshy

2,751 posts

315 months

Tuesday 22nd April 2003
quotequote all
Typically, the HTML code will have a standard IMG SRC tag, but it won't refer to a .jpg or .gif file, but a server-side scrpt of some sort to feed a random advert to the browser.

e.g. < img src="bannerad.php"/ >

The scrpt's job is to choose a random advert from the pool of available ones (or indeed a targeted one if you've got any preferences stored for that user), set the outgoing Content-Type: header correctly and splurge it out to the browser.

Voila, job done.

>> Edited by Marshy on Tuesday 22 April 09:25

Dr Chuff

Original Poster:

296 posts

315 months

Tuesday 22nd April 2003
quotequote all
The problem is positioning the ad on top of a jpg, which forms the banner. Frontpage only seems to allow per line placing of ads.

Dr C

alunr

1,676 posts

295 months

Tuesday 22nd April 2003
quotequote all
The JPG is a link and is probably lined up using CSS or tables.

Perhaps a bit more info required?

I often find by saving the page and then looking at the code I can work through any problem. Just delete any sections you are not interested in.

BTW I'd reccomend ditching Fontpage and finding yourself a free/cheap/expensive (depending on what your use is) WYSIWYG HTML editor.

petrolted

34,468 posts

334 months

Tuesday 22nd April 2003
quotequote all
Not quite sure what you're asking, but advert placement is possible.

You can position the advert on a page using tables to format the page or by using style sheets or layers to position items absolutely.

All entirely possible with FrontPage if that's the tool you're familiar with.

FourWheelDrift

92,401 posts

315 months

Tuesday 22nd April 2003
quotequote all
Xara Webstyle can create them for you too, you just choose the text, style, colours.