Archive for February, 2009


Wednesday, February 25th, 2009
Google’s recommendation for placement of their analytics code is to always place it directly above the closing body tag. 
 
 
However Google does state an exception on the instructions for using the special pdf tracking code:
 

 

“Important: if your pages include a call to _trackPageview, _setAllowLinker _trackTrans(), your Analytics tracking code must be placed in your HTML code above any of these calls. In these cases the tracking code can be placed anywhere between the opening <body> tag and the JavaScript call. “
_trackPageviewis a part of the standard Google Analytics code so to use the PDF tracking the analytics code would have to be moved to higher up on the page.
 

 






Wednesday, February 25th, 2009

<cflocation url="http://www.yoursite.com/MEM/Default.asp">






Friday, February 20th, 2009

 

It is possible to remove the "Buy this book" link from the Google’s Book Search feature.  You must contact Google support and ask them to remove "third party Buy links" for your URL.  You also need to add this to your Book Search code:

 

<script>GBS_setViewerOptions({showLinkChrome: false});</script>

directly following:

<script src="http://books.google.com/books/previewlib.js"></script>






Wednesday, February 18th, 2009

When a Flash animation layers itself over the top of another web element like a menu, and you need it to appear beneath, use this:

<div STYLE="z-index: 0; position:relative"> FLASH HERE</div>

If this doesn’t work you may need to also provide a z-index for your other layers setting the z-index to a lower number than the Flash z-index, i.e. -1.





Filed under DHTML, Flash | No Comments »


Sunday, February 15th, 2009

To create the thumbnails for Affine Images:

Use Photoshop’s Automate Batch feature with these settings:

Here’s the script for AffineImage_thb which is entered in the Actionscipt area of Photoshop:






Saturday, February 14th, 2009

Configuration Button

Step 1 Open your PowerDVD program and press the play button to start the movie.

Step 2 Locate the Configuration button (shown above) on your User Interface (or press "Ctrl-C").

Step 3 After clicking on the Configuration button a menu will open up. Click on the "Advanced…" button near the bottom of the menu.

Step 4 Choose save to clipboard

Once you’ve found the frame you want, click the camera icon, and then paste into Photoshop.






Monday, February 9th, 2009

I often have a whole bunch of Outlook emails open and want to close them quickly.  This seems like a very basic task that almost anyone would want to accomplish without having to click the little box in the corner of the window.  After trying Esc, Ctrl-W and all the other standard ways that 99.99% of software developers use to do this taks I tried MS Outlook’s help.  Of course it was totally unhelpful and is always the case I found the solution on the website of a humanoid.

The keyboard shortcut to close open email windows in Outlook is ALT-F4.