One note on 302 Redirect vs window.location.
I have found that they work on all major browsers, the differences is
timing
302 redirect is handled server side and placed in the header
window.location is client side and can be called within Javascript
note: on window.location always use full url
On Feb 9, 2010, at 10:06 AM, Beverly Voth wrote:
I don't rely on "pop-ups" as much as I just "show" a hidden,
absolutely
positioned <div> where the alert/dialog/comment will show when
needed. And
yes, this may or may not need JS. For example, you can have a
"conditional"
(<@IF) on the style="display: none;" else style="display: block;" as
needed.
If they come back to the page and you pass the variable to trigger
the if...
It can have a close box (which uses the javascript or returns to the
same
page passing the varible as 'null' - so the box doesn't show).
I will say that almost nobody turns off Javascript these days, but
you can
trap for that, too!
Beverly
On 2/9/10 11:13 AM, "Dan Stein" <[email protected]> wrote in whole or
in part:
Folks,
I am building a new taf. When they click on a map it looks up the
URL in the
database based on the state code and we want them to then go to a
new page
based on the stored link.
If we have no stored link I'll call the same page again and I guess
show a pop
up saying nothing there at this time.
I can use the JS window.location or HTTP redirect so 1st question
is which one
is safest and most likely to work with all browsers.
and I can't seem to find a property that will let me force a new
window or tab
to open.
---
Dan Stein MSN CRNP
FileMaker 7 Certified Developer
FileMaker 9 Certified Developer
Digital Software Solutions
303 W. Chestnut St
Souderton PA 18964
Land: 215-799-0192
Cell: 610-256-2843
Fax 215-799-0192 ( Call 1st)
FMP, WiTango,MSSQL, MySQL,PHP
[email protected]
www.dss-db.com
"I destroy my enemies when I make them my friends."
Abraham Lincoln
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
Ben Johansen
http://www.webspinr.com
[email protected]
Phone: 360-597-3372
Mobile: 360-600-7775
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf