Interface Book Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

bos repositioning script=mhae™

Go down

star :) bos repositioning script=mhae™

Post by mhae™ Sat Aug 15, 2009 5:34 am

mhae™️ wrote:REPU PLEASE


Title: Box Repositioning Script
Description: This short script will enable you to move your profile's modules to anywhere you want them to.
Tested With: IE7, Fx2, O9

TEST IT HERE look at the photo gallery, BTW it's my profile

childDiv1=document.getElementById("2")
document.getElementById("0").parentNode.appendChild(childDiv1)
function rePosition(){
childDiv1=document.getElementById("2")
document.getElementById("0").parentNode.appendChild(childDiv1)
}
setTimeout("rePosition()",500)

  • Legend:

    • Red = The variable name for the box you will reposition.
    • Orange = The id of the box you will reposition.
    • Green = The id of the box where you will append the box you want to move.
    </li>
  • Important Notes:

    • Just use one of the two codes above. If the first code didn't work for you, you still have the second code to try.
    • The yellow parts of the code must be the same.
    • The box that you will reposition will position itself below the box in the green part of the code.
    • If you want to reposition more boxes, just repeat the code. Make sure that the yellow parts must be the same and numbered accordingly. Refer to the sample below for repositioning more boxes.
      childDiv1=document.getElementById("2")
      document.getElementById("0").parentNode.appendChild(childDiv1)
      childDiv2=document.getElementById("7")
      document.getElementById("0").parentNode.appendChild(childDiv2)
      childDiv3=document.getElementById("8")
      document.getElementById("0").parentNode.appendChild(childDiv3)
    • You may notice that I only used one main box (the green) to append all the three boxes. That sample code above will position the friends, fan of and groups boxes accordingly under the control panel module. You will see how that will be in the preview page. You can also append the boxes to anywhere you want, ok?

    </li>


♠️ Box ID
Spoiler:

credit: teppeimhae

fs cueh====>teppeimhae@yahoo.com
mhae™
mhae™
IFB noob :)

Posts : 36 Join date : 2009-07-06

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum