Vacheslav S.

87 Followers
8 Blog Followers
Following: 77
Following Blogs: 15

Latest Activity

Zend and "configure db-adapter" command problem

Vacheslav S. posted an article on - Aug 11, 2011, 6:07 am
I use Win7 and Netbeans to work with Zend. When I tryed to configure db adapter for MySQL I got an error. Run command: configure db-adapter "adapter=PDO_MYSQL&host=localhost& username=root&dbname=test&password=555" Error: 'host' is not recognized as an internal or external command, opera...
Comment - Like

How to return a value form Event in C#

Vacheslav S. posted an article on - Jul 15, 2011, 7:00 am
public delegate bool MyEventHandler(object sender /* additional params */); public event MyEventHandler MyEvent;   public void MyMethod() { if (MyEvent != null && MyEvent(this)) { /* TODO: do something */ } }   public void MyBind() { MyEvent += new MyHandler(this); }   pri...
Comment - Like

Absolute elements ignore z-index in IE6 and IE7

Vacheslav S. posted an article on - Apr 13, 2011, 4:19 am
In this article I will show an example of how to fix the IE 6-7 bug when absolute elements ignore z-index CSS property. In the screenshot above you can see the problem. In the sample below you can see how these styles work in your browser: 1 2 HTML: div id="column1">1div id="absoluteDiv">/...
Comment - Like

Setting cellspacing and cellpadding in CSS

Vacheslav S. posted an article on - Apr 1, 2011, 6:07 am
In this article you can find an example of how to set the cellspacing and cellpadding values with help of CSS styles. First let’s declare a table with cellspacing and cellpadding attributes and see how it looks: table cellpadding="3" cellspacing="3" border="1"> tr> td>1/td> t...
Comment - Like

Accessing a dimensional array in JavaScript

Vacheslav S. posted an article on - Mar 31, 2011, 2:26 am
Let’s declare a two dimensional array and try to access the element. Here is the first example: var array =; alert(array[1][1]); // Output: 5 Here is the same sample but with another sytnax: var array = new Array(2); array[0] = new Array(3); array[0][0] = 1; array[0][1] = 2; array[0][2] = 3; ar...
Comment - Like

Apache redirect examples using mod_alias

Vacheslav S. posted an article on - Mar 12, 2011, 3:36 pm
Hi! here I will provide few samples of how to create redirect in Apache web server. You can test this examples locally in your localhost. First example In the first example let’s redirect to Google search when we trying to go to localhost. 1. Go to the root folder of your web server. In my case...
Comment - Like

Observer pattern example in C#

Vacheslav S. posted an article on - Mar 10, 2011, 4:25 pm
This article has a simple sample of using Observer pattern. The description of this pattern you can read in other resources or you can understand the basis of the pattern exploring this example. Also, you can download an example in C#. This pattern is also known as Dependents pattern or Publish-Subs...
Comment - Like

Apache doesn't start in XAMPP

Vacheslav S. posted an article on - Feb 23, 2011, 3:41 pm
I’ve already had this problem a lot of times. Apache does not start in XAMPP. I’ve had this problem in my computers and computers of my friends. As I know based on my practice, the key of this problem is in ports. Because ports that Apache uses are busy it cannot start. By default, Apache liste...
Comment - Like

How to change the font in MySQL Workbench editor

Vacheslav S. posted an article on - Feb 20, 2011, 3:40 pm
Today I downloaded MySQL Workbench 5.2.31 CE. I usually work with different languages and I found that SQL Editor didn’t show russian letters correctly. I went to the Preferences but there I found that I can’t change the font. In the Preferences you can only see what the font is used but you can...
Comment - Like

Code Assist for JQuery

Vacheslav S. posted an article on - Feb 18, 2011, 3:56 pm
Hi! I use Aptana to edit JavaScript, HTML, CSS etc. In this article, I will explain how to enable Code Assist for JQuery in Aptana. It’s very comfortable to edit JavaScript using this great editor and it’s became more comfortable with JQuery autocomplete! Just test it and you will understand D...
Comment - Like

Split string but keep separator in C#

Vacheslav S. posted an article on - Feb 18, 2011, 10:37 am
Today I tried to split the string but preserve split characters. I didn’t find native methods for this need. If somebody know how to do it please write the comment. Here is my code: var separator = '@'; var result = new Dictionaryint, string>(); var key = 0; for (var i = 0; i testString.Length;...
Comment - Like

Making content unselectable with help of CSS

Vacheslav S. posted an article on - Jan 29, 2011, 4:53 am
Sometimes, I need to make unselectable the content of a html page for some time while some operations are performed, for example, drag and drop. Unfortunally, not all the browsers support the styles to make the content unselectable. For these browsers, you might create a layer (DIV) to disable selec...
Comment - Like

IE7 ignores margin-top following an element with absolute position

Vacheslav S. posted an article on - Dec 24, 2010, 6:33 am
Hi everybody! Today I will share some workaround depending with margin-top bug in IE 7. I’ve just created a container DIV that has two child elements. The first child element has an absolute position and the second one has a relative position. Also, the second child element has top margin but this...
Comment - Like

How to execute additional SQL in After Execute family events in CCS

Vacheslav S. posted an article on - Oct 23, 2010, 4:38 pm
Hi! This article is about how to execute some addtitional SQL after the primary SQL in the CodeCharge Studio’s Record has been executed. Very often I have to perform some additional manipulations with the database after the Record submission. In this article I want to share the approach I use to ...
Comment - Like

Hiding Link by condition in CCS

Vacheslav S. posted an article on - Oct 23, 2010, 9:20 am
Once my friend asked me about how to hide the Link in CodeCharge Studio by the condition. For example, suppose that we want to hide the Link if the one particular parameter exists in the GET request. I tryed to show it quickly to him but I wasn’t able. I added Hide-Show Component action to the Bef...
Comment - Like

UTF-8 problem in CCS monolingual project

Vacheslav S. posted an article on - Oct 16, 2010, 5:49 am
Hi everybody! I’ve just run into an obstacle related with UTF-8 encoding in CodeCharge Studio. I have a one language project. The project is in russian. I want to use UTF-8 for my project but the project isn’t internationalized. So, I removed the english language and added a russian. Also, I tur...
Comment - Like

Changing HTML standards of an existing CodeCharge Studio project

Vacheslav S. posted an article on - Oct 1, 2010, 4:47 am
I’ve just tryed to change the template type of an exiting project in CodeCharge Studio. To my surprise, there isn’t an option in CCS to change the project template or Section508 compatibility. When you create a new project in CodeCharge Studio, it allows to create a project that is compatible w...
Comment - Like

"Unable to create directory…" error in WordPress

Vacheslav S. posted an article on - Sep 28, 2010, 4:11 am
I moved my WordPress site to another host. After the moving, I had an error: Unable to create directory /hsphere/local/home/infous/starikovs.com/wp-content/uploads/2010/09. Is its parent directory writable by the server? The first idea I had was about folders or files permissions. I changed the pe...
Comment - Like

wp-login redirects to wp-login in WordPress

Vacheslav S. posted an article on - Sep 22, 2010, 11:33 am
Today, I had a terrible problem with WordPress. When I tryed to log in, wp-login.php always redirected to wp-login.php and it was looked like a loop. I read a lot of forums and articles and nothing helped. In my case, the problem was in plugins. For the test value, I started to remove plugins one b...
Comment - Like

ContentEditable outline style in WebKit

Vacheslav S. posted an article on - Sep 18, 2010, 6:32 am
As you know, when you make an editable node by setting an appropriate attribute, WebKit selects an editable area using outline. This outline is a border that surrounds the editable content. The editable area is selected only when you set focus on it, in other words, when contentEditable attribute ha...
Comment - Like

Simple ajax editing in CodeCharge Studio

Vacheslav S. posted an article on - Aug 28, 2010, 3:54 am
How to implement an Ajax editing in CodeCharge Studio like in the picture above? Is it easy or not? Yes, it’s easy! It takes a half an hour at the maximum. In this article, I will provide step by step instructions. Also, you can download an example here. The main idea of this example is the ajax...
Comment - Like

Using CSS3 rounded corners in practice

Vacheslav S. posted an article on - Aug 24, 2010, 4:44 am
div.css3-rounded-corners { width: 100px; height: 50px; border: 2px solid #000; background-color: #fff; } #border-radius { border-color: red; border-radius: 20px; /* CSS3 declaration */ -webkit-border-radius: 20px; /* declaration for WebKit browsers like: Safari, Chrome */ -moz-bor...
Comment - Like

Converting String to Single in C#

Vacheslav S. posted an article on - Mar 16, 2010, 1:09 pm
Some time ago, I needed to get Flash Movie sizes inside of my C# code. I googled and I found some great examples of how I can do it. It was Mike Swanson’s example project called FlashTools. I downloaded it and stated to use. While I was using this code I found a little bug that was occured dependi...
Comment - Like

Compatibility Mode doesn't work in Internet Explorer 8.. Why?

Vacheslav S. posted an article on - Mar 12, 2010, 9:26 am
Today I had a problem with IE8. Compatibility Mode for IE7 didn’t work when I was working with the Artisteer generated theme that I was improving by hands. The tag order does matter but I have never thought it would. Note: The meta tag should be placed in the head section before any script or...
Comment - Like

How to test for an empty javascript object

Vacheslav S. posted an article on - Mar 10, 2010, 3:43 am
Hi everybody! I’ve just had a discussion of how to test for an emtpy javascript object. As a result, I have several code snippets and I want to share them with You. Problem alert({}==null); // false alert({}=={}); // false alert({}=={}); // false alert({}==0); // false alert({}==""); // fals...
Comment - Like
Vacheslav S. is following hani trak

Centering horizontal CSS menu

Vacheslav S. posted an article on - Dec 4, 2009, 12:00 pm
It’s a real headache to center a fluid block element horizontally with help of CSS. Some time ago I figured out how to center CodeCharge Studio’s CSS Menu because it doesn’t provide this functionality. In general, any block element without the fixed width can be centered with help ...
Comment - Like

Setting HTML for WebBrowser in C#

Vacheslav S. posted an article on - Nov 25, 2009, 11:39 am
Today I tryed to insert HTML for WebBorwser in C#. I thought it’s a simple task. But when I tryed to use DocumentText property I got “”. Then I tryed Document.Write("...") and I got that Document is null. After these tries I started to find out the easiest way to fill the WebBrowse...
Comment - Like

Creating dialog in CodeCharge Studio

Vacheslav S. posted an article on - Nov 21, 2009, 9:33 am
This article provides CodeCharge Studio developers with a truly easy way to create a custom IDE dialog for different purposes. Here You will learn how to extend CodeCharge Studio with Your own dialog. I am going to explain how to create a custom dialog through an example. We will create together a d...
Comment - Like
Vacheslav S. is following
Vacheslav S. is following sindhu sati
Vacheslav S. is following Christine O.
Vacheslav S. is following sam zac

Inline YUI AutoComplete layout

Vacheslav S. posted an article on - Nov 4, 2009, 6:28 am
Recently, i had a problem with YUI AutoComplete layout. I wanted it being inline, fixed width and working with different browsers like IE6/7/8, Opera, FF etc. There were some problems that i solved primarily in CSS. More precisely, i needed an inline YUI AutoComplete layout in such a way that i can ...
Comment - Like
Vacheslav S. is following Nikki Leigh
Vacheslav S. is following the blog TechCrunch
Vacheslav S. is following Harvey R.

About Me

I am a web-developer and web-designer. And i would like to communicate with other web-developers, web-designers, and people who love doing nice blogs.

My blog:

http://starikovs.com

I have recently started it. It's devoted to web-development, web-design, blogs, blogs themes. I am going to publish there some articles about today's web like themes for blogs, and others about web development.

Vacheslav S.'s Blogs:

Vacheslav S.'s Followers

Vacheslav S. is Following

Invite Your Friends

Invite your contacts to blogged from:
gmail yahoo