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.

Adsence disappear with Ajax

Hi

I have a little problem with java ajax...

On my site I have a google adsence placed in a list. After the first 10
records it shows a adsence commecial.

But.. on my search page I use Ajax to get the search result while you type
the searchword.
This works fine and a list is shown that matched the searchword.
The page that ajax calls contains a list which is exactly the same as the
normal list on my site. So there are also a google adsence placed in the
search list.
But, the adsence isn't shown.

I have tried testing it a litlle more, and it seems that an adsence placed
somewhere in the page that ajax calls doesn't show on the screen. In the
source hte adsence is just gone.

So my question is, why do the adsence script disappear when the page is
calls with an ajax script.
If I type the direct url to the page called by ajax the google adsence is
shown. So it's only the ajax calls the page it doesn't work ?
Does anyone have a solution for this problem ?
best
Michael
Jul 17 '08 #1
1 1344
EnjoyNews wrote:
On my site I have a google adsence placed in a list. After the first 10
records it shows a adsence commecial.

But.. on my search page I use Ajax to get the search result while you type
the searchword.
This works fine and a list is shown that matched the searchword.
The page that ajax calls contains a list which is exactly the same as the
normal list on my site. So there are also a google adsence placed in the
search list.
But, the adsence isn't shown.

I have tried testing it a litlle more, and it seems that an adsence placed
somewhere in the page that ajax calls doesn't show on the screen. In the
source hte adsence is just gone.

So my question is, why do the adsence script disappear when the page is
calls with an ajax script.
If I type the direct url to the page called by ajax the google adsence is
shown. So it's only the ajax calls the page it doesn't work ?

Does anyone have a solution for this problem ?
Hard without looking at the code, but my first thought goes to a
conflict in variables, DOM, namespace or the like.

--
Bart
Jul 18 '08 #2

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

Similar topics

11
by: Yarco | last post by:
I want to use "Ajax" to create my web for hobby. But i don't know whether "Ajax" is mature... And what about with php? Someone have experience on it? ....
4
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but...
4
by: Darrell Wesley | last post by:
I have a form with several labels on it that ae filled in through code but for some reason the contents disappear. Does anyone have a guess as to what might be happening? Here is the part of the...
8
by: marcus.kwok | last post by:
I am having a weird problem and I have can't figure out why it is happening. I create an OpenFileDialog and set a filename filter. When the dialog first opens, the filter works correctly, and...
0
by: melledge | last post by:
Ajax Developers' Day added to XTech 2006 agenda XTech 2006 - 17-19 May - Hotel Grand Krasnopolsky - Amsterdam, The Netherlands
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
7
by: smithb1028 | last post by:
I have a simple DataGrid and trying to get paging to work. I orginially want to use this in an AJAX UpdatePanel, but I moved it out of it until I get it to work. This is the DataGrid in the...
1
by: shaizaban | last post by:
hello, my question is as follows (very urgent): i generated in an aspx page a modalpopup ajax control. i inserted a user control into the panel contained in the popup control. the panel contains...
8
by: ManWithNoName | last post by:
I hate to bug you guys with more of my problems but IE is trying to make me climb my walls for the past several hours... I thought I just explain the problem and if it sounds familiar I could get...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.