Quick Tips

Minnesota Web Developer

A little something about everything...

How to Claim or Publish your Yahoo local listing,

You would think this would be a simple 3 step process like bing or google however, following the instructions laid out by Yahoo! will bring you to one of several pages.

 

Claim Listing:

Following the claim listing instructions lands you on this page:

https://smallbusiness.yahoo.com/merchantsubmit/claimlisting

Which errors out with a partially rendered error page.

 

Create listing:

Following the create listing instructions lands you on this page:

https://smallbusiness.yahoo.com/dashboard/v2/apps/mylisting?bizid=##########

This page also loads a partially rendered error page in the inner window.

 

Solution:

You can simply go to https://smallbusiness.yahoo.com/dashboard/mybusinesses to manage your business listings without issues.

 

Thoughts:

Why a large company like yahoo has such poor documentation on something so simple is beyond me. If someone from Yahoo! reads this please update your documentation and make use of some 301 redirects for all of these old non functioning business listing management pages.

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.