Andy17 Posted September 27, 2008 Share Posted September 27, 2008 Hello there! I have a page where users are able to submit content from a web form. The fields in my form have requirements, which I would like to show to the user. Therefore, I was thinking of adding the link "[?]", which should open a window. However, by window I am not thinking popup windows (no toolbars and stuff, nothing at all). Something along the lines of the one shown on this website: http://www.helbreathlux.com/ However, I just want plain text in it, but I need to change it easily (so I can write different text in that same window; imagine I have 5 fields on a page and I want to write different text depending on which link a user clicks). Also, I'd need a link that will close the window. If this was confusing, I'm sorry; let me try and sum it up. I want a window without toolbars or anything, where I can easily change the text that is written and it should have a link to close the window. Could anyone please help me on this? Thanks a lot in advance! Quote Link to comment Share on other sites More sharing options...
CroNiX Posted September 27, 2008 Share Posted September 27, 2008 Thats basically a styled <div> with display set to none. Then when you want it to show you set the display to block so it shows. You can use JS to change the message in your div using the innerHTML. Quote Link to comment Share on other sites More sharing options...
Andy17 Posted September 28, 2008 Author Share Posted September 28, 2008 Yeah, I'm just not very experienced with that stuff yet, so not quite sure how to do it. Quote Link to comment Share on other sites More sharing options...
Andy17 Posted October 3, 2008 Author Share Posted October 3, 2008 Bump. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted October 4, 2008 Share Posted October 4, 2008 You could make your own or you could get one from a place like JavaScript Kit or even DynamicDrive. They should provide simple hover windows etc. Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted October 4, 2008 Share Posted October 4, 2008 google up the search term modal you will find plenty of useful scripts 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.