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 Link to comment https://forums.phpfreaks.com/topic/117099-howd-they-do-it/ Share on other sites More sharing options...
sharpnova Posted July 29, 2008 Share Posted July 29, 2008 js Link to comment https://forums.phpfreaks.com/topic/117099-howd-they-do-it/#findComment-602304 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. Link to comment https://forums.phpfreaks.com/topic/117099-howd-they-do-it/#findComment-602305 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. Link to comment https://forums.phpfreaks.com/topic/117099-howd-they-do-it/#findComment-602334 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 Link to comment https://forums.phpfreaks.com/topic/117099-howd-they-do-it/#findComment-603249 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. Link to comment https://forums.phpfreaks.com/topic/117099-howd-they-do-it/#findComment-603265 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.