Wednesday, May 13, 2009

solution: Css menu hide behind Flash movie


Sometimes pages have objects such as select boxes, flash objects, iframes, applets, etc. These objects always have a higher z-order, so DHTML objects (e.g. submenus) are shown under them.

Flash Layer Overlap Menu can drop down submenus over all the objects of the page. If for some reasons a submenu can't drop down over an object the latter will be hidden for a time when the submenu is shown.

To enable checking of intersection with selects, iframes, movies, set the following menu parameter:

var dmObjectsCheck = 1;

Fix for flash in Firefox!
If you don't want the flash to hide under submenus in Firefox you should do the following things:

1) You should use engine files v2.4 or higher.
2) See, how you should install flash on your pages.





You should add "opaque" parameter for and tags.

3) Set
var dmObjectsCheck=1;

4) Add the following function in the beginning of your data file

function dm_ext_ruleObjectHide()
{
return false;
}


If for some reasons a submenu doesn't overlap flash on Safari correctly you can hide your flash object for a time when the submenu is shown. To do it you should write this function in the following way:

function dm_ext_ruleObjectHide()

{
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
else
return false;


Sunday, May 10, 2009

Facebook now at Windows Mobile


Back in March, Microsoft promised the world, and especially Windows Mobile 6 owners, a native Facebook application for Windows Mobile phones. On Thursday, Redmond delivered. OK, so Facebook for Windows Mobile 6 was forecast for April instead of May, but we're willing to overlook its tardiness because the app not only works quite well, but it also adds some unique and useful functionality tailored to this platform.

It's striking that Facebook on Windows Mobile is recognizable, but doesn't look like the spitting image of the site, unlike Facebook on BlackBerry, Palm, and iPhone, which retain the site's very strong look and feel. That said, it matters little. The core features are there--the news feed, status, and photo updates, notifications, and friend requests. Also your personal wall, info, and photos, your friends list, and so on.

It's noteworthy that the phone's form factor may affect how you navigate. On the tall, thin Samsung Omnia, flipping the screen horizontally showed the full width of the app, but not the depth. The vertical view condenses the navigation icons up top, but truncates the secondary navigation bar just below, so you'll need to scroll to the right to see the photo tab, for instance.

Here's one example that it's not Facebook as usual on these phones. Instead of following a link to update your status within the app window, you either press a soft key (from your profile page) or a menu item (from the Status Updates screen) to tell your circle what you're up to.

Facebook for Windows Mobile also includes a few mobile-only features that make use of the operating system's characteristics. As with Facebook on other mobile platforms, you're able to upload a photo from your album, or take a new one. You'll be able to do the same for video, assuming your phone has that capability. In addition, the app uses the Windows Mobile menu metaphor that pops up activities when you tap your finger or stylus to the touch screen. For instance, tapping a friend's status message produces a list of three options: view their profile, write on the wall, or leave a comment.

The best and most original new feature is the phone book, which neatly gathers the names and numbers of buddies who have populated their profiles with their digits. With this list, you can call, text, or send a message to their Facebook in-box. (Note: Texting didn't work with my Omnia during testing, but did work with a Windows Mobile 6 Palm Treo Pro.)

Somewhat similar address book tie-ins have been very recently implemented on Facebook for BlackBerry, but the goal was more to port Facebook photos to the address book and give users a quick way to start writing to a Facebook contact, rather than to give social networkers quick access to a secondary address book. I, for one, hadn't realized I had so many of my contacts' phone numbers at my fingertips. Now if only Microsoft or RIM could mash up their ideas to create a new record in the native address book for these Facebook contacts, and pull in their photos in the process.

A secret address book awaits. Call, text, or send a Facebook message.
Once again, it's interesting to note Facebook's strategy of collaborating with developers from Microsoft, as they have done with those at RIM, Palm, and others, to let the platform-providers roll out these apps themselves on the BlackBerry, Windows Mobile, and Palm. It makes sense--Facebook's team is relatively small, but demand for Facebook is globally high. Rather than wrestle with programming for separate platforms, Facebook can get Palm's engineering corps to work with Facebook, using APIs or other tools in the development arsenal.

As a result, these multiple versions of Facebook vary in their ancillary feature sets, but keep the marrow of the app the same--feeds, photos, and so on. The design of Microsoft's Facebook app isn't nearly as crisp or beguiling as is the iPhone's, for example, and it could use some work making tasks like searching for names from within the phone book much smoother. However, Microsoft rose to the occasion with the substance of this app, and the effort shows.

Photoshop:- Balance Lighting in Night Scenes




The human eye often plays tricks under different kinds of lighting. Although it looked 'gray' and cool, Trees like the daylight lighting, but obviously digital cameras don't.

But let's see if we can bring this photo back to the way I saw it by using some of Photoshop's tricks. One thing I can do very little about, and that's the grain of the photo. This Olympus automatically raises the ISO / ASA number in darker shots to make the camera more sensitive to subtle light and to shorten the exposure time. It was probably not a good idea. This looks like Ecktachrome film pushed to about 1200 ASA. Lots of grain I can do nothing about.



The shot is obviously dark. Perhaps it was this dark, but for the sake of the photo I'll want to lighten it up. For this I add a Levels Adjustment Layer. (Open the Levels dialog now.)

I moved the White point slider (far right) to the left just slightly. This brightens the overall image. In order to bring out more detail in the shadow areas, and raise the mid-tones, I'll also move the "Mid-Tones" slider (middle) very slightly to the left. Now, the shot seems more realistic and balanced light wise.

But the color is tragically off. The lights have made it way too yellow. Those sidewalks were gray, event hough bathed in yellowish light. Whites and lighter colors were decidedly blue or blue-gray. You might be tempted to use a color adjustment layer, or start futzing with curves. But this night scene was affected by two overall forces: first it was dark. Secondly, the entire scene was covered in artificial light attempting to simulate daylight. So rather than taking a long, tedious ordeal of adjusting specific color ranges, I felt an overall cooling effect was needed.



I first tried a Photo Filter layer. But the "cool" settings did little to overcome the extreme color shift. I would need something stronger, so I selected Layer > New Fill Layer > Solid Color. As above, you can see I selected a darker, ultramarine blue. But also note I set the Layer Blending mode to "HUE" and then moved the Opacity slider until the scene looked right. (Around 35%.)

Remember -- keep it simple! I saved a lot of time playing with color balances by recognizing the nature of the shot -- and what overall forces were causing the problems.

Saturday, May 9, 2009

Online Publishers got another way to make money


Newspaper and content providers on the Internet are getting increasingly antsy about how to make money. Kachingle announced its solution in February, and it has gained so much interest, the founders say, that the launch is being delayed while the team builds out the service so it can support what they think will be a popular offering.

Here's the basic idea of Kachingle: Users contribute a small amount, currently $5.00 per month, voluntarily. On registration, they indicate which content sites they like and want to support. At the end of the month, their monthly fee is distributed to their sites, based on how much time they spent on each site.

Founder Cynthia Typaldos created the idea five years ago, but says it was too early. "Content providers weren't desperate enough," she says. They are now, but Kachingle isn't yet ready. It should launch in July. At the moment, some parts of the original product don't scale, Typaldos says.

Kachingle has had over 250 unsolicited inquires to use its service, of which 75 percent are from the U.S. and Canada, and 25 percent from the rest of the world, according to Typaldos. So far 80 percent of the queries are from bloggers and 20 percent from other content sites like newspapers, some of which have multiple sites and millions of users.

Friday, May 8, 2009

Some useful Css Hacks for webdesign


1. Browser-Specific Selectors

These selectors are very useful when you want to change a style in one browser but not the others.

IE 6 and below
* html {}

IE 7 and below
*:first-child+html {} * html {}

IE 7 only
*:first-child+html {}

IE 7 and modern browsers only
html>body {}

Modern browsers only (not IE 7)

html>/**/body {}

Recent Opera versions 9 and below

html:first-child {}
Safari
html[xmlns*=""] body:last-child {}

To use these selectors, place the code in front of the style. E.g.:

#content-box {
width: 300px;
height: 150px;
}

* html #content-box {
width: 250px;
} /* overrides the above style and changes the width to 250px in IE 6 and below */

2. Transparent PNG’s in IE6

An IE6 bug which causes a great deal of hassle is that it doesn’t support transparent PNG images.
You will need to use a filter which overrides the CSS.

* html #image-style {
background-image: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="filename.png", sizingMethod="scale");
}

3. Removing Dotted Links

Firefox produces a dotted outline that appears around links when you click on them.

This is simple to stop. Just add outline:none to the a tag

a {
outline: none;
}

4. Applying a width to inline elements

If you apply a width to an inline element it will only work inIE6. This is actually a fault of IE6 - inline elements shouldn't need to have a width assigned to them. However it is often useful for example if you wanted all labels in a form to be the same width.
All HTML elements are either a block or an inline element. Inline elements include span, a, strong and em. Block elements include div, p, h1, form and li.
You can’t change the width of an inline element. A way around this is to change the element from inline to block.

span {
width: 150px;
display: block
}

Applying display: block will turn the span into a block element, allowing you to change the width. One thing to note however is that block elements will always start on a new line, so you might have to use floats as well.

5. Centering a fixed width website

To centre your website within the browser, add relative positioning to the outer div, then set the margin to auto.

#wrapper {
margin: auto;
position: relative;
}

6. Image Replacement Technique
It is always best to use text rather than an image for headings. On the odd occasion when you must have an image it is best to use a background image with hidden text within a div. This is extremely useful for screen readers and SEO as it is still using regular text, with all the benefits associated with this.

HTML:
h1 Main heading one /h1


CSS:

h1 {
background: url(heading-image.gif) no-repeat;
}

h1 span {
position:absolute;{
text-indent: -5000px;{
}

As you can see we are using regular HTML code for the h1 tag and using CSS to replace the text with an image. Text-indent pushes the text 5000px’s to the left, making it invisible to the user.
Try turning off your CSS style on your website and see how the heading looks.

7. Min-width

Another bug in IE is that it doesn’t support min-width. Min-width is extremely useful, especially for flexible templates that have a width of 100%, as it tells the browser to stop contracting. For all browsers apart from IE6 all you need ismin-width:Xpx;. e.g.:

.container {
min-width:300px;
}

Getting this to work in IE6 takes some extra effort! To start you will need to create 2 divs, one embedded in the other.


Then you will need the min-width which goes on the outer div.

.container {
min-width:300px;
}

Now this is where the IE hack comes into play. You will need to include the following code.

* html .container {
border-right: 300px solid #FFF;
}

* html .holder {
display: inline-block;
position: relative;
margin-right: -300px;
}

As the browser window is resized the outer div width reduces to suit until it shrinks to the border width, at which point it will not shrink any further. The holder div follows suit and also stops shrinking. The outer div border width becomes the minimum width of the inner div.

8. Hide Horizontal Scrolling

To remove the horizontal scrolling bar, insert overflow-x: hidden; into the body

body {
overflow-x: hidden;
}

This is useful if you decide to have an image or flash file which has a larger width than the browser.

Thursday, May 7, 2009

Never go to HR for salary Increase:- HR(High Risk)


Read and realize

After 10 years of selfless service, a man realized that he has not been promoted, no transfer, no salary increase no recommendation and that the Company is not doing any thing about it. So he decided to walk up to his HR Manager one morning and after exchanging greetings, he told his HR Manager his observation. The boss looked at him, laughed and asked him to sit down saying;

Myfriend, you have not worked here for even one day.
The man was surprised to hear this, but the manager went on to explain.

Manager:-
How many days are there in a year?
Man:- 365 days and some times 366

Manager:- how many hours make up a day?
Man:- 24 hours

Manager:- How long do you work in a day?
Man:- 8am to 4pm. i.e. 8 hours a day.
Manager:- S! o, what fraction of the day do you work in hours?
Man:- (He did some arithmetic and said 8/24 hours i.e. 1/3(one third)

Manager:- That is nice of you! What is one-third of 366 days?
Man:- 122 (1/3x366 = 122 in days)

Manager:- Do you come to work on weekends?
Man:- No sir

Manager:- How many days are there in a year that are weekends?
Man:- 52 Saturdays and 52 Sundays equals to 104 days

Manager:- Thanks for that. If you remove 104 days from 122 days, how many days do you now have?
Man:- 18 days.

Manager:- OK! I do give you 2 weeks sick leave every year. Now remove that14 days from the 18 days left. How many days do you have remaining?
Man:- 4 days

Manager:- Do you work on New Year day?
Man:- No sir!

Manager! :- Do you come to work on workers day?
Man:- No sir!

Manager:- So how many days are left?
Man:- 2 days sir!

Manager:- Do you come to work on the (National holiday )?
Man:- No sir!

Manager:- So how many days are left?
Man:- 1 day sir!

Manager:- Do you work on Christmas day?
Man:- No sir!

Manager:- So how many days are left?
Man:- None sir!

Manager:- So, what are you claiming?
Man:- I have understood, Sir. I did not realise that
I was stealing Company money all these days.

Moral - NEVER GO TO HR FOR HELP!!!

HR=HIGH RISK

You won't boost your salary with these 5 IT skills

0 comments

Technical skills may never die, but areas of expertise wane in importance as technology advances, forcing companies to evolve and IT staff to forsake yesterday's crafts in favour of tomorrow's must-have talents.

"There is less need for system-side knowledge. In the past, IT folks had to understand a lot about memory, drivers and address locations, and what used which interrupt, but nowadays that stuff is plug-and-chug even on many Unix systems," says Brian Jones, manager of network engineering at Virginia Polytechnic Institute and State University's Tech Communications Network Services unit. "I feel like all the skills I have picked up along the way are valuable and help shape my thinking and troubleshooting abilities. I don't know how to value or devalue these skills; it's like they have taken on new value now."

Industry watchers would be hard pressed to name specific IT skills as entirely dead or completely useless, but some skills are well on their way to being considered a thing of the past -- as reflected by the declining pay associated with them. As hot skills like virtualisation rise to the top of company must-have lists, high-tech talents in certain operating systems and specific vendor products fall to the bottom. Here are five high-tech skills that don't demand the pay they once did.

Plain old HTML

As companies embrace Web 2.0 technologies such AJAX, demand for skills in HTML programming are taking a back seat. According to Foote Partners, pay for skills in technologies such as Ajax and XML increased by 12.5 percent in the last six months of 2008, while IT managers say they don't see a demand for technology predecessors such as HTML. "I'm not seeing requirements for general Web 1.0 skills -- HTML programming skills," says Debbie Joy, a lead solution architect for CSC.

Legacy programming languages

Skills in programming languages such as Cobol, Fortran, PowerBuilder and more don't rate like they once did.

"Certainly the Cobol people that had a resurgence with the Y2K bug aren't in demand," says John Estes, vice president of strategic alliances of Robert Half Technology, an IT staffing consultancy. "Certain other applications such as Delphi and PowerBuilder, [which were] very big in the '90s, are no longer in demand."

IT work-force and compensation research conducted by Foote Partners revealed that Cobol, PowerBuilder and Jini noncertified skills were among the lowest-paying skills in the second half of 2008. David Foote, CEO and chief research officer at Foote Partners, says the research shows not that such skills aren't in use today but that companies aren't willing to pay for them. "There is still a lot of C and Cobol around, though these skills are worth very little paywise," Foote says.

NetWare

Operating system know-how continues to be in top demand among hiring managers, but expertise in Novell's network operating system NetWare isn't keeping up with other technologies in the same area. "Networking software such as NetWare isn't near what it was in the '90s," Estes says. And Foote adds, "Windows Server and Linux skills have replaced, or are replacing, NetWare skills" in terms of demand.

Non-IP network

IP and Internet skills usurped non-IP network expertise and know-how in technologies such as IBM's System Network Architecture (SNA) continue to rank among the lowest-paying skills. "For networking, IP skills have replaced SNA skills," Foote says. According to Foote Partners' research, SNA skills accounted for just 2 percent of base pay in the fourth quarter of 2007, while security skills made up 17 percent of base pay.

"Mainframe computing skills, including network components such as SNA, are no longer required in a server-based IP networking environment," says Martin Webb, manager of data network operations at the Ministry of Labour and Citizens' Services in British Columbia.

PC tech support

The US Computer Technology Trade Association (CompTIA) reports that hardware skills and knowledge, including expertise with printers and PCs, are on the decline in terms of demand. CompTIA surveyed 3,578 IT hiring managers to learn which skills would grow in importance over time and the industry organisation found: "The skill area expected to decline the most in importance is hardware."

Foote Partners research separately showed an 11.1 percent decline in pay over the last six months of 2007 for ITIL skills, which are often put in place to streamline IT service management and help desk efforts.

"The 'move, add and changes' PC tech function isn't quite what is used to be," Robert Half Technology's Estes says.

 

Webdoor. Copyright 2009 All Rights Reserved Revolution Two Church theme by Brian Gardner Blog Skins