am 02af9d6d: am b8e8e522: am e217fc3c: am eee91eb2: am d99989c5: Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs

* commit '02af9d6dfdb1dcd35f3291d2a931265b886c57ad':
  new version of Helpouts recruit banner for TV and Wear
This commit is contained in:
smain@google.com 2014-12-03 21:51:53 +00:00 committed by Android Git Automerger
commit 711b3e3e4c
2 changed files with 7 additions and 20 deletions

View File

@ -7399,7 +7399,7 @@ a.home-new-cta-btn:hover,
/* Helpouts widget */
.resource-card-6x2.helpouts-card {
width: 220px;
width: 255px;
height: 40px;
position:absolute;
z-index:999;

View File

@ -206,33 +206,20 @@
<div class="wrap" style="position:relative;z-index:1">
<?cs if:reference ?>
<?cs # HIDE HELPOUTS RECRUIT BANNER
<?cs # HIDE HELPOUTS RECRUIT BANNER ?>
<a id="helpoutsLink" class="resource resource-card resource-card-6x2x3 resource-card-6x2 helpouts-card"
href="http://helpouts.google.com/partner/landing/provider/googledevelopers" target="_blank">
href="http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=dac&utm_medium=banner&utm_campaign=android_provider_banner3" target="_blank">
<div class="card-bg helpouts-card-bg"></div>
<div class="card-info">
<div class="helpouts-description">
<div class="text">Help developers solve problems<br/>
<span id="helpoutsLinkText" class="link-color" style="display:block;padding-top:5px;text-align:right">Learn more</span>
<div class="text">Help Android Wear and TV developers<br/>
<span id="helpoutsLinkText" class="link-color"
style="display:block;padding-top:5px;text-align:right">Learn more</span>
</div>
</div>
</div>
</a>
<script>
var textA = "LEARN MORE";
var linkA = "http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=android_banner1&utm_medium=banner&utm_campaign=android_provider_banner1";
var textB = "SIGN UP NOW";
var linkB = "http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=android_banner2&utm_medium=banner&utm_campaign=android_provider_banner2";
if (Math.floor(1/Math.random()) > 1) {
$("a#helpoutsLink").attr('href', linkA);
$("span#helpoutsLinkText").text(textA);
} else {
$("a#helpoutsLink").attr('href', linkB);
$("span#helpoutsLinkText").text(textB);
}
</script>
END HIDE HELPOUTS ?>
<?cs # END HIDE HELPOUTS ?>
<?cs /if ?>
<ul class="nav-x col-9 develop" style="width:100%">