Pages: 1234567..7

  2007-08-16 09:28:40

frans212
» FTalker
FTalk Level: zero
161
0
1969-12-31

Re: the code may become obselete.

[quote=feruzz]:arrow: Updated as August 09, 2007 [simplified version] Now you may re-positioning the boxes [from right to left - down to top or vice versa] in anywhere :) :arrow: [b]Preview:[/b] [url]http://h1.ripway.com/myscript/photo/movebox.JPG[/url] :arrow: [b]JS code[/b] [quote]if ( ! attachOnLoadHandler(function () { moveBox();})) window.onload = function () { moveBox();}; function moveBox() { var x; var t; x = document.getElementById("[b]TARGET_ID[/b]").parentNode; t = document.getElementById("[b]BOX_ID[/b]"); x.appendChild(t); }[/quote] [b]TARGET_ID[/b] = put what the [b]BOX_ID[/b] you want to move to appear on below of the [b]TARGET_ID[/b] box [b]BOX_ID[/b] = the box which you want to move let say if I want to put the [b]controlpanel_1_1[/b] box at the below of [b]groups_2_5[/b] & at the same time I want to put [b]friends_2_2[/b] at the below of [b]moreabout_1_5[/b] the code should look like this <">or you can move the box to appear on top of another box [quote]if ( ! attachOnLoadHandler(function () { moveBox();})) window.onload = function () { moveBox();}; function moveBox() { var x; var t; t = document.getElementById("[b]BOX_ID[/b]"); //the box to be moved x = document.getElementById("[b]TARGET_ID[/b]").parentNode; x.parentNode.insertBefore(t,x); }[/quote] use this as a guide :arrow: [b]Left Side Boxes[/b] [b]Control Panel[/b] [quote]controlpanel_1_1[/quote] [b]Photos[/b] [quote]photos_1_2[/quote] [b]Blogs[/b] [quote]blogs_1_3[/quote] [b]Reviews[/b] [quote]reviews_1_4[/quote] [b]Moreabout[/b] [quote]moreabout_1_5[/quote] [b]Comments/Testimonials[/b] [quote]publiccomments_1_7[/quote] [b]Media Box/Scrapbook[/b] [quote]scrapbook_1_8[/quote] :arrow: [b]Right Side Boxes[/b] [b]Friends[/b] [quote]friends_2_2[/quote] [b]Fanof[/b] [quote]fanof_2_4[/quote] [b]Groups[/b] [quote]groups_2_5[/quote] But....first (especially newbies) you must know how to put this code in your profile many confused about CSS & JS.....both are totally different the code above is a javascript [js extension] click here ----> [url]http://theftalk.com/t2044-save-.js%28JavaScript%29-extension-customize-your-profile..html[/url][/quote] nice posting broo =) keep up the good attitude :D :D :D go ...........go..............go.......... :penguin: :penguin: :penguin:

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

Pages: 1234567..7

Board footer

© 2024 F Talk

Current time is 21:24

[ 12 queries - 0.018 second ]
Privacy Policy