Solved

close thickbox window on click

Posted on 2006-11-17
3
4,481 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
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…

729 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