Archive for August, 2007

Yahoo Messenger Multiple Login Software

24.08.2007 | Author:Black iD Team

This application will allow you to run multiple instances of Yahoo Messenger on your pc! Perfect for those who have several different yahoo id’s and would like to be logged in to them at once. Please note that the Y!Multi Messenger versions coincide with the Yahoo Messenger versions and are build specific. Meaning you must be using the same version of each to work properly.

This is intended for the newest build of messenger and may not work properly on lower builds.

Just run the install and then start using the Y!Multi Messenger icon that will appear on your desktop instead of the regular Yahoo! Messenger icon.

How to use it:

Just double click the desktop icon to load up X amount of Yahoo! Messengers, thats it!
Note - you may have to uncheck the “Automatically Sign In” option on the login screens though or you will start getting the “You have been logged out as you were logged in on a different machine” message.

You can run the registry editing script to do this for you if you are not sure what to uncheck, go ahead…open it in an editor first if you want, its 100% safe and will not mess anything up.

Requirements: Newest version of Yahoo! Messenger installed.

- Download Y! Multi Messenger 8.0.0.508

Flash Control Click Activation Issue In IE(6 and 7)

21.08.2007 | Author:Black iD Team

One more IE gimmick on the list. The other day, I had a client who complained that in his flash movies, using the silliest browser in the world (not his words), people had to click the flash movie to activate the control. I had earlier found a method to solve this in IE 6. It was printing the flash movie code using javascript’s document.write() method. A small example is given below


<script language = 'javascript'>
document.write('<div><object width="120" height="50">');
document.write('<param name="movie" value="movie.swf">');
document.write('<embed src="movie.swf" width="120" height="50">');
document.write('</embed>');
document.write('</object></div>');
</script>

Ofcourse, this is a very basic example of what you should do. But nevertheless it is useful. Now, when we use the code it still shows an issue with it in IE7. This called for some more surfing on the internet. But finally I found a solution that gave the result that was required.

After the above code is added you can add the following code to get the IE7 activation issue solved


/* IE 7 JAVASCRIPT FIX FOR Flash control activation
SCRIPT BY JYOT VAKHARIA
jyot@blackidsolutions.com
http://www.blackidsolutions.com
*/
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++)
{
theObjects[i].outerHTML = theObjects[i].outerHTML;
}
theObjects = document.getElementsByTagName(”embed”);
for (var i = 0; i < theObjects.length; i++)
{
theObjects[i].outerHTML = theObjects[i].outerHTML;
}

Hope this will be helping you in your development. You can download the file below.

IE7 Flash click activation Script

CSS Dotted lines

18.08.2007 | Author:Black iD Team

Here comes one more of the irritating IE issues. The dotted line shown as dashed. This was one more bug that came up when I was making a beautiful site. It kept on ruining my design. Moreover, when you scroll in IE, the dotted(Dashed) line suddenly appears solid in some portions. Its really poor for a big giant like Microsoft to have developed such a rubbish software. But it has, and we have to live with it. Especially we developers. Since still a large audience on the web is unaware of the serious issues with Internet Explorer, we are left with no choices but to hack our way through to achieve perfect sites.

Here is my way of attaining pure CSS driven dotted borders.

First of all, I created an 2px x 1px image dot.jpg

The Dot Image(Magnified) The Dot Image(original - right-click to save)

<html>
<head>
<title>Dotted Border</title>
<style>
#one_with_dotted_bottom_border
{
border_bottom: dotted 1px #545454;
}
*html #one_with_dotted_bottom_border { border: none; background:url(dot.jpg) repeat-x bottom; padding-bottom: 1px;}
</style>
<body>
<div id="one_with_dotted_bottom_border">This has dotted Bottom Border</div>
</body>
</html>

But this had another problem with it… The W3C standards. According to it, usage of star-html hack for IE is invalid CSS code. So I developed another route to it…

<html>
<head>
<title>Dotted Border</title>
<style>
#one_with_dotted_bottom_border
{
border_bottom: dotted 1px #545454;
}
</style>
<script language='javascript'>
window.onload = function() {
document.write('<style>*html #one_with_dotted_bottom_border { border: none; background:url(dot.jpg) repeat-x bottom; padding-bottom: 1px;}</style>');
}
</script>
<body>
<div id="one_with_dotted_bottom_border">This has dotted Bottom Border</div>
</body>
</html>

This gave me a perfectly validated CSS code which I could use. Hope this helps you too.

Thanks And All the best

Javascript - An Alternate Way To Validation

9.08.2007 | Author:Black iD Team

Hello friends,

To make this site, I had been struggling a lot to make the site CSS and XHTML valid. Due to the transparency issues with the CSS, it never allowed me to pass the CSS validation. I struggled a lot. Everything done but the damn document never validate. As the title suggests, I found my way in an alternate way of getting my document validated. I am currently working on a few examples. Will show you some examples of the same as soon as I get it on…

Finally able to make good shadow effects…

4.08.2007 | Author:Black iD Team

Check this post out… finally I was able to crack the transparent png images as background issue…

This Post

Thanks

Transparent Images in IE… A Solution!!

4.08.2007 | Author:Black iD Team

Hell friends,

Here is finally the solution for the transparent images in the background issue. The issue can be solved using IE’s AlplaImageLoader filter. The very basic code for the thing is shown below

<style type="text/css">
<!--
#transparent_div {
width:600px;
height:400px;
background-image: url(images/transparent_png.png);
background-repeat: repeat-y;
}
*html #transparent_div { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src=images/transparent_png.png,sizingMethod='scale'); }
</style>
<div id="transprent_div">TRANSPARENT BACKGROUND LAYER</div>

What can you find here?

2.08.2007 | Author:Black iD Team

Hello again,

I have started off this new section for you so that I can give you whatever I have and whatever I have made. I have been programming PHP for more than an year now. I must say that my style of coding has changed a lot. I used to be a procedural programmer earlier as I had begun my career from a VB 6 background. But when I entered the web world, I came in contact with the PHP language (know how). Then with a few sore comments from my clients, I came down to the world of hard core professional PHP programming. The world had no place for procedural programmers. So I had to adapt myself to OOPHP. I am glad I did that. Some bad experiences are worth having. Since then I have struggled hard to reach a real “professional programmer’s” level. Though I am quite far off the destination, atleast I know now that I am on the right track.

Now with more and more exposure to the web world, I came across my second tool, MySQL. I have written a class in PHP to handle databases for mysql. Using this class, what I believe, should ease off much of development time. In brief you should be having such a code in the class.


$db = new HTMLdb;
$db->connect('dbhost','username','password','dbname');
$db->table_array_from_tablename('tablename');
/* returns a keyed array of the entire table structure. something like this
Array(0=>Array('fld1'=>'fld1_row1','fld2'=>'fld2_row1'),
1=>Array('fld1'=>'fld1_row2','fld2'=>'fld2_row2')...)
*/

some other methods include

  • table_array_from_sql
  • flat_field_array_from_sql
  • associative_field_array
  • generateHTMLForm
  • generateHTMLUpdateForm
  • Insert
  • Update

And many more. I will be releasing the first version of this database class soon. Note that this class is currently useful for only MySQL database system. We will be working on the other database systems soon.

Black iD News

2.08.2007 | Author:Black iD Team

This section is dedicated to the new developments that we will be bringing in. We are dedicated to provide you with the best quality of work we can come up with. Hope we are good enough for you all.

Thanks

Black iD

Why CSS??

1.08.2007 | Author:Black iD Team

When in my initial stages of development, this was a question that usually used to bug me. You know, seperately declare styles for each type of text you wanted. Then i was really new to the web world. Just that you could repeat a formatting, wasnt too convincing a thought for me to start using CSS. But finally one day, I had a project that required me to write entirely CSS driven sites. That was the time when I actually realised the power of CSS. CSS at the least is able to do the following things for you.

  • Keeps presentation totally away from the content, making it easier and thus more lucrative for the search engines to read your pages’ content. Thus increasing your search engine visibility.
  • By following the above point, it rejuventes the actual meaning of the web i.e. a place to share information.
  • Gives more flexibility and control in the specification of presentational characteristics
  • Reduces complexity and repetition in the structural content thus facilitating querying and document transformation options as well as being more readable in code form.
  • Allows the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices, thereby enhancing accessibility, since content pages can specify the type of each attached stylesheet.
  • Allows reuse of stylesheets (by the author or by others) and reuse by others of document content (e.g., for others who wish to use the content at their own website but with their own styles, etc.)
  • It increases download speed, especially when multiple pages reference the same stylesheet, since browsers will often cache stylesheets after the first visit.

This gave me quite a reason to use CSS. With time going by, I came across the actual powers of the CSS, and now, I can proudly say, I use CSS, and make the most of it.