We can do this with a custom 404 as well, and no JS needed.


On Mon, Sep 23, 2013 at 3:44 PM, Alexandro Colorado <j...@oooes.org> wrote:

> JS was to automatically send you back (or send you to the homepage like the
> example). Using:
> history.back()
>
>
> On Mon, Sep 23, 2013 at 5:21 PM, Kay Schenk <kay.sch...@gmail.com> wrote:
>
> > On Mon, Sep 23, 2013 at 1:30 PM, Alexandro Colorado <j...@oooes.org>
> wrote:
> >
> > > I notice a lot of dead links gives a horrible default error. Can we
> put a
> > > more "design friendly" error handler for missing or outdated links.
> Also
> > > add some Javascript to redirect back to homepage (or back page).
> > >
> > >                 <script type="text/javascript">
> > >                         function delayer(){
> > >                               window.location = "
> > http://www.openoffice.org
> > > "
> > >                          }
> > >                 </script>
> > > ...
> > >         <body onLoad="setTimeout('delayer()', 5000)">
> > >
> > >
> > > --
> > > Alexandro Colorado
> > > Apache OpenOffice Contributor
> > > http://www.openoffice.org
> > > 882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614
> > >
> >
> > Someone else mentioned this recently. I *thought* we had a custom 404 at
> > one time, but I could be mistaken. This is a relatively easy server side
> > configure, rather than JS. Any thoughts on what we would like it to say?
> >
> > We could also include some fun pictures!
> >
> > --
> >
> >
> -------------------------------------------------------------------------------------------------
> > MzK
> >
> > "Truth is stranger than fiction, but it is because Fiction is obliged
> >  to stick to possibilities. Truth isn't."
> >                              -- "Following the Equator", Mark Twain
> >
>
>
>
> --
> Alexandro Colorado
> Apache OpenOffice Contributor
> http://www.openoffice.org
> 882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614
>



-- 
-------------------------------------------------------------------------------------------------
MzK

"Truth is stranger than fiction, but it is because Fiction is obliged
 to stick to possibilities. Truth isn't."
                             -- "Following the Equator", Mark Twain

Reply via email to