Quick Tips

Minnesota Web Developer

A little something about everything...

Fixed height, Jssor slider

A simple solution to set a fixed height but still have an adaptive/responsive width utilizing the jssor slider.

Change the code from:

<div id="slider">

To:

<div id="slider" style="width:auto !Important; ">

How to show/hide a asp.net sub element with jquery

This method allows you to show/hide a form element without making another request against the server. It also works when the show/hide element is required by the asp.net code behind.

You can use any type of sub element under a dropdown with this script. You will need to use a CDN or download and host your own jquery-1.3.2.min.js file.

SCRIPT

<script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script> <script type="text/javascript"> $(function() { $('#<%= Dropdown1.ClientID %>').change(function() { if (this.value=="My Value") { $('#<%= Element1.ClientID %> ').css({ visibility: 'visible' }); } else { $('#<%= Element1.ClientID %> ').css({ visibility: 'hidden' }); }}); }); </script>

 

HTML

<asp:DropDownList runat="server" ID="Dropdown1" class="required" >
<asp:ListItem Value=""> none</asp:ListItem>
<asp:ListItem Value="My Value">Some Text Here</asp:ListItem>
</asp:DropDownList>

<!-- place any element here with id="Element1" -->

text-shadow not working in chrome, css tricks

Here is the sample,

Text Shadow

And with no further adieu, here is the code:

for chrome:

  • text-shadow: -3px 3px 2px rgba(0,0,0,1);

For MS Browsers:

  • text-shadow: -3px 3px 2px 1px rgba(0,0,0,1)

For Both:

  • text-shadow: -3px 3px 2px rgba(0,0,0,1)
  • text-shadow: -3px 3px 2px 1px rgba(0,0,0,1)
Since CSS is read top down you can just place the version needed for crome above the general use/preferred method.

This message wasn't delivered to anyone because it's too large. The limit is 10 MB. This message is / 550 5.2.3 RESOLVER.RST.SendSizeLimit.Org; message too large for this organization

Error:

This message wasn't delivered to anyone because it's too large. The limit is 10 MB. This message is

This message won't be sent because it's too large

#550 5.2.3 RESOLVER.RST.SendSizeLimit.Org; message too large for this organization ##

 

Solution:

Adjust the limits with the following powershell commands:

 Set-TransportConfig -InternalDsnMaxMessageAttachSize #MB

 Set-TransportConfig -ExternalDsnMaxMessageAttachSize #MB

then

 Set-TransportConfig -MaxReceiveSize #MB -MaxSendSize #MB

or

 Set-Mailbox "User" -MaxSendSize #MB -MaxReceiveSize #MB