473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Ads should load last

Could someone point me to some code that I could use to insure that
ads on my website load last instead of first? A website with snippets,
maybe. Thanks.
Oct 2 '07 #1
4 2652
Poppa Rotzee wrote:
Could someone point me to some code that I could use to insure that
ads on my website load last instead of first? A website with snippets,
maybe. Thanks.
I can't point you at any code, but how about putting the ads in an
iframe. That way you get to control when the iframe gets given it's URL.
You can create the iframe empty initially and then when your page hits
it's onload event, set the .src property of the iframe to the ad URL.
Oct 2 '07 #2
Stevo, thanks for the reply. So if I use javascript and use <body
onload="changeiframes()"(to change the src of the empty iframes) the
ad code will not be loaded (via iframes) until after the rest of the
page has loaded? Is this correct?
On Tue, 02 Oct 2007 18:35:43 +0200, Stevo <pl****@spam-me.comwrote:
>Poppa Rotzee wrote:
>Could someone point me to some code that I could use to insure that
ads on my website load last instead of first? A website with snippets,
maybe. Thanks.

I can't point you at any code, but how about putting the ads in an
iframe. That way you get to control when the iframe gets given it's URL.
You can create the iframe empty initially and then when your page hits
it's onload event, set the .src property of the iframe to the ad URL.
Oct 2 '07 #3
Poppa Rotzee wrote:
On Tue, 02 Oct 2007 18:35:43 +0200, Stevo <pl****@spam-me.comwrote:
>Poppa Rotzee wrote:
>>Could someone point me to some code that I could use to insure that
ads on my website load last instead of first? A website with snippets,
maybe. Thanks.
I can't point you at any code, but how about putting the ads in an
iframe. That way you get to control when the iframe gets given it's URL.
You can create the iframe empty initially and then when your page hits
it's onload event, set the .src property of the iframe to the ad URL.

Stevo, thanks for the reply. So if I use javascript and use <body
onload="changeiframes()"(to change the src of the empty iframes) the
ad code will not be loaded (via iframes) until after the rest of the
page has loaded? Is this correct?
It isn't, and neither is Stevo's suggestion.

Please don't top-post.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Oct 2 '07 #4
Poppa Rotzee wrote:
Stevo, thanks for the reply. So if I use javascript and use <body
onload="changeiframes()"(to change the src of the empty iframes) the
ad code will not be loaded (via iframes) until after the rest of the
page has loaded? Is this correct?
Yes, that's right.
Oct 2 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: CST | last post by:
Hi All, I have a "Digital Dashboard" that basically has 4 IFrame sections. The page flows in the following order: Messages, Stocks, Weather, User Links. Please note that this order needs to...
1
by: Les Juby | last post by:
Hi A clint has insisted we load a babbling brook sound clip to his home page but it needs to load last to avoid delays in loading images and other elements. Simply declaring it at page bottom...
2
by: Les Juby | last post by:
Hi A clint has insisted we load a babbling brook sound clip to his home page but it needs to load last to avoid delays in loading images and other elements. Simply declaring it at page bottom...
3
by: Prince Kumar | last post by:
When running LOAD with "ALLOW READ ACCESS", I get the following error if select is running againt the table (isolation UR). load.sql --------- db2 load from /u02/data/dly_d040817_test.dat of...
9
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
4
by: Rob Richardson | last post by:
Greetings! I have a form with a listview, a menu, and a few text boxes, labels and command buttons. I want to resize the listview when the form is resized to that the widths of the spaces...
2
by: **Developer** | last post by:
I have a Form (FV&C) containing a userconrtrol (CF&E) I do a ShowDialog for the form and the form's Load calls a method of the UserControl. The first time I do this the usercontrol appears on...
1
by: bigijoseph | last post by:
Please help : page load event is not firing. -------------------------------------------------------------------------------- Hi, I am a new to .net. I am trying to learn it. I tried the...
4
hemantbasva
by: hemantbasva | last post by:
We have designed an aspx page having five ajax tab in it. the data of first four are designed on page whereas for the fifth tab it renders a user control named MYDOMAIN. in the tab container's even...
2
jamwil
by: jamwil | last post by:
What's up guys. I'm having some issues... I've created a method as part of my lifestreaming class which takes an rss feed, and puts the data into a database... It's fairly simple... Check...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.