Solved

close thickbox window on click

Posted on 2006-11-17
3
4,472 Views
Last Modified: 2008-01-09
I am using thickbox for my login screen with an iFrame.  The problem is that once the login is successful I am still within the thickbox iFrame.  I need it to process the login and then close the thickbox window while refreshing the page below... here is where it is, any ideas?

http://fab71ben.securesites.net/thefabonline.com/index.php
0
Comment
Question by:seamusseamus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
inubis earned 500 total points
ID: 17985795
Hi,

2 Options
1) In your form tag
<form method="post" id="form1" class="KT_tngformerror" action="http://fab71ben.securesites.net/thefabonline.com/login.php?height=220&width=310">
put target="top"
e.g.
<form method="post" id="form1" class="KT_tngformerror" target="_top" action="http://fab71ben.securesites.net/thefabonline.com/login.php?height=220&width=310">

2) On the login successful page that loads in your IFrame put this bit of code:

<script>
  parent.location = 'index.php';
</script>

Sam
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Validating Date Part2 2 27
testing a web application for ipad on windows pc 3 39
Problem evaluating javascript equality expression 8 18
Boolean 13 24
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question