File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Pop window in HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Pop window in HTML" Watch "Pop window in HTML" New topic
Author

Pop window in HTML

Ankit Tripathi
Ranch Hand

Joined: Oct 17, 2009
Posts: 175
Hiiiiiiiiiii!!!freinds.
I am a newcomer in the field of web applications........but quite serious and curious about being a web developer and really interested in javascript and HTML.Me and my freinds are working upon a client/server chat p[roject.But i have a problem.
Welcome page of my application is a JSP.I have devided the welcome page in three frames.one frame is reserved for accepting login details i.e. username and password.
but i am not happy with it.I want a link for chat application might be provided in that frame.Clicking upon that link a new a splash window should open and JSP must closed after clicking upon link. after it a swing like frame should open for taking username and password and after clicking submit button a new GUI frame should open with user details and welcome message.
freinds,is it possible with help of html and javascript....if there is then please help me..........if it can't be implemented fully than help me with partial or optional solutions.

This message was edited 1 time. Last update was at by Bear Bibeault

Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48842

The fact that your HTML is generated by JSP on the server has no bearing at all on what happens on the client. I have adjusted your topic title appropriately.

You can either use real windows via window.open(), or fake a modal dialog with something like jQuery UI's dialog widget.

By the way, frames are really rather old-fashioned. You might want to consider using more modern interface techniques.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Ankit Tripathi
Ranch Hand

Joined: Oct 17, 2009
Posts: 175
Thank you very much for response,sir.
What would be new and advanced techniques afterall i don't want toolbars and tabs like Internet Explorer in the generated window???
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48842

Ankit Tripathi wrote:What would be new and advanced techniques

Using CSS to set up the layout rather than tables or frames.

i don't want toolbars and tabs like Internet Explorer in the generated window???


English interrogative sentences end in a single question mark.

With window.open() you have some measure of control over what browser controls appear on the new window. The approach used comes down to whether you want an independent window, or an in-window dialog.
Ankit Tripathi
Ranch Hand

Joined: Oct 17, 2009
Posts: 175
thank you sir.
 
 
subject: Pop window in HTML
 
MyEclipse, The Clear Choice