the tag maintence window problem goes on
Well ... after thinking about this all evening ... and night .... i am gonna take a different approach
rooms ==> onClick editbutton=> tagEdit.php (client answers questions)
==> posts to tagEdit.php (server updates database) .. returns to same window ..
==> tagEdid.php (client side) .. javascript must close window and reload rooms
==> rooms
This simplifies the problem because it is not going though a separate server side /update/ where the windows can get confused. Not sure it will solve the problem, but it will probably be more reliable and certainly simplifies it.
Ok, that works ... the server can reload with the original page with header('location: url') ... only remaining question is how to get it out of the window
.
well closing the window is easy, just:
<script language="JavaScript" type="text/javascript">
window.close();
</script>
in the <head> ... but that is too late for the header('location: url')
Victory is
... it works (got to check it in IE, but i bet it is ok)
Trick was given by this meta filter question~answer sited below.
in particular a javascript statement on the body of the return page from processing
rooms ==> onClick editbutton=> tagEdit.php (client answers questions)
==> posts to tagEdit.php (server updates database) .. returns to same window ..
==> tagEdid.php (client side) .. javascript must close window and reload rooms
==> rooms
This simplifies the problem because it is not going though a separate server side /update/ where the windows can get confused. Not sure it will solve the problem, but it will probably be more reliable and certainly simplifies it.
Ok, that works ... the server can reload with the original page with header('location: url') ... only remaining question is how to get it out of the window

well closing the window is easy, just:
<script language="JavaScript" type="text/javascript">
window.close();
</script>
in the <head> ... but that is too late for the header('location: url')

Victory is


Trick was given by this meta filter question~answer sited below.
in particular a javascript statement on the body of the return page from processing
Thing is, it keeps the page almost exactly where it was left ... a totally![]()
unintended consequence of doing it right
Tags
- programming
- tag maintence
- _tags
Comments
Seth says
... here is what worked:
<body onLoad="opener.location.reload();window.close();">
thank you PuGZ url http://www.metafilter.com/user/27970
... here is what worked:
<body onLoad="opener.location.reload();window.close();">
thank you PuGZ url http://www.metafilter.com/user/27970
Seth says
works ok in IE, but in FF it maintains the location on the source page. brings up how much better a browser FF is than IE.
works ok in IE, but in FF it maintains the location on the source page. brings up how much better a browser FF is than IE.
See Also
- Thought Do we need system tags? with 19 viewings related by tag "_tags".
- Thought Footer problem on individual page at speaktomecatalog.com with 19 viewings related by tag "programming".
- Thought Promotions in the Speak To Me Catalog Shopping Basket with 8 viewings related by tag "programming".
- Thought is tag navigation working better now ? with 6 viewings related by tag "_tags".
- Thought How can I change taggings ? with 5 viewings related by tag "tag maintence".
- Thought Pride an Glory in Your Code with 4 viewings related by tag "programming".
- Thought SQL for selecting triples inside of one field. with 4 viewings related by tag "programming".
- Thought propogate logic from front door to rooms and refactor with 3 viewings related by tag "programming".
- Thought tag display and navigation project with 3 viewings related by tag "_tags".
- Thought unzip for install.php with 2 viewings related by tag "programming".
- Thought test of tags with blank in front of word with 2 viewings related by tag "_tags".
- Thought about: Then each went to his own home with 1 viewings related by tag "programming".
- Thought related obscene tags with 1 viewings related by tag "_tags".
- Thought control for ~ (censor tags not converted) with 1 viewings related by tag "_tags".
- Thought about: try ruby! (in your browser) with 1 viewings related by tag "programming".
- Thought many useful php routines with 1 viewings related by tag "programming".
- Thought some thoughts on trans domain data transfer with 1 viewings related by tag "programming".
- Thought Please fix bad tags with 1 viewings related by tag "_tags".
- Thought a good place to satisfy question~answer with 0 viewings related by tag "programming".
- Thought automatically update all taggings at del.icio.us with 0 viewings related by tag "_tags".
- Thought sources of php code with 0 viewings related by tag "programming".
- Thought What is a tag ? with 0 viewings related by tag "_tags".
- Thought sql explained for group tagroom with 0 viewings related by tag "programming".
- Thought related tags with 0 viewings related by tag "programming".
- Thought deactivate HTML in comments - or how and where to escape with 0 viewings related by tag "programming".
- Thought Related tags don't works in groups ? with 0 viewings related by tag "_tags".
- Thought ok here is the sizing algorithm that will go into testing with 0 viewings related by tag "programming".
- Thought cleaning up tags with 0 viewings related by tag "_tags".
- Thought about: Technorati: Mini with 0 viewings related by tag "_tags".
- Thought a method of providing for private tags with 0 viewings related by tag "_tags".
- Thought automatic tags for tagroom with 0 viewings related by tag "_tags".
- Thought winnies complaint with 0 viewings related by tag "_tags".
- Thought study of del.icio.us tag navigation with 0 viewings related by tag "_tags".
- Thought comparison between del.icio.us tag navigation and fastblogit with 0 viewings related by tag "_tags".
- Thought we need _and_ but do we need _or_ ? with 0 viewings related by tag "_tags".
- Thought It's on our server now ... wonder if it works with 0 viewings related by tag "programming".
- Thought about: five years, building a culture, and handing it off. - laughing meme with 0 viewings related by tag "programming".
- Thought Perl regex with 0 viewings related by tag "programming".
- Thought [title (1663)] with 0 viewings related by tag "programming".
- Thought tutorial for php classes with 0 viewings related by tag "programming".
- Thought Hanging Out in Tag Rooms with 0 viewings related by tag "_tags".
- Thought This is a tutorial on the rte software with 0 viewings related by tag "programming".
- Thought work in progress for Chat Who's Here with 0 viewings related by tag "programming".
- Thought about: PEAR :: Package :: HTML_AJAX with 0 viewings related by tag "programming".
- Thought about: About image buttons in HTML forms (and multi-line texts in normal submit buttons) with 0 viewings related by tag "programming".
- Thought Preview of Ajax tag search at fastblogit with 0 viewings related by tag "_tags".
- Thought programming of edit tag with 0 viewings related by tag "programming".
- Thought peg with 0 viewings related by tag "_tags".
- Thought peg with 0 viewings related by tag "_tags".
- Thought What characters are permitted in tags ? with 0 viewings related by tag "_tags".