Properly cleaning up a JQuery Dialog box to prevent memory leaks

One of the cool things about JQuery is you can declare an invisible DIV with a “display:none” style and then use that DIV as the content for a popup dialog box in your application. I have been working on a pretty dynamic web application that is pretty much all JavaScript and buttons come and go based on the users actions. This can present a problem with regard to memory consumption. Each time you call $(“#dialog”).dialog() jQuery creates a set of DIV’s in the base of the HTML.

Continue reading

Getting and setting radio button values with JQuery

I figured I would share this because I found so many inconsistent hits on the internet searching for a solution. I have this dialog that I pop up and want to set the values and then retrieve the values once OK is hit using JQuery.

jquery-radio

The HTML is pretty straight forward:

jquery-html

The code to set the value from my model looks like this:

var $radios = $('input:radio[name=transition]');
$radios.filter('[value=' + model.options.transition +']').attr('checked', true);

The code to retrieve the value looks like this:

model.options.transition = $('input:radio[name=transition]:checked').val();

 

Meta tags and WordPress and an interesting answer

metaFirst off, what is a Meta tag???  A meta tag is text that describes your site or individual post inside of the HTML header. It was designed so search engines can quickly index your site and use the “key words” in those tags to provide more relevant results. Here are a couple of examples:

Continue reading

The careful re-tweeter, some tips for Twitter

retweetThere is a stigma in the social world where one regurgitates information. These are the people who re-tweet things carelessly and often not even reading the content of the Tweet. This specifically addresses Tweets with URL’s. Too often I see a great Tweet, open the URL and the content has nothing to do with the Tweet text. This is a form of phishing or spamming to get a click-through view. Here are some basic tips I try to follow:

  • Stick to your Twitter ID persona. If your account is for sports as an example then only re-tweet sports information. Forwarding tweets for other topics may lose you some followers. My own ID is somewhat general but I “usually” stick to technology related material and throw in a bit of my personality now and then.
  • Read the content! If there is a URL in the Tweet take some time to read the entire article before you re-tweet. Many people use “shock text” in tweets or article titles only to find out the actual content may be the opposite position or something entirely different that the title.
  • Be social – don’t just re-tweet, engage. If there is an article then even post a comment on the article. Don’t just re-tweet, reply to the tweet with an observation or a simply “thanks for sharing” if you found it useful.
  • Kids – be careful who you follow and what you say online. You never know what future employers or schools may dig that information up down the line.
  • Follow your company guidelines! Be on the safe side if you are employed, state in your profile Tweets are my own and be careful about re-tweeting content that puts your company in a bad light. Re-tweeting and tweeting yourself are the same thing.

Online and FREE Image map tool for HTML

I was poking around the internet and thanks to Google I found very quickly this Image Map Tool site that lets you create image maps for your graphics. I quickly created a simple graphic, uploaded it to the tool and create maps for different tag categories on my site. I then copied and pasted the HTML into my blog post and viola, works like a charm!

Feel free to check it out and donate if you like it!

Online Image Mapper
Online Image Mapp Tool


Who’s viewed your profile?

Your LinkedIn profile can either be a positive or negative element in the social world equation. I received some good tips from Ben Martin about how to have a profile that gets results. While I am not looking for a job, I do use my LinkedIn profile to connect with customers and partners and I want to be “found” when I am not out looking for others. I want others to find me. Since I expanded my introduction section I have seen a drastic difference in the statistics around how many times my profile was viewed or has shown up in search results.

If you want to be taken seriously you should have as much information about your skills as possible. People are looking for something out of the ordinary buzzwords. I am sure my profile is not perfect and if you have any advice for me please share!

 

Was Klout fixed recently?

I have been complaining about Klout for about a month because it seemed the data it was capturing was out of date, a lot. I noticed it was mostly Facebook so Twitter started to become my primary scoring percentage for my Klout score – which I know I don’t Tweet that much. Over the weekend it looks like “something” was fixed. If I had to guess, I bet Facebook probably changed an API or something, but that is just a guess.

Being is software development, I can imagine this could have been a thousand different things – a bug in Klout, a problem with my content causing Klout to choke, an API change or any other numerous things. For now, it all looks fixed…

Why Kred is better than Klout in my opinion.

One simple word, transparency!

When I go to Kred I get a first class user interface that shows all of my “shares” and the interactions they received – this is hands down the best feature I love about the site. Klout attempted this with “Your Moments” but its flaky and never seems up to date.

The second best feature is the fact I can see how my Kred score is calculated on my points page. I can learn what gets more points and for what reasons. Once again, I share and share and share and see what value the different shares bring by what interactions have taken place on them.

Getting started on LinkedIn – My Top 5 tips

I joined LinkedIn in December of 2005. This was at a time when MySpace was King and Facebook was a college only thing slowly getting into high schools as a social network. At first I didn’t think the concept of LinkedIn would be successful but at the same time I did believe it had a lot of potential, boy has it changed (for the better) over the years. Let’s get to some tips for effectively using LinkedIn.

 

Tip #1 – Your Profile

You must complete your profile with a picture. Think of this as your online resume. Fill out as much information as you can but keep it professional. You should not include anything personal like hobbies, sports, etc. I think of my LinkedIn profile as a business tool, to confirm my credentials when customers or business partners look me up. Oh yes, and they will look you up. Complete your profile, education, work experience, awards, etc. You never know what kind of contact you may meet by simply having all of your information on there or what group may ask you to get involved base on your information.

Tip #2 – Join Groups

There are many types of groups on LinkedIn, professional, hobby, government, social groups, alumni, etc. Get involved in the groups. One of the things I really do not like about many of the groups are they end up being job boards. So unless you are looking for a job post relevant information to the groups and add value. The more value you add the more likely you are to attract a future employer or business. You can even promote your own products or brand on these groups but keep it more informational and less selling, establish yourself.

Tip #3 – Link to others

If you are in a business meeting and you introduce yourself or get a business card make sure when you get back to your computer you find that new “link” and get them into your network. This will be a sure way to get “remembered”. And if you end up getting connected, they can see what kind of influence you have by what you post and share on LinkedIn. I make it a point that when I get a business card I always attempt to link with that person, it solidifies my interest in them and their business.

Tip #4 – Recommend and Get Recommendations

You don’t need many, but getting recommendations on LinkedIn hold a lot of water in my opinion. The reason is someone looking at a recommendation can quickly see who that person is doing the recommendation and see what their reputation is very quickly. You should also recommend people. I wouldn’t just recommend people for the sake of recommending, make sure you truly would recommend this person in real life, because that is exactly what it is. It quickly builds a list of references and is always available online.

Tip #5 – Be the expert your profile says you are

If you are a rock star manager then make sure you post often about being a rock star manager. Make sure you are a thought leader in your area of expertise. This will clearly attract more connections and raise your profile credibility. The newly introduced “skills” endorsements is a great way to get others to see that you are what you say you are. I recommend blogging or sharing key stories or news articles that are relevant to your industry.

Continue reading

The power of SEO when no one is home…chirr chirr chirr chirr

One of the interesting things about the internet and writing on the internet is once you get some kind of solid foundation you realize some articles are actually read sometimes months or even years after they are posted. Google does a good job in relevancy finds but its only as good as your title, tags, and content. If you are lucky you may create enough articles that when someone searches on their favorite search engine they get directed to your masterpiece.

I try to tag/categorize every single post I can and have somewhat descriptive titles because those are the key words the search engines rank on most. Then of course the content is always king. The most clicks your posts generate on the search site the better chance your article will move up in the ranks.

As you can see from the chart below, I just took a random day where I had not posted in a few days to see what impact search engines and social sites have on my blog read counts.

The site actually got 190 hits that day and the previous post was actually four days prior spanning the weekend so the referrer count was pretty much narrowed down to searches and social sites.

On an average day where I do post I get about 350-700 visits on those days and still get an average of 100-200 visits from search engines and social sites. That means on average I am seeing one third of my traffic resulting from searches.

What is “chirr chirr chirr” you ask? It is suppose to be the sound of crickets, I actually found this to see how it is spelled.