Cross-browser Absolute Positioning PNGs

With the new Web look spreading through every site new and old, there are a lot of times when you want to use absolutely positioned pngs on your site.

The 2 problems we face. The first one is that the PNG format is not fully supported on all browsers that are in use today. The way we handle that is with a simple include into the main template file of your site.

Here is where you can get the javascript fileĀ click here.

Include this file into the header of your main template file:

<!--[if lt IE 7]>
        <script type="text/javascript"
        src="/resources/unitpngfix/unitpngfix.js"></script>
<![endif]-->

This is a hack to tell the browser to include the”unitpngfix.js” file if the browser is IE 7 or below.

The next problem is that IE positions things differently. We will be using a similar hack to go around this problem. Here is how the code will look.


<!-- Floating image -->

<!--[if lt IE 7]>
  <div style="position:relative; margin-left:-800px; margin-top:0px;">
<![endif]--> 

  <div style="position:relative; margin-left:0px; ">
  <div style="position:absolute; clear:left; left: -50px; top: -59px;
  margin-left:0px;">
  <img src="yourimage.png" width="332"
  height="178" style="clear:left;" />
  </div>
    </div>

<!--[if lt IE 7]>
  </div>
<![endif]-->

All you have to do is add your image path and then change the values in the “left” and “top” to adjust the position of the image. You will have to adjust the values in the “if It IE 7” section while looking at the image in Internet Explorer 6 or 7.

I hope this helps anyone who is having trouble with absolutely placing PNG images for cross browser compatibility.

30 Part Flash CS4 Basics Tutorial

In this Flash CS4 tutorial you will learn the basics of Flash CS4 animation. You will familiarize yourself with the Flash CS4 workspace and learn how to use the various tools in order to create a Flash animation.

Flash has many applications in the web world. Flash can be used for advanced motion graphics and animation. Flash can be seen used for interactive ad banners, portfolio sites and advanced online programs. Learning the basics through these tutorials is a great start to becoming pro.

Flash CS4 Tutorials

  1. Flash CS4 Tutorial
  2. Introduction to flash CS4 authoring environment
  3. Panels and Panel workspace in flash CS4
  4. Drawing in flash CS4
  5. Use of polystar tool in flash CS4
  6. Object drawing Mode in Flash CS4
  7. How the Line tool, Pencil tool, brush tool and pen tool work in in Flash CS4
  8. How to use Ink bottle and paint bucket tool in flash CS4
  9. How to manage layers in Flash CS4
  10. How to make an image big on rollover in flash CS4
  11. Creating Mask in Flash CS4
  12. Moving Ball Animation in Flash CS4
  13. How to create a shape tween in Flash CS4
  14. How to create a motion guide in Flash CS4
  15. Learn how to create a bouncing ball in Flash CS4
  16. Learn how to put multiple classic tween on stage at the same time in Flash CS4
  17. Learn Complex Text Animation in Flash CS4
  18. Learn Create Animations involving Masks in Flash CS4
  19. Learn to create a movie clip that fades as the user moves the cursor away from it in Flash CS4
  20. Learn to create cloud animation in Flash
  21. Learn to import sound in Flash CS4.
  22. Learn 3D Art in Flash CS4.
  23. Learn to create a customizable pop-up window using Flash CS4.
  24. How to create a pop up window in flash CS4 using javascript
  25. How to get an url in a blank window in a flash CS4 action script
  26. How to get an url in a blank window in an xml file
  27. How to put your favorite icon in the browser
  28. How to create a scroll bar in Flash CS4
  29. How to create a basic layout in Flash CS4
  30. How to load pictures in flash CS4 dynamically using the loader component

18 Simple Dreamweaver CS4 Basics Tutorials

In this Dreamweaver CS4 Tutorial you will learn how to create a basic website using Dreamweaver CS4.

You will learn how to Define a site, Create a template, Design your template page, Design your css style sheet, Insert Editable Regions , Create the pages of your site using the template, Link all the pages together, Create a form, Check your site in the browser and, Upload your site and make it live.

Dreamweaver CS4 Tutorials

  1. Dreamweaver CS4 Tutorial
  2. Define a New Site in Dreamweaver CS4
  3. Create a template in Dreamweaver CS4
  4. Design your template in Dreamweaver CS4
  5. Design the CSS Style Sheet in Dreamweaver CS4
  6. Insert Images in Dreamweaver CS4
  7. Creating the Menu in Dreamweaver CS4
  8. Content in Dreamweaver CS4
  9. Insert Editable Regions in the Dreamweaver Template
  10. Dreamweaver CS4 Template Based Web Pages
  11. Formatting Headings in Dreamweaver CS4
  12. Formatting Images in Dreamweaver CS4
  13. Linking pages in Dreamweaver CS4
  14. Forms in Dreamweaver CS4
  15. Dreamweaver CS4 Form Validation Tutorial
  16. Tables in Dreamweaver CS4
  17. Testing the Website in the Browser
  18. Upload your site with Dreamweaver CS4

View all the tutorialsĀ here.

Fireworks CS4 Basics Tutorial

This Adobe Fireworks CS4 Tutorial will help you familiarize yourself with this image editing software and help you create a layout for a website.

This tutorial will take you through the making of a website design using fireworks including how to do a logo design in Fireworks.

View the tutorial here.

Building RIA Web applications Fast and Efficiently

Building Web Applications

Building Rich Internet applications can take a long time for those who do not have whole teams of newly graduated programmers. For those who are trying to put a rich application together with efficiency and in a time frame that is realistic there is a solution.

Adobe FlexThe name of the program is “Flex“. Flex is a flashed based programming environment which uses XML as a main datasource. Once you have mastered Flex, you can build very functional and useful applications that run via the internet. With the advent of Adobe Air, you can also deploy these applications for use on desktops.

I do not consider myself and advanced PHP coder and yet I have built some very complex applications. One application that I built was an online course creation system which enabled someone to build online courses without having to know any coding/html. I built this for a company who delivers online courses on many subjects. They privately use it for course creation.

I have also built whole admin systems to track jobs for a publishing company. All of the applications that I have built were built on a part time basis. This is why I suggest learning Flex.

The main benefit of using Flex is that you spend less time creating the interface and more time writing your custom code. Flex has a very intuitive interface builder and data connection system that takes away a lot of the wasted time used on doing these kinds of things. If you know PHP, then Flex should be easy to start learning. You don’t even need to know Flash at all to build a flex application.

Flex interfaces can be customized using basic CSS and also and Illustrator template for graphical sections of the interface.

I suggest downloading the trial of the Flex Builder and trying it out — I think you will get hooked on it’s simplicity. Get the trial here.

Examples:

Some examples of Flex applications are listed here:

Aviary. All of the applications that Aviary has created were created using Flex.

Volkswagen. This online car locator was created using Flex.

Klok. A personal time tracker for freelancers, built on flex and deployed as a desktop application.

There are many more eaxamples as can be found here.

Keep in mind that a lot of these flex applications are mainly interface and data processing based which is what Flex makes easy to do. I hope to write additional tutorials on using Flex.

Learning Flex

Learning Flex in a Week by Adobe. Learn flex fast using these free comprehensive tutorials by Adobe

Very simple flex tutorial. A simple tutorial with downloadable file for reference.

Tutorialized Flex tutorials. Some basic tutorials, hopefully more to come.

Making a desktop application with flex. Once you have learned the flex basics, see how to turn Flex appliations into Desktop Applications.