Pages: 1..1234567

  2008-07-24 04:05:01

natal_angelz
» n00b
FTalk Level: zero
72
0
1969-12-31

Re: the code may become obselete.

uhm?i try diz codes?but i can't move friends below to my cntrl panel :rolleyes: [quote]if ( ! attachOnLoadHandler(function () { moveBox();})) window.onload = function () { moveBox();}; function moveBox() { var x; var t; x = document.getElementById("controlpanel_1_1").parentNode; t = document.getElementById("friends_2_2"); x.appendChild(t); }[/quote] [quote]/*global MOVEIT*/ MOVEIT = {}; (function () { MOVEIT = { box: null, appendbox: null, init: function () { MOVEIT.box = MOVEIT.getClass(/controlpanel/i)[0].parentNode; MOVEIT.appendbox = MOVEIT.getClass(/friends/i)[0]; MOVEIT.box.appendChild(MOVEIT.appendbox); }, getClass: function (sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j = 0, k = els.length; j < k; j += 1) { if (new RegExp(sClass).test(els[j].className)) { elm.push(els[j]); } } return elm; } }; })(); MOVEIT.init();[/quote]

Last edited by natal_angelz (2008-07-24 04:07:10)

You are viewing a post by natal_angelz. View all 131 posts in the code may become obselete..

Pages: 1..1234567

Board footer

© 2025 F Talk

Current time is 21:04

[ 12 queries - 0.012 second ]
Privacy Policy