Re: custom "back" button by Anna
Anna
Thu Feb 05 16:09:12 CST 2004
Hey, I figured it out! I'm very proud of myself now... :-)
I just changed the href="javascript:void(0)"> part of the code to
href="javascript:history.back()">
:-)
"Anna" <anna@adelphia.net> wrote in message
news:%23ZQFB7C7DHA.2812@TK2MSFTNGP11.phx.gbl...
> Thanks, I will do that instead...
>
> Where do I put the "onclick" event though? Sorry, my html knowledge is
> limited...
>
> This is the html code that was created when I used the dhtml image swaps
to
> create my button...
>
> <a
>
onmouseover="document['fpAnimswapImgFP1'].imgRolln=document['fpAnimswapImgFP
>
1'].src;document['fpAnimswapImgFP1'].src=document['fpAnimswapImgFP1'].lowsrc
> ;"
>
onmouseout="document['fpAnimswapImgFP1'].src=document['fpAnimswapImgFP1'].im
> gRolln" href="javascript:void(0)">
>
> <img border="0" src="../Images/back_1.jpg" id="fpAnimswapImgFP1"
> name="fpAnimswapImgFP1" dynamicanimation="fpAnimswapImgFP1"
> lowsrc="../Images/back_2.jpg" width="50" height="20"></a></p>
>
> <p style="margin-top: 0; margin-bottom: 0"> </p>
>
> Thanks,
>
> :-)
>
>
>
> "Steve Easton" <admin@95isalive.com> wrote in message
> news:%23PSXW1B7DHA.3648@TK2MSFTNGP11.phx.gbl...
> > You might want to reconsider using Hover buttons.
> > They are no longer supported in all browsers.
> > Therefore some folks won't be able to navigate
> > your site.
> >
> > Use dhtml image swaps instead.
> >
> >
> > --
> > Steve Easton
> > MS MVP FrontPage
> > 95isalive
> > This site is best viewed..................
> > ..............................with a computer
> >
> > "Anna" <anna@adelphia.net> wrote in message
> > news:uNFSclB7DHA.2952@TK2MSFTNGP09.phx.gbl...
> > > Hi again,
> > >
> > > Can this be done using a Hover Button component as well?
> > >
> > > Thanks,
> > >
> > > Anna
> > >
> > > "Köck Matthias" <anonymous@discussions.microsoft.com> wrote in message
> > > news:a64a01c3eb73$49a08990$a401280a@phx.gbl...
> > > Hello,
> > >
> > > >I have several pages, let's say A, B, and C. Amongst
> > > other things they all
> > > >have a hyperlink to page D. I want to create a back
> > > button on page D which
> > > >some knows where the visitor came from, page A, B or C
> > > and sends him back
> > > >there.
> > >
> > > Sure:
> > > <input type=button value=Back
> > > onclick=javascript:history.back()>
> > >
> > > Köck Matthias
> > >
> > >
> >
> >
>
>