If you would like to set the maximum width for an image on a webpage, you can use the “max-width” attribute of style(CSS). But this attribute is supported by FireFox and some other browsers but not Internet Explorer (IE). The following code snippet shows you how to achieve the same thing as “max-width” for Internet Explorer using javascript.

ASP.NET

<asp:Image runat=”server” ID=”Image1″  ImageUrl=”test.jpg” style=”max-width:150px;”/>

HTML

<img id=”Image1″ src=”test.jpg” style=”max-width:150px;” />

JavaScript Code

var Img = document.getElementById(‘<%=Image1.ClientID %>’);
//use document.getElementById(‘Image1′); for HTML
if (Img.width > 150) {
Img.style.width = 150;
}

Scate Ignite 4 Home

Scate Ignite 4 Home

Create Web Videos, Photo Albums and Media Presentations for YouTube, Facebook, MySpace, iPod, Blogs & More…

Scate Technologies, Inc. (Scate) has released Scate Ignite 4 Home, a personal version of its popular Scate Ignite 4 social media creation software with publishing options for dozens of social media sites and devices. Scate Ignite 4 Home users can now create HD web videos, HD web cam recordings, narrated photo albums and multi-media presentations for iPod, YouTube, podcasts, Facebook, MySpace, Sony PlayStation Portable (PSP), Blackberry, Treo, Windows Media Player, QuickTime and many more. Scate Ignite 4 Home can even be used to create syndicated podcasts from the kitchen table, den or home office!

Visit: http://techcasa.wordpress.com/2008/10/30/scate-releases-ignite-4-home-edition-web-videos-social-media/ for more details.

Posted by: Praveen | October 28, 2008

Happy Diwali (Deepavali) – The Festival of Lights

Happy Diwali – The Festival of Lights – Slideshow

A colorful festival that is celebrated by all Hindus worldwide is Deepavali(Diwali), which is also known as the festival of lights. This festival usually falls around late October and November. One important practice that the Hindus follow during the festival is to light oil lamps in their homes on Deepavali morning. By lighting the oil lamps, the Hindus are thanking the gods for the happiness, knowledge, peace and wealth that they have received. The Hindus consider Deepavali as one of the most important festivals to celebrate.

Click to watch the slideshow

The Legend: There is even an interesting legend behind this festival. The story goes that Narakasura, a demon, ruled the kingdom of Pradyoshapuram. Under his rule, the villagers suffered a lot of hardship as the demon tortured the people and kidnapped the women to be imprisoned in his palace. Seeing his wickedness, Lord Khrishna set out to destroy the demon and the day Narakasura died was celebrated as Deepavali, the triumph of good over evil!

Preparations: Preparation for Deepavali starts usually at least two to three weeks before the festival. It is known that the Hindus will be busy cleaning their houses to prepare for the festival. Some would even renovate their houses to prepare it for Deepavali. Usually the family will shop for new clothes and for accessories to decorate their homes. Prior to the festival, Indian shops will be selling festive items like Deepavali greeting cards, carpets, Punjabi suits and flowers. The Hindus will frequent these shops when they are shopping for Deepavali.

Celebrations: The Hindus usually awake early in the morning of deepavali around 3am and the first ritual will be having an oil bath, which is an important feature of Deepavali. Hindus will be dressed in their new clothes on Deepavali. Most of the ladies would be clad in silk saris or Punjabi suits of various bright shades. Hindus particularly dislike dressing in black on that day, as they consider black an inauspicious color for the festival. Hindus would also pay their respects to the elderly and most families would go to the temple after having breakfast. This is also an important practice for them. The reason why they would be going to the temples is to pray to get happiness and prosperity on Deepavali. The houses would be decorated with oil lamps and children will play with firecrackers to celebrate the festival. On the first day, they would not go visiting but would stay at home to welcome the guests who visit them.

Food: Visiting Hindus during Deepavali will be an interesting activity, as you will get to taste a wide variety of delicious food. In every home that you visit you are bound to be served with a tempting spread of sweets. Some of the popular sweets are halwa, burfi and laddu. Hindus love eating spicy food and for non-vegetarians they indulge in favorites like chicken tandoori, prawn sambal and fish head curry. In homes of Hindus who are vegetarians popular dishes like thosais, idlis and naans are prepared.

(source: http://www.essortment.com)

Posted by: Praveen | October 23, 2008

7 year old Break Dancer On Ellen – video

7 year old Break Dancer On Ellen – click to watch video

Look out Michael Jackson, Prince and Usher, there’s a new dancer
on the block. Watch this 7 yr. kid rip up the floor with his break
dancing moves on The Ellen Show.

Posted by: Praveen | October 22, 2008

India’s first unmanned moon mission – video

In this photo provided by the Indian Space Research Organization, India's maiden lunar mission Chandrayaan-1, or Moon Craft in ancient Sanskrit, is seen successfully taking off at the Satish Dhawan Space Centre in Sriharikota, Oct. 22, 2008. (AP Photo/Indian Space Research Organization, HO)

Click here to watch the video

India launched its first mission to the moon Wednesday, rocketing a satellite up into the pale dawn sky in a two-year mission to redraw maps of the lunar surface.

Clapping and cheering scientists tracked the ascent on computer screens after they lost sight of Chandrayaan-1 from the Sriharikota space center in southern India. Chandrayaan means “Moon Craft” in ancient Sanskrit.

Indian Space Research Organization chairman G. Madhavan Nair said the mission is to “unravel the mystery of the moon.”

“We have started our journey to the moon and the first leg has gone perfectly well,” he said.

Chief among the mission’s goals is mapping not only the surface of the moon, but what lies beneath. If successful, India will join what’s shaping up as a 21st century space race with Chinese and Japanese crafts already in orbit around the moon.

To date only the U.S., Russia, the European Space Agency, Japan and China have sent missions to the moon.

Click here to watch the video

(from yahoo)

Posted by: Praveen | October 21, 2008

Sample C# code to convert Hexadecimal String to Bytes

The following code snippet can be used to convert Hexadecimal String into a Byte array.


private byte[] HexString2Bytes(string hexString)
{
//check for null
if(hexString == null) return null;
//get length
int len = hexString.Length;
if(len % 2 == 1) return null;
int len_half = len/2;
//create a byte array
byte[] bs = new byte[len_half];
try
{
//convert the hexstring to bytes
for (int i = 0; i != len_half; i++)
{
bs[i] = (byte) Int32.Parse(hexString.Substring(i *2, 2), System.Globalization.NumberStyles.HexNumber);
}
}
catch(Exception ex)
{
MessageBox.Show("Exception : " + ex.Message);
}
//return the byte array
return bs;
}

Click here to view the code for converting Hexadecimal String to ASCII

Posted by: Praveen | October 16, 2008

Scate Ignite 4.3 Launch Event – Pictures

Scate Ignite 4.3 Launch – Open Mansion Event Pictures

Where: Scate Headquarters, 40 Engelwood Dr., Suite B, Orion, MI 48359

When: Wednesday, October 15, 2008 12:00pm to 3:00pm

For more information on Scate Ignite 4.3 visit http://www.scateignite.com

Posted by: Praveen | October 15, 2008

Scate Ignite 4.3 – Easy Social Media Creation Software

New Options for iPod, YouTube, Podcasting, Facebook, MySpace and Dozens More

ORION, Mich.–(BUSINESS WIRE)–Scate Technologies, Inc. (Scate) has officially released a FREE update for its popular Scate Ignite 4 social media creation software with publishing options for dozens of social media sites and devices. Scate Ignite 4.3 users can now transform their multi-media content for iPod, YouTube, podcasts, Facebook, MySpace, Sony PlayStation Portable (PSP), Blackberry, Treo, Windows Media Player, QuickTime and many more.

Scate Ignite 4.3 makes it easier than ever for anyone to transform media content, such as screenshots, movies, PowerPoint slides, images, text and audio into seamless presentations, videos and courses. New single file output options include .FLV, .MP4, .WMV, .AVI and .3GP. Scate Ignite 4.3 continues to provide publish options for websites, email, SCORM 1.2 / 2004 learning management systems (LMS), CD-ROM and print.

Scate’s own free media sharing website (IgniteCAST.com) has also been updated to support podcast syndication, blog posting, message board embedding and desktop sidebars. A small sample of the new IgniteCAST.com sharing options includes iTunes, iTunes Store, iTunes U, iGoogle, WordPress, Blogger, TypePad, Orkut, Friendster, Twitter, Bebo, Tagged, Xanga, Live Spaces, Windows Vista Sidebar, Yahoo Widgets and many others.

“Social networking platforms are fast becoming a standard for sharing knowledge, media and information,” said Scate CTO Jeff Holth. “Our customers want to be able to transform and share their content on almost any platform, site or mobile device that they wish, and Scate Ignite 4.3 delivers exactly that.”

For more information, please visit www.scateignite.com, or email Scate at sales@scateignite.com. Current Ignite 4.x users should click on Tools / Check for Updates in Ignite 4 to obtain the free update or email support@scateignite.com.

Scate and IgniteCAST are registered service marks of Scate® Technologies, Inc. Ignite is a registered trademark of Scate® Technologies, Inc. The Ignite Flame logo, “Ignitables”, “Capture, Enhance, Publish, Share” and “You Know – You Show” are trademarks of Scate® Technologies, Inc. All other trademarks are the property of their respective owners.

Contacts

Scate Technologies
Press Relations, 248-371-0315 Ext. 3
sales@scateignite.com
www.scateignite.com

Permalink: http://www.businesswire.com/news/home/20081015005337/en

Posted by: Praveen | October 6, 2008

Bathukamma Celebrations in Detroit 2008 – Pictures

Bathukamma Festival Celebrations in Detroit:

2008 Bathukamma Celebrations in Detroit, Michigan, USA

2008 Bathukamma Celebrations in Detroit, Michigan, USA

Detroit Telangana Community has organized the Bathukamma Celebrations in Farmington (Detroit, Michigan) on October 4, 2008. A lot of people attended the celebrations. Many women graced this occasion in traditional attire and made it colorful. As part of these celebrations, several cultural activites were organized. The Mayor of Southfield also attended this festival.

Click here to view the pictures.

About Bathukamma:

Batukamma is a festival celebrated by the women of Telangana region in the state of Andhra Pradesh, India. This festival usually is in the months of September/October called as Aswiyuja, concludes two days before Dussera called as Durgashtami.

The name Batukamma is given to a flower stack, arranged with seasonal flowers, usually in seven concentric layers, of potter’s clay like a Cone.

Batuku in Telugu means live/life, and Amma means mother, hence Batukamma celebrates the glory of Gauri goddess (meaning fair or white) – the patron Goddess of womanhood.

In the evenings, women gather different seasonal flowers, dip in colours, some scented and arrange them on a wide plate called as tambalamu, stack them up in a conical mound.

Later they gather in large numbers with their batukammas in their locality, place them in the middle and dance around them, synchronizing steps and claps in unison, and singing soul stirring batukamma folk songs.

Women dancing around their Batukammas after singing and dancing, Batukammalu are set afloat in a lake or a pond nearby.

This festival goes on for seven days and concludes on Durgastami. The main festival day is called Saddula Batukamma. On this day they celebrate into wee hours before leaving their Batukamma in water.

Posted by: Praveen | October 3, 2008

Vice Presidential Debate 2008 – Full Video and Reaction

Click here to watch the Vice Presidential Debate – Video

Below is a round up of reaction to Thursday night’s vice presidential debate:

The Atlantic’s Marc Ambinder called the debate a wash in terms of who won, but that Palin’s performance was pretty uneven:

To practiced ears, Palin memorized and repeated talking points and Biden responded to the questions and argued. Palin dodged questions and seemed vague; but then again, for those whose only impression of Palin has been the one Tina Fay performed on Saturday Night Live, she cleared the bar. Biden seemed a little unsure how tough to be at the beginning of the debate; by the beginning of the final third, he hit his stride. As the debate wound on, Palin seemed less agile when it came to constructing sentences and answers. Lots of key phrases, weird placement of conjunctions, so the gist of what she was saying was there, but it wasn’t terribly clear.

Meanwhile his colleague Andrew Sullivan thought Palin was dominating Biden at the beginning, but that she faded quickly:

Biden’s sobriety and authority and call for fundamental change is both reasonable and solid. It will resonate, I think. As you can read, I began this debate feeling that she was steam-rolling him. She was. But it was a steam-roller coming at you on fumes, not real fuel. She doesn’t have it. Maybe one day she might. But not now. Biden’s peroration was very, very strong. There is no contest here.

CNN’s Bill Schneider was critical of the substance of Palin’s responses:

Palin’s answers do not lack confidence, they lack coherence.
The New Republic’s Michael Crowley thinks Palinmania may have run its course:

Biden was about right–neither too hot nor too cold. His points sometimes digressed more than Palin’s, but what he lacked in crispness he made up for in stature and confidence. And his multiple references to Scranton went over nicely in Pennsylvania, no doubt.
Bottom line: She won’t be off the ticket, but there will be no second round of Palinmania, either. This was a highly entertaining cultural spectacle which probably won’t have much effect on a race that is now clearly Obama’s to lose.

Click here to watch the Vice Presidential Debate – Video

Older Posts »

Categories

Follow

Get every new post delivered to your Inbox.