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
Thing is, it keeps the page almost exactly where it was left ... a totally  
unintended consequence of doing it right

Tags

  1. programming
  2. tag maintence
  3. _tags

Comments


Seth says
seth 2005-10-30 15:22:26 1778
or if you dont like google caches

Seth says
... 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.

See Also

  1. Thought Do we need system tags? with 19 viewings related by tag "_tags".
  2. Thought Footer problem on individual page at speaktomecatalog.com with 19 viewings related by tag "programming".
  3. Thought Promotions in the Speak To Me Catalog Shopping Basket with 7 viewings related by tag "programming".
  4. Thought test of tags with blank in front of word with 2 viewings related by tag "_tags".
  5. Thought about: Then each went to his own home with 1 viewings related by tag "programming".
  6. Thought related obscene tags with 1 viewings related by tag "_tags".
  7. Thought control for ~ (censor tags not converted) with 1 viewings related by tag "_tags".
  8. Thought about: try ruby! (in your browser) with 1 viewings related by tag "programming".
  9. Thought many useful php routines with 1 viewings related by tag "programming".
  10. Thought unzip for install.php with 1 viewings related by tag "programming".
  11. Thought SQL for selecting triples inside of one field. with 1 viewings related by tag "programming".
  12. Thought some thoughts on trans domain data transfer with 1 viewings related by tag "programming".
  13. Thought Please fix bad tags with 1 viewings related by tag "_tags".
  14. Thought a good place to satisfy question~answer with 0 viewings related by tag "programming".
  15. Thought automatically update all taggings at del.icio.us with 0 viewings related by tag "_tags".
  16. Thought sources of php code with 0 viewings related by tag "programming".
  17. Thought What is a tag ? with 0 viewings related by tag "_tags".
  18. Thought sql explained for group tagroom with 0 viewings related by tag "programming".
  19. Thought related tags with 0 viewings related by tag "programming".
  20. Thought deactivate HTML in comments - or how and where to escape with 0 viewings related by tag "programming".
  21. Thought propogate logic from front door to rooms and refactor with 0 viewings related by tag "programming".
  22. Thought Related tags don't works in groups ? with 0 viewings related by tag "_tags".
  23. Thought ok here is the sizing algorithm that will go into testing with 0 viewings related by tag "programming".
  24. Thought cleaning up tags with 0 viewings related by tag "_tags".
  25. Thought about: Technorati: Mini with 0 viewings related by tag "_tags".
  26. Thought a method of providing for private tags with 0 viewings related by tag "_tags".
  27. Thought automatic tags for tagroom with 0 viewings related by tag "_tags".
  28. Thought winnies complaint with 0 viewings related by tag "_tags".
  29. Thought study of del.icio.us tag navigation with 0 viewings related by tag "_tags".
  30. Thought comparison between del.icio.us tag navigation and fastblogit with 0 viewings related by tag "_tags".
  31. Thought is tag navigation working better now ? with 0 viewings related by tag "_tags".
  32. Thought we need _and_ but do we need _or_ ? with 0 viewings related by tag "_tags".
  33. Thought It's on our server now ... wonder if it works with 0 viewings related by tag "programming".
  34. Thought about: five years, building a culture, and handing it off. - laughing meme with 0 viewings related by tag "programming".
  35. Thought Perl regex with 0 viewings related by tag "programming".
  36. Thought tag display and navigation project with 0 viewings related by tag "_tags".
  37. Thought [title (1663)] with 0 viewings related by tag "programming".
  38. Thought Pride an Glory in Your Code with 0 viewings related by tag "programming".
  39. Thought tutorial for php classes with 0 viewings related by tag "programming".
  40. Thought Hanging Out in Tag Rooms with 0 viewings related by tag "_tags".
  41. Thought This is a tutorial on the rte software with 0 viewings related by tag "programming".
  42. Thought work in progress for Chat Who's Here with 0 viewings related by tag "programming".
  43. Thought about: PEAR :: Package :: HTML_AJAX with 0 viewings related by tag "programming".
  44. Thought about: About image buttons in HTML forms (and multi-line texts in normal submit buttons) with 0 viewings related by tag "programming".
  45. Thought Preview of Ajax tag search at fastblogit with 0 viewings related by tag "_tags".
  46. Thought programming of edit tag with 0 viewings related by tag "programming".
  47. Thought peg with 0 viewings related by tag "_tags".
  48. Thought peg with 0 viewings related by tag "_tags".
  49. Thought How can I change taggings ? with 0 viewings related by tag "tag maintence".
  50. Thought What characters are permitted in tags ? with 0 viewings related by tag "_tags".