Search

Rss Posts

Rss Comments

Login

 

Posts in ‘Web Development’

How to make onclick for show or hide div?

Dec 01

it is easy! to show div in javascript

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<style>
#hide_show{
display:none
}
</style>
<script language="javascript">
function hidediv(div) {
 
  if (document.getElementById)
     document.poppedLayer = eval('document.getElementById(div)');
  else if (document.all)
     document.poppedLayer = eval('document.all[div]');
  else
     document.poppedLayer = eval('document.layers[div]');
  document.poppedLayer.style.display = "none";
}
 
function showdiv(div) {
  if (document.getElementById)
     document.poppedLayer = eval('document.getElementById(div)');
  else if (document.all)
     document.poppedLayer = eval('document.all[div]');
  else
     document.poppedLayer = eval('document.layers[div]');
  document.poppedLayer.style.display = "block";
}
</script>
<a href="#" onclick="showdiv('hide_show')">show</a> 
<a href="#" onclick="hidediv('hide_show')">show</a>
<div id="hide_show">
<h1>Here I am!</h1>
</div>

Chmod commands for install IPB forum board

Nov 15

To quick install IPB Invision Power Board run this commands in putty at root dir (public_html)

1
2
3
4
5
6
7
8
9
10
11
chmod g+w ./install/installfiles/
chmod g+w ./cache/
find ./cache/ -type d -exec chmod 777 {} \;
find ./cache/ -type f -exec chmod 666 {} \;
 
chmod g+w ./cache/lang_cache/
chmod g+w ./cache/skin_cache/
chmod g+w ./uploads/
chmod g+w ./style_images/
chmod g+w ./conf_global.php
chmod g+w ./cache/tmp

A semantic kernel of site

Jul 25

A semantic kernel is a library of words and phrases, which reflect the type of Your activity or commodities/services, offered by you at the market most exactly. A semantic kernel is created from most characteristic and widespread in Your segment of market of searching queries having a special purpose audiences of Your site and sites of competitors, that will allow you to retain leading positions in the results of search, generated the searching systems, upon requests of target audiences about Your commodities/services.

Linkator

Jul 25

Linkator is the avtomatizirovannya system of exchange by Refs.s. Participants place for itself on a site the catalogue of Refs.s, where the sites of other participants are presented, or pay placing of reference the creator of catalogue without placing of catalogue for itself.

PPC – Pay Per Click PPC

Jul 25

(pay per click)(angl.) to pay for pressure. It is the system of advertising in the internet, which places advertising on sites, suitable under this theme, and payment goes for pressure an user on a banner(text or graphic). Thus turns out that an advertiser buys itself clients in the internet after fully priemlimuyu sum.

phpdug symbols encoding problem

Jul 25

phpdug coul not works normal with russian and other languages well in front and backed

to fix this you need just add

1
2
3
4
5
mysql_query( "set session character_set_server=utf8;", $db_connection );
mysql_query( "set session character_set_database=utf8;", $db_connection );
mysql_query( "set session character_set_connection=utf8;", $db_connection );
mysql_query( "set session character_set_results=utf8;", $db_connection );
mysql_query( "set session character_set_client=utf8;", $db_connection );

to

line 81

1
2
3
4
5
6
7
8
9
10
11
function db_connect($config)
{
$db_connection = @mysql_connect ($config['db']['host'], $config['db']['user'], $config['db']['pass']) OR error (mysql_error(),$config, __LINE__, __FILE__, 0, '');
$db_select = @mysql_select_db ($config['db']['name']) or error (mysql_error(),$config, __LINE__, __FILE__, 0, '');
mysql_query( "set session character_set_server=utf8;", $db_connection );
mysql_query( "set session character_set_database=utf8;", $db_connection );
mysql_query( "set session character_set_connection=utf8;", $db_connection );
mysql_query( "set session character_set_results=utf8;", $db_connection );
mysql_query( "set session character_set_client=utf8;", $db_connection );
return $db_connection;
}

public_html\includes\functions\func.global.php

How to convert PHPDug to UTF8 encoding (all tables)?

Jul 25

Just run in phpmyadmin this rows… read all »

What searching system is most popular in Runet ?

Jun 07

What searching system is most popular in Runet ?
In obedience to statistics of visited of poulyarnykh of the Russian sites:

  • Yandex (48.8%)
  • Google (31.0%)
  • Rambler (5.94%)
  • Aport (5.77%)
  • Mail.ru (3,9%)
  • MSN (1.93%)
  • Yahoo (0.4%)
  • Altavista (0.06%)

Is there registration in catalogues, for what it?

Jun 07

Is there registration in catalogues, for what it? Catalogues are the ground posts of the internet. Once registration of site in catalogues was by the unique inexpensive method to declare about the site. Now, when the searching systems are used by more than 95% users, catalogues remain the all those ground posts, but already for the robots of the searching systems. Registration in catalogues gives the strong improvement of nakhodimosti site in the searching systems, thus, that most important, exactly on a type,to the bringing a profit queries. We use the own, continuously filled up lists of catalogues, that gives an effect much the best, maybe, immeasurably the best, than automatic systems of registration.

Ban of site

Jun 07

Ban of site – from angl. of to ban – to forbid. Expression, meaning prohibition of site for codeindexing and ranging of site the moderator of the searching system. Usually used to the site, to applying the methods of searching spam. It is necessary to distinguish ban of site from the different type of pessimizacii site. As a rule, ban of site results in the complete exception of site from the index of the searching system and prohibition of him for further indexation. For taking off an embargo correspondence is required with the moderator of the searching system.

 
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
26 queries. 3.430 seconds.