How I can create Pop-up Login window on a particular page. If user login successfully, the back page will refresh.

Recommended Answers

All 7 Replies

Could you clarify more?
I guess your question is how to make a pop-up window, isn't it? If this is your question, then you need to post this question in the JavaScript section.
To open a new window you have to use the window.open method. For example:

<script type="text/javascript">
var winObject;
winObject = window.open("http://www.anywebsiteaddress.anything/anypage.any","theNewWindowName","menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes");
</script>

You can find more about this method on:
https://developer.mozilla.org/en/Window.open

You could use Jquery with the plugin thickbox...It lets you load a new page in an iframe as a modal popup...So you could create a small login page and load it in your iframe, you can also attach an event on succes so you could refresh the parent page

steelshark is right, use jquery, I use 5 browsers on a daily basis and have pop-up blockers turned on on all of them. use a modal window or a collapsible div to show /hide a login box.

Can you create me a pop up log-in without an error?,,thank you so much,,<3

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.