labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r762358 - /labs/magma/branches/0.0.1/fragment-google-ads-xhtml/src/main/resources/org/apache/magma/web/google/ads/xhtmlGoogleAdsInclude-head.vm
Date Mon, 06 Apr 2009 14:24:36 GMT
Author: simoneg
Date: Mon Apr  6 14:24:36 2009
New Revision: 762358

URL: http://svn.apache.org/viewvc?rev=762358&view=rev
Log:
Fix on scrollbars in msie

Modified:
    labs/magma/branches/0.0.1/fragment-google-ads-xhtml/src/main/resources/org/apache/magma/web/google/ads/xhtmlGoogleAdsInclude-head.vm

Modified: labs/magma/branches/0.0.1/fragment-google-ads-xhtml/src/main/resources/org/apache/magma/web/google/ads/xhtmlGoogleAdsInclude-head.vm
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.1/fragment-google-ads-xhtml/src/main/resources/org/apache/magma/web/google/ads/xhtmlGoogleAdsInclude-head.vm?rev=762358&r1=762357&r2=762358&view=diff
==============================================================================
--- labs/magma/branches/0.0.1/fragment-google-ads-xhtml/src/main/resources/org/apache/magma/web/google/ads/xhtmlGoogleAdsInclude-head.vm
(original)
+++ labs/magma/branches/0.0.1/fragment-google-ads-xhtml/src/main/resources/org/apache/magma/web/google/ads/xhtmlGoogleAdsInclude-head.vm
Mon Apr  6 14:24:36 2009
@@ -6,4 +6,18 @@
 	border: 0px none;
 	
 } 
-</style>
\ No newline at end of file
+</style>
+<script>
+  function trimGoogleAds() {
+  	if (jQuery.browser.msie) {
+	  	$('.MagmaGoogleAdsObject').each(function(ele) {  	
+			this.body.style.border = 'none';
+			this.body.style.margin = '0';
+			this.body.style.padding = '0';
+			this.body.style.overflow = 'hidden';
+			});
+	}  	
+  }
+  
+  addOnload(trimGoogleAds);
+</script>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message