This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="userNamewidget"> | |
</div> | |
<script> | |
$j(document).ready(function() { | |
function trim11 (str) { | |
str = str.replace(/^\s+/, ''); | |
for (var i = str.length - 1; i >= 0; i--) { | |
if (/\S/.test(str.charAt(i))) { | |
str = str.substring(0, i + 1); | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** change email label to an image **/ | |
/** reference ticket #59770 **/ | |
label[for='ticket_email'], label[for='email'] | |
{ | |
text-indent:-5000px; | |
background-image: url('http://i.dell.com/images/ap/buttons/icons/email_en_38x38.gif'); | |
background-repeat:no-repeat; | |
height:38px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message = 'If you previously signed up with Support'; | |
message += '(to post to the Forum and/or create a Support ticket) please '; | |
message += '<a href=\"login?return_to=http%3A%2F%2Fsupport.zendesk.com%2Frequests%2Fnew\">login</a>'; | |
message += ' first to submit a request.'; | |
//check to see if you are on the end users request page | |
if (window.location.href.indexOf('anonymous_requests') >= 0) { | |
jQuery('p:contains(If you are a registered user)').html(message); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message = '<h2>Test</2>'; | |
//check to see if you are on the end users request page | |
if (window.location.href.indexOf('access') >= 0) { | |
jQuery('h2:contains(New to)').html(message); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***********************************************************************************************/ | |
/*** changing colour of big search box on homepage***/ | |
/***********************************************************************************************/ | |
.green_box_bottom | |
{ | |
background: url("/images/composite.gif") no-repeat scroll 0 -10px white; /* light "Dark Green" */ | |
} | |
.green_box_top | |
{ | |
background: url("/images/composite.gif") no-repeat scroll 0 0 white; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery('#top-menu li.tab_new a').html('new'); | |
jQuery('h2:contains(Submit a request)').html('new'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$j('#top-right a:contains(sign up)').hide(); | |
if (window.location.href.indexOf('access') >= 0) { | |
$j('h2:contains(New to Sutoka)').parent().hide(); | |
$j('h2:contains(No password)').parent().hide(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
Event.observe( document, 'dom:loaded', beg_el = function() { | |
var textValue = $('ticket_fields_139051').value; | |
return textValue; | |
}, | |
beg_nl = function() { | |
var textValue = $('ticket_fields_114704').value; | |
return textValue;}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$j(".category-name h2").append("<img src=\"http://static-2.socialgo.com/cache/7217/tiny/17008.jpg\">"); |