fredted40x Posted February 1, 2011 Share Posted February 1, 2011 Hi, Just working on my university project, have quickly knocked up a login and register function but im now trying to create a drop down login box like twitter. It has to be written code and jquery cant be used. Is javascript the language i need? If it is can anyone point me to somewhere that could help. Thanks Fred Quote Link to comment https://forums.phpfreaks.com/topic/226352-drop-down-login-box/ Share on other sites More sharing options...
sunfighter Posted February 3, 2011 Share Posted February 3, 2011 That does not look like drop down box to me but a div that is hidden by its css code setting display:none; and made visible by javascript with: document.getElementById('the div's id').style.display="block"; Quote Link to comment https://forums.phpfreaks.com/topic/226352-drop-down-login-box/#findComment-1169250 Share on other sites More sharing options...
fredted40x Posted February 3, 2011 Author Share Posted February 3, 2011 Thats it! Thanks sunfighter. Quote Link to comment https://forums.phpfreaks.com/topic/226352-drop-down-login-box/#findComment-1169342 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.