Minase Posted April 7, 2011 Share Posted April 7, 2011 hi im trying to attach a div to another one so when div 1 moves the second follow the first (remaining in same position) any one knows how can i do this? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/233005-jqueryattach-div/ Share on other sites More sharing options...
Adam Posted April 7, 2011 Share Posted April 7, 2011 If the positioning allows it, the best option here would be to wrap the two divs within a parent div, and move that. Quote Link to comment https://forums.phpfreaks.com/topic/233005-jqueryattach-div/#findComment-1198372 Share on other sites More sharing options...
Minase Posted April 7, 2011 Author Share Posted April 7, 2011 thats the trick i need to overlap the first div the second one is a menu. DIV 1 content DIV 2 menu (which stays at left,but inside div 1) when i click buttons inside div 2 div 1 content changes Quote Link to comment https://forums.phpfreaks.com/topic/233005-jqueryattach-div/#findComment-1198375 Share on other sites More sharing options...
Minase Posted April 7, 2011 Author Share Posted April 7, 2011 solved Quote Link to comment https://forums.phpfreaks.com/topic/233005-jqueryattach-div/#findComment-1198423 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.