I realise that to most this is perhaps a very simple query, but I’m relatively new to working with the design elements of an HTML form, so please bear with me.
I’m using this form to allow the user to upload image files.
What I’d like to be able to do, is change the form to a pop window that appears in the centre of the page, but after reading many tutorials, I must admit to being non the wiser. I just wondered whether someone could perhaps please show me what I’d need to do to create this.
I’d also wondered whether it would be possible if someone could perhaps help me out a little please on the ‘close form’ function. I’ve added the ‘close’ functionality to my form, but it appears as a hyperlink, with a ‘Warning Message’ dialog box appearing upon selection. I’d like, if possible, for this to appear as normal text and without the ‘Warning message’.
Any help would truly be appreciated.
Many thanks and Kind regards
I would recommend looking into a jquery lightbox type solution. Using javascript the way you are the warnings and possible blocking of your popup could occur. Here is a simple window.open article that will get your window opened
http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
Here is an article to close the window without getting a prompt:
How can I close a browser window without receiving the "Do you want to close this window" prompt?enter link description here