Web Design Blog - October 2009

< Prev   01  02   Next >

Javascript, show and hide content blocks

There are plenty of times when you need to either hide or show a set of content on the page and you do not want to refresh the page to have a server side language handle the hide/show. Using javascript it's pretty trivial. First you will want to decide what it is that you want to show/hide, for the purposes of this example it will be a div with an id: <div id="i_am_content" style="display: block;">Hide me, show me, do whatever you please</div> Now lets show some javascript to manipul... read more!

Posted in technology | Post Comment

Adobe Illustrator: Type on Open Paths

This may be elementary to some, but type on open paths is an essential tool for any Adobe Illustrator user. This technique is very simple, but it can be invaluable when creating everything from logos to graphs. Here is is in three easy steps. Start by drawing a line with any of the path tools. Pen (p), pencil (n) or paintbrush (b). It doesn't matter. Next choose the type (t) tool from your tool box. Place the cursor over your open path, click and start typing. There you go your text will confor... read more!

Posted in technology | Post Comment

Locking Envelopes to Events in Sony Vegas

A great feature in the Vegas video editor is the ability to use envelopes which are keyframable wireframes that allow you to adjust volume and panning of a sound clip and speed of a video clip. These are very handy unless you decide to slide your clips along the timeline. Your video and audio may move, but your envelopes stay put. This is very annoying and forces you to re-adust your envelopes every time you want to move things around. Fortunately, Vegas has a built-fix for this, but it's not wh... read more!

Posted in video | Post Comment

String Replace in mysql

Say that you have a database full of blog posts and by chance you have misspelled a word many times throughout your blogging. You may think that you will have to go back and edit each of your blog posts but if you have access to the database you can run a replace on all of them and fix your mistake. String replacements in mysql are pretty simple, the standard syntax being REPLACE([string or column],'thing to replace','thing to substitute') You could run a replace update query on your blog post d... read more!

Posted in technology | Post Comment

Not-so ‘Special’ Effects

I saw the sci-fi thriller Surrogates last night. The story dealt with human-looking robots that would act as proxies in the real world. These "surrogates" (made in any image you choose) are controlled by their human operators hooked up to a computer and connected to a very expansive network. Think about The Sims or Second Life taken to the extreme. It was an interesting concept made dull by a standard thriller plot and little character development. What I did find interesting was a sequence invo... read more!

Posted in video | Post Comment

Turn Text on Its Side Using CSS

I just stumbled onto a neat little trick. I don't know how I haven't seen this before. Apparently you can rotate text using CSS. It is a little hacky, but still cool. With just a couple lines of code you can have you text going every which way. For Firefox: -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); For IE: filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); ... read more!

Posted in technology | Post Comment

Affiliate Marketing

The web continues to provide multiple avenues of opportunity to monetize your website. If you have traffic and target a niche, affiliate marketing could be your best friend. More and more businesses are establishing affiliate programs to sell their products. Publishers in all their variety can partake of these resources if they're smart and sellers can reap the benefits. Affiliate marketing is a program initiated by a seller to network with other websites to drive traffic and/or increase... read more!

Posted in technology, Web Marketing | Post Comment

PHP pdf generation

There are many options to use when generating a pdf, some are quicker to implement than others. There are a few popular libraries that can be used to layout a pdf: fpdf tcpdf R&OS pdf I have used fpdf in the past to generate pdf documents and it works quite well. One thing that can be annoying with pdf generation is having to lay out each components X and Y location. If you want to avoid this you can use an html to pdf tool. I have used dompdf for this purpose. You can use general html lay... read more!

Posted in php | Post Comment

< Prev   01  02   Next >

View All Posts