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="realTime"> | |
</div> | |
<script type="javascript"> | |
pausecomp = function(millis) | |
{ | |
var date = new Date(); | |
var curDate = null; | |
do { curDate = new Date(); } |
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
//this widget checks the user name to see if it has a prefix and hide the submit button if it does | |
$j(document).ready(function() { | |
//check to see if you are on the registration page | |
if (window.location.href.indexOf('registration') >= 0) { | |
//hide the recaptcha and submit button | |
$j('.action-login').hide(); | |
$j('div#recaptcha_widget').hide(); | |
//check the name when the move to the next field. | |
$j('input#user_name.text').blur(function() { | |
//the regex for the expression you are checking for in this case [GM] |
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.tuneupmedia.com%2Frequests%2Fnew\">login</a>'; | |
message += ' first to submit a request.'; | |
//check to see if you are on the end users anonymous 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
<script type="text/javascript">// <![CDATA[ | |
$j('div.user_formatted').append("<iframe src =\"http://skipjack.zendesk.com\/account/dropboxes/43\" width=\"100%\" height=\"300\"><p>test</p></iframe>"); | |
// ]]></script> |
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
/* you can get the widget ID/Number from the widget edit page in the sidebar */ | |
div#widget_189206 { | |
display: none; | |
} |
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='hipchat_widget'> | |
</div> | |
<div id="hipchat_message"></div> | |
<script type="javascript"> | |
$j(document).ready(function() { | |
d = new Date(); | |
if(d.getMonth()>9){ | |
month = d.getMonth()+1; |
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 type="javascript"> | |
/*this is a custom widget for the sidebar of zendesk to display the RSS feed | |
*of a view. You are limited to 15 items. just copy and paste this code into a custom widget. The one | |
*bug I couldn't fix is if the 1st 200 charater contain something in the pre tags | |
*it doesn't wrap and over runs the sidebar. | |
*/ | |
</script> | |
<div id="feedContent"> | |
</div> |
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() { | |
if('{{current_user.name}}' == 'Anonymous user'){ $j('div#pinned-entry-57062').show();} | |
else | |
{ $j('div#pinned-entry-57062').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 type="text/javascript" id="urban_source">Widget.require('http://www.techassistant.net/urban_widget/urban.js', {type: 'text/javascript'});</script> | |
<div id="urban_content"></div> |
OlderNewer