| Author |
redirect page in 5 seconds
|
|
| SteveMckenna 2004-08-09, 12:14 pm |
| I want to place a link into a page that says the message "This page has moved,
you will be directed in 5 seconds" and then after the 5 seconds for that
browser window to automatically close and the new one automatically open. How
can I do this? Is it with javascript? Oh, and I want to avoid that pop up
message The web page you are using is trying to close the window etc....if
possible. Many thanks in advance
Steve
| |
| Murray *TMM* 2004-08-09, 12:15 pm |
| INSERT | Head Tag > Refresh....
But a better way to do this would be to use a server-scripted redirect.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"SteveMckenna" <webforumsuser@macromedia.com> wrote in message
news:cf7s2n$dbl$1@forums.macromedia.com...
> I want to place a link into a page that says the message "This page has
moved,
> you will be directed in 5 seconds" and then after the 5 seconds for that
> browser window to automatically close and the new one automatically open.
How
> can I do this? Is it with javascript? Oh, and I want to avoid that pop
up
> message The web page you are using is trying to close the window etc....if
> possible. Many thanks in advance
> Steve
>
| |
| John Elftmann 2004-08-11, 4:16 am |
| > I want to place a link into a page that says the message "This page has moved,
> you will be directed in 5 seconds" and then after the 5 seconds for that
> browser window to automatically close and the new one automatically open. How
> can I do this?
Why do you want to close the window and open a new one? Just use a meta
refresh:
http://webdesign.about.com/cs/metatags/a/aa080300a.htm
| |
| Murray *TMM* 2004-08-11, 12:14 pm |
| INSERT | Head Tag > Refresh, MD.
The reason *not* to use it is that if you then press the back key after such
an event, you will get redirected again, i.e., an endless loop of press and
redirection. We've all been there.
The better way would be to have the redirection call a server-scripted page
that does <% response.redirect("foo.html") %> (in VBScript/ASP) which will
break that back arrow endless cycle.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Mad Dog" <md@mdp.com> wrote in message
news:cfc7pd$993$1@forums.macromedia.com...
> DW MX doesn't have it that I've come across. Does your automatic version
do
> it some other way than your basic meta tag?
>
>
> A.H.O. wrote:
>
>
| |
|
|
| Mad Dog 2004-08-13, 7:18 pm |
| DW MX doesn't have it that I've come across. Does your automatic version do
it some other way than your basic meta tag?
A.H.O. wrote:
> Just curious fellas....
>
> DW (mx 2004 anyway) has a function specificly for doing that. I
> have it on a couple of pages, and it works like a champ in every
> browser Ive tried it on. Is there any reason people should not use
> it? Im really not trying to be...a smart @$$ or anything. Im really
> wondering. Is there a good reason NOT to use this function?
| |
| Mad Dog 2004-08-13, 11:15 pm |
| Ya learn something new every day. (I'm referring to where you can find it on
the menu, not what it does or why it sucks.) The only times I've ever needed
this is if for a strange reason I needed to rename a page and didn't want to
break direct links to it.
You're a fount of information......
Murray *TMM* wrote:[color=darkred]
> INSERT | Head Tag > Refresh, MD.
>
> The reason *not* to use it is that if you then press the back key
> after such an event, you will get redirected again, i.e., an endless
> loop of press and redirection. We've all been there.
>
> The better way would be to have the redirection call a
> server-scripted page that does <% response.redirect("foo.html") %>
> (in VBScript/ASP) which will break that back arrow endless cycle.
>
>
> "Mad Dog" <md@mdp.com> wrote in message
> news:cfc7pd$993$1@forums.macromedia.com...
| |
| Murray *TMM* 2004-08-13, 11:16 pm |
| Hope my aquifer doesn't flush.... 8)
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Mad Dog" <md@mdp.com> wrote in message
news:cfdfk6$o6l$1@forums.macromedia.com...
> Ya learn something new every day. (I'm referring to where you can find it
on
> the menu, not what it does or why it sucks.) The only times I've ever
needed
> this is if for a strange reason I needed to rename a page and didn't want
to
> break direct links to it.
>
> You're a fount of information......
>
>
>
>
> Murray *TMM* wrote:
>
>
| |
| Mad Dog 2004-08-13, 11:16 pm |
| I hope your toilet does....
Murray *TMM* wrote:[color=darkred]
> Hope my aquifer doesn't flush.... 8)
>
>
> "Mad Dog" <md@mdp.com> wrote in message
> news:cfdfk6$o6l$1@forums.macromedia.com...
| |
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |