Having troubles with the intergration of Google Adsense for

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
dominod
Forum Commoner
Posts: 75
Joined: Wed Jun 30, 2010 7:18 am

Having troubles with the intergration of Google Adsense for

Post by dominod »

Hi there :)

I am having trouble with Google Adsense for Search..

http://www.gedoo.com/search/s.php?cx=pa ... php&sa=Søk

The problem is that the Google javascript is making a HUGE gap at the bottom of the search results... Making it look ugly and unprofessional :(

Anybody faced the same problem and mabye came up with a solution?

Here is the code:

Code: Select all

<div id="cse-search-results"></div>
<script type='text/javascript'>
  var googleSearchIframeName = 'cse-search-results';
  var googleSearchFormName = 'cse-search-box';
  var googleSearchFrameWidth = 795;
  var googleSearchFrameHeight = 80;
  var googleSearchDomain = 'www.google.no';
  var googleSearchPath = '/cse';
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
Thanks :)
Post Reply