am d99989c5
: Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs
* commit 'd99989c558c384312bd63cf3a5e1bbbd799bf4b5': new version of Helpouts recruit banner for TV and Wear
This commit is contained in:
commit
eee91eb242
2 changed files with 7 additions and 20 deletions
|
@ -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;
|
||||
|
|
|
@ -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%">
|
||||
|
|
Loading…
Reference in a new issue