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

* commit 'e217fc3c3ee9a437dfdeda2c3cc0df99380dbfc0':
  new version of Helpouts recruit banner for TV and Wear
This commit is contained in:
smain@google.com 2014-12-03 18:36:34 +00:00 committed by Android Git Automerger
commit b8e8e52270
2 changed files with 7 additions and 20 deletions

View file

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

View file

@ -206,33 +206,20 @@
<div class="wrap" style="position:relative;z-index:1"> <div class="wrap" style="position:relative;z-index:1">
<?cs if:reference ?> <?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" <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-bg helpouts-card-bg"></div>
<div class="card-info"> <div class="card-info">
<div class="helpouts-description"> <div class="helpouts-description">
<div class="text">Help developers solve problems<br/> <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> <span id="helpoutsLinkText" class="link-color"
style="display:block;padding-top:5px;text-align:right">Learn more</span>
</div> </div>
</div> </div>
</div> </div>
</a> </a>
<script> <?cs # END HIDE HELPOUTS ?>
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 /if ?> <?cs /if ?>
<ul class="nav-x col-9 develop" style="width:100%"> <ul class="nav-x col-9 develop" style="width:100%">