/    Sign up×
Community /Pin to ProfileBookmark

Is it possible ?

Hello everybody,

On my page, i placed an add. The problem is that it slows down the loading of the page dramatically … It is one of the first item beeing executed. Is there a way to first define the place of the add but also define that it loads only when the page has finished to be loaded ?

thanks !

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyOct 22.2006 — You could with javascript (innerHTML).

First make an empty div where you want the ad to be.

<div id="ad"></div>

Then later in the page have javascript write the ad into the div using innerHTML. If you can provide a link to your website I can give a better example of this.
Copy linkTweet thisAlerts:
@patimagesauthorOct 22.2006 — You could with javascript (innerHTML).

First make an empty div where you want the ad to be.

<div id="ad"></div>

Then later in the page have javascript write the ad into the div using innerHTML. If you can provide a link to your website I can give a better example of this.[/QUOTE]


thanks a lot for your answer! But unfortunately the site is not online yet as I am still bulding ... I figures the first part with the div but did not get the second with inner html...

Maybe the script of the add shall help : here you go :

<script type='text/javascript'>
[code=html]<!--
//default banner house ad url
clicksor_default_url = '';

clicksor_layer_border_color = 'FFFF00';
clicksor_layer_ad_bg = '#8C51C6';
clicksor_layer_ad_link_color = '#000000';
clicksor_layer_ad_text_color = 'FFFF00';
clicksor_text_link_bg = '';
clicksor_text_link_color = '#99CC33';
clicksor_enable_text_link = true;
//default pop-under house ad url
durl = '';
clicksor_enable_pop = true;
clicksor_frequencyCap = 0;
clicksor_banner_image_banner = true;
clicksor_banner_border = 'FFFF00';
clicksor_banner_ad_bg = '#8C51C6';
clicksor_banner_link_color = '#000000';
clicksor_banner_text_color = 'FFFF00';
//-->
</script>[/code]


and then :

[code=html]<a href='http://www.clicksor.com'>internet marketing</a> </div>[/code]

How can I then use "innerhtml" then ???

thanks and thanks again !
Copy linkTweet thisAlerts:
@MoridinOct 22.2006 — If you are using ads with the only intent to get money and that income is not a major part of your total income in your life, you should consider not using ads. Depending on how you style them, ads can be both an eyesore and lower the professional look of your website. Ads just to have ads is never a good idea, unless you need to pay for hosting etc.

  • - [b]Moridin[/b]
  • Copy linkTweet thisAlerts:
    @patimagesauthorOct 22.2006 — well, I would like to at least compensate the money paid for the domain, the advertisement of the site and its hosting... if someone could help me, I would really appreciate !
    ×

    Success!

    Help @patimages spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.25,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...