RottenBananas Posted July 29, 2008 Share Posted July 29, 2008 Hey guys, I wanna know how google created the igoogle page where you can click and drag toolbars to customize positioning of elements. www.pageflakes.com has it too. Is this done in php? javascript? Can anyone point me to a tutorial or tell me what this technique is called so I can get more information? Thanks Quote Link to comment Share on other sites More sharing options...
sharpnova Posted July 29, 2008 Share Posted July 29, 2008 js Quote Link to comment Share on other sites More sharing options...
ratcateme Posted July 29, 2008 Share Posted July 29, 2008 it is client side so javascript the settings are normally stored in a cookie or ajax that can be done using javascript. i would suggest seeing you don't know that it is done in javascript it is requires a lot more knowledge than what you have. Scott. Quote Link to comment Share on other sites More sharing options...
Third_Degree Posted July 29, 2008 Share Posted July 29, 2008 This thread probably should have been put in javascript, but i agree with ratcateme, if you didn't know that, start googling for javascript and draggable (is that a word?) elements. Quote Link to comment Share on other sites More sharing options...
RottenBananas Posted July 30, 2008 Author Share Posted July 30, 2008 Hey thanks for the info, Sorry for this being in the wrong section So the dragging of the windows work now after using some ajax. Now my question is how can I only allow the user that is logged in to drag stuff and no one else? Basically the user has a profile page that anyone can see. I want only the user to be able to position elements and save them so that when someone else views their profile it shows it how the user customized it. I hope that makes sense. Can i do this with cookies? Thanks Quote Link to comment Share on other sites More sharing options...
ratcateme Posted July 30, 2008 Share Posted July 30, 2008 you want to use ajax to store the position of the elements in a database or something then just output them in the right position using php and dont output the javascript that allows you to move them Scott. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.