XHTML Compliant Sharing Script (ShareThis)

So you’re using ShareThis. You say it doesn’t validate with the W3c? Of course it doesn’t. The validator complains about displayText and etc not being attributes? Check out this method. You’ll easily get by the W3C validator.

You are of course trading off display of the ShareThis widget if users have JavaScript turned off. Who exactly is this any way? The freaking web doesn’t roll or run without JavaScript.

<script type="text/javascript">
//<![CDATA[
  var twitter = "<span class='st_twitter' displayText='Tweet'></span>";
  var facebook = "<span class='st_facebook' displayText='Facebook'></span>";
  var linkedin = "<span class='st_linkedin' displayText='LinkedIn'></span>";
  var yahoo = "<span class='st_yahoo' displayText='Yahoo!'></span>";
  var googlebuzz = "<span class='st_gbuzz' displayText='Google Buzz'></span>";
  var email = "<span class='st_email' displayText='Email'></span>";
  var sharethis = "<span class='st_sharethis' displayText='ShareThis'></span>";
  document.write('<p>' + twitter + facebook + linkedin + yahoo + googlebuzz + email + sharethis + '</p>');
//]]>
</script>
Posted in XHTML & CSS Design | Tagged , , , , , | Leave a comment

Facebook PageMaker 1.0 Available

Although I primarily am blogging on my official web design site, I thought I would pop over to Internet Madman to announce a nice little bit of coding in the form of a five dollar Windows application that assists in the easy creation of Facebook Fan or Facebook business pages. Use this link to download Facebook Page Creation Tool.

The Windows-based program allows you to visually create your tabbed interface, easily and automatically include popular sharing scripts, plus Facebook social plugins such as the like button, and the comment box. Testing a tab color scheme couldn’t be easier. Simply use the data entry tabs to enter content for up to five tabs, and click create! Did I mention I’m only charging five bucks??? I am a Madman!

Most people have hard time creating a good tabbed interface for their Facebook business of fan page, and I think that they labor under the misconception that it’s an automatic thing. In fact you have to install an application on Facebook called Static HTML iframe tabs, which allow you to enter custom page HTML CODE. This facebook application does not create a tabbed interface! That’s where my program comes into play. It will create the tabbed interface that has become a staple for all good Facebook pages. Show go over there to webprofast and download it today.

Posted in Oh Boy SEO, Web & Internet, XHTML & CSS Design | Tagged , , , , , | Leave a comment

Foxpro Row Number Tip

There’s a ton of useful commands available in Visual FoxPro. It’s a pretty good database. The drawback is it’s a little slow, and the table size is limited, and obviously it costs money, unlike MySQL. There’s time that you might need to add a row number or record number to a FoxPro table. Still FoxPro is a great back end for Windows applications, as long as the databases are kept bloat free, and relatively small and well maintained. I’ve been using it for over ten years and it’s never let me down. It runs particularly well as a back end database solution when coupled with the Microsoft OLEDB Privider for Microsoft Visual FoxPro.

replace all id with recno()

this will add the numeric value to the field "id". Or alternatively, you can use this for character (text) fields.

replace all id with alltrim(str(recno()))
Posted in Database / SQL | Tagged , , , , , | Leave a comment