Archive for the ‘Programming’ Category

Accessing Window Parent elements with jQuery

How to access window parent elements with jQuery.
$(window.parent.document.body).find(‘div.product’);

Direct Admin how to get Access logs

The easy way is by this rule, maybe there is and somewhere in a menu.
http://:2222/CMD_SHOW_LOG?domain=&type=log

Prototype – jQuery serialize

if you changing javascript framework and jQuery serialize() method doesn’t work as good as you expected – like on prototype.
user jQuery serializeArray() method.
it equals to protype’s .serialize()

Javascript debug function

Some useful function for debugging javascript objects.
function debug(o)
{
var s = null;
for ( p in o )
s += p + ‘ – ‘ + o[p] + ‘\r\n’;
alert(s);
}
Do you know better one, or updated version of this code?
Please share it with all of Us.

Google apie Kanoninį nuorodos elementą

Google atstovo e-paskaita, apie Google paieškos sistemos požiūrį į besidubliuojantį turinį bei teisingą nuorodų formavimą.
Google atstovo teigimu, netrukus Google, Yahoo, MSN palaikys Kanoninį nuorodos elementą, kuriame bus galima nurodyti paieškos sistemoms esamo puslapio norimą nuorodą neatsižvelgiant kaip ji pateikiama naršyklės URL.