Binary I.T. Solutions, Inc.

Make a HTML Table Responsive with a simple script.

Using Jquery you can tell any table on a webpage to show a table in a easy to read responsive format using Jquery and a simple CSS Media call.

Step 1.  Make sure you call Jquery

Example:  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

Step 2.  Make sure all table headers are called as TH not TD.

Step 3.  Insert the Following Javascript:

 

<script type="text/javascript">
$(function() {

$('table').each(function() {

var head_col_count = $(this).find('th').size();
for ( i=0; i <= head_col_count; i++ ) {

var head_col_label = $(this).find('th:nth-child('+ i +')').text();
$(this).find('tr td:nth-child('+ i +')').attr('data-th',head_col_label );

}

})

});
</script>

 

Step 4.  Add Media CSS:

<style>
table {
width:100%;
border-collapse:collapse;
}

@media only screen and (max-width:550px) {

table, thead, tbody, th, td, tr {display: block;}
th {display:none;}
tr:first-child {
border-top:none;
margin-bottom:0;
}
tr {
border-top:1px solid #ccc;
border-right:1px solid #ccc;
border-left:1px solid #ccc;
margin-bottom:5px;
}
td {
border: none;
border-bottom: 1px solid #ccc;
position: relative !important;
padding-left: 50% !important;
white-space: normal;
text-align:right !important;
}
td:before {
padding-right: 10px;
white-space: nowrap;
text-align:left;
font-weight: bold;
}
td:before {
content: attr(data-th)":";
position:absolute;
left:5px;
}

}
</style>

This script will work even if there is multiple tables on the same page.  I also added a JFiddle Page so you can test it yourself:

http://jsfiddle.net/brookh/wp1zhLe2/2/

 

Top 10 Christmas Tech Ideas as chosen by Binary I.T. Solutions Inc.

These tech ideas were choosen for the combination of Price, usability and fun factor.  We have reviewed and tested most of these products but would be interested in hearing your opinions on the product.  Please comment about them on our facebook page located at:  https://www.facebook.com/BinaryItSolutionsInc

1.     Google - Chromecast HDMI Streaming Media Player

googlechromecastCost: $32.88 (Amazon)

Pros: Can cast webpages and content from your Android or IPhone Device including Netflix, and YouTube.  You can also cast content from your pc’s Chrome browser including video content from many websites.

Cons:  Still in Beta and has limited support options for the IPhone.  It is a new product and will take time before it is fully adopted if ever.

Google Chromecast is the easy way to enjoy online video and music on your TV. Plug it into any HDTV and control it with your existing Android smartphone or tablet, iPhone®, iPad®, or laptop. No remotes required. Cast your favorites from Netflix, YouTube, HBO GO, Hulu Plus, Pandora, Google Play Movies & TV, Google Play Music, and Chrome* to your TV with the press of a button.

Read more: Top 10 Christmas Tech Ideas as chosen by Binary I.T. Solutions Inc.

iOS 7 iMessage problems, unstable but fixable

iOS 7 is not sitting too well with many Apple consumers; we have seen so many complaints coming in about the new operating system. Some are saying it’s the worst to date, there are problems with those that wish to downgrade but cannot, and now there are iMessage problems.

We have taken a look over on Apple’s Support Communities website and iPhone owners are complaining about the new iOS 7, they report that since upgrading to iOS 7 they have had problems with iMessage. The problem seems to lie more with the iPhone 4 and 4S, not really seeing the iPhone 5S or 5C popping up a great deal.

The apparent iMessage problem stops messages from being sent with a few not being able to receive iMessages, If an iMessage cannot be sent it is common knowledge that they can be converted to SMS text but these are apparently not working either.

Since the release of iOS 7, iPhone owners are continuing to have issues. The iMessage problem seems to date back to September 18th when the new OS was released, but it has got a lot worse since the iOS 7.0.2 update went live.

There is a simple iMessage fix: Disable iMessage in Settings -> Messages, reset the iPhone’s Network Settings under Settings -> General -> Reset, then re-enable iMessage.

Article Obtained at:  http://www.phonesreview.co.uk/2013/10/01/ios-7-imessage-problems-unstable-but-fixable/

Instagram JSON Photo Highlight Module for Joomla 2.x and 3.x

Insert Latest Photo and Description direct from any Instagram Feed using the Media JSON option offered by Instagram.  Just add /media at the end of any feed and you will be see the JSON feed.  Add this link to the module and display the latest Instagram Photo and Description.

Example:

Instagram Photo Page

http://instagram.com/af_academy

JSON FEED:

http://instagram.com/af_academy/media

Buy Now!

YouTube Plugin for Joomla 2.x and 3.1

YouTube Insert is the best, simplest and easiest Youtube plugin! Youtube plugin supports versions 2.5 and 3.0!

This simple little YouTube plugin will display the YouTube iframe player in your articles when {youtube    }xxxxxx{/youtube} is inserted in the text, where xxxxxx is the YouTube ID for chosen Youtube video, Youtube playlist or Youtube custom player. This player includes customizations including size, autoplay, autohide and more.

YouTube Version 1.2 Uses HTML5 YouTube Iframe structure!

With this plugin, you can embed YouTube videos into articles simply by copying and pasting a youtube's video parameter between the youtube flags: {youtube  }xxxxxx{/youtube}. So for instance if the URL is: ....youtube.com/watch?v=8qs2sADHAc0

8qs2sADHAc0

Then you would insert the following text to your article (No Spaces):
{youtube  }8qs2sADHAc0{/youtube}

Buy it now!

How do I sign up for a Microsoft account?

To use any Microsoft services, you need to create a Microsoft account—an email address and password that you use to sign in to all Microsoft sites and services, including Outlook.comHotmailMessenger, and SkyDrive. A Microsoft account also gets you into other Microsoft sites such as Xbox LIVEZune, and Office Live.

Read more: How do I sign up for a Microsoft account?

Service Spotlight

  • Search Engine Optimization

SEO (Search Engine Optimization) Every time you turn around, there’s something new you have to know about on the internet. Think about it, there was a time when you knew every song on every album and what every make and model was driving down the street. Well, those days are OVER. But we are here to help you with the internet.

Las Vegas Web Design and Las Vegas Marketing Services can find ways of optimizing your site, finding valuable links, getting you added successfully to Local listing tools like Google, Yahoo, MSN and much more. We can tailor make a plan for as little as $99.00 per month guarenteed. This also includes the management of your Pay Per Click Advertisements.

Read More About SEO

Member Login