Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How to integrate these ads into .html web pages?
Old 05-17-2007, 09:58 PM How to integrate these ads into .html web pages?
crush123's Avatar
Webmaster Talker

Posts: 526
Trades: 0
Hello,
I have developed my own ads for my site.
http://downloadsonline.org/ads.php?keywords=business
These are like google adsense.

I could place them on my .php webpages using 'include' function.
But don't understand how to place them on my .html webpages.

Similar services are using javascript for this purpose.
Please inform me the code using which I can place them on any webpage.

Thank you very much for all your help.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
crush123 is offline
Reply With Quote
View Public Profile Visit crush123's homepage!
 
 
Register now for full access!
Old 05-18-2007, 12:42 AM Re: How to integrate these ads into .html web pages?
cbeaudin's Avatar
Extreme Talker

Posts: 158
Name: cbeaudin
Location: Proud to be Canadian
Trades: 1
If the ads dont change often just copy the source code into your html document and float it with CSS.

Why not just make the html documents php and then include the files where you need it...

IE.
Rename "home.html" to "home.php" and dont open the php tag until you need it.
PHP Code:
<home html tags here>
<? include "ads.php"?>
<more html tags here>
__________________
- cbeaudin
cbeaudin is offline
Reply With Quote
View Public Profile
 
Old 05-18-2007, 01:00 AM Re: How to integrate these ads into .html web pages?
crush123's Avatar
Webmaster Talker

Posts: 526
Trades: 0
Hello cbeaudin,
The ads I have developed change continuously.
It is not possible to paste the entire source code of the php file in html file.
also the .html page is hosted elsewhere and it doesn't support php.

I know about php include function. it works.
But i wish to place these ads on pages that do not support php.

Please suggest how to show these ads on any type of web page.
Thank you.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
crush123 is offline
Reply With Quote
View Public Profile Visit crush123's homepage!
 
Old 05-18-2007, 01:04 AM Re: How to integrate these ads into .html web pages?
cbeaudin's Avatar
Extreme Talker

Posts: 158
Name: cbeaudin
Location: Proud to be Canadian
Trades: 1
Sorry, i tried, i don't know enough to help you any further.
__________________
- cbeaudin
cbeaudin is offline
Reply With Quote
View Public Profile
 
Old 05-21-2007, 12:11 PM Re: How to integrate these ads into .html web pages?
Novice Talker

Posts: 10
Trades: 0
There is an easier way. You can tell your server to parse html files as php files. Check your hosts help section or juct google it. This way your server will think every html file as php and run it as php. There will be no change in php files. And then you can always use your include method.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
an Empire |
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

picassoo is offline
Reply With Quote
View Public Profile
 
Old 05-21-2007, 12:25 PM Re: How to integrate these ads into .html web pages?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Copy and paste the ad code into your HTML pages. I don't understand what it is you're trying to accomplish and why it would be any more difficult than that.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-21-2007, 05:14 PM Re: How to integrate these ads into .html web pages?
jefkin's Avatar
Novice Talker

Posts: 14
Name: Jeff
Location: in front of my computer
Trades: 0
crush,

Another option (that just may work in your situation) particularly if you can't or won't change your servers settings about parsing.

Change your .html pages to use an iframe tag pointing to your php.

Quick and dirty, but should work no mater how often content changes,

jefkin
jefkin is offline
Reply With Quote
View Public Profile
 
Old 05-21-2007, 10:43 PM Re: How to integrate these ads into .html web pages?
crush123's Avatar
Webmaster Talker

Posts: 526
Trades: 0
Hello all,
Thank you for your replies.
I have implemented the code as an IFrame in my .html pages.
it is working.
Thank you.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
crush123 is offline
Reply With Quote
View Public Profile Visit crush123's homepage!
 
Old 05-22-2007, 12:13 AM Re: How to integrate these ads into .html web pages?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
https://www.google.com/adsense/suppo...ctx=en:contact
Quote:
The AdSense ad code was placed within an IFRAME.
Our targeting technology is not optimized to serve ads within a separate IFRAME. If you placed the AdSense code in a separate IFRAME, your site may display less targeted ads or public service ads. For better results, please implement our ad code directly into the source of your web page. Once you make these changes, relevant ads may not appear immediately. Until we are able to re-crawl your site, which may take up to 48 hours or more, your page may continue to display untargeted or public service ads.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 06-27-2007, 09:19 AM Re: How to integrate these ads into .html web pages?
crush123's Avatar
Webmaster Talker

Posts: 526
Trades: 0
Hello ADAM Web Designm,
Thanks for the Link.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
crush123 is offline
Reply With Quote
View Public Profile Visit crush123's homepage!
 
Reply     « Reply to How to integrate these ads into .html web pages?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35759 seconds with 12 queries