Javascript back button

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Javascript back button

    A client wanted a simple flash button adding to an html page to use as a 'back'
    button.

    I've used the script:

    //Goto Webpage Behavior
    getURL("javascript:history.back()","_self");
    //End Behavior
    for this .. but the button only works after it's been pressed twice?

    Can anybody help .. thanks

    therm_91 Guest

  2. Similar Questions and Discussions

    1. Back button
      Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave...
    2. Back button / Javascript History
      Hi I have a coldfusion page which allows users to view different colours of clothes. By clicking on a red square you get an image for the red...
    3. Simple Back Button
      I want to create a simply back button. The previous behaviour in Director returns to previous marker, however I would like to have a button which...
    4. Back button - how?
      <input type="button" onClick="javascript:history.back();" /> <a href="javascript:history.back();">back</a> or <input type="button"...
    5. JavaScript Access to Button in form tags (webcontrol or html button)
      Hello, I have a button called LoadBtn, which exists in <form name="Form1" runat=server></form> tags. I then have javascript loaded outside of...
  3. #2

    Default Re: Javascript back button

    therm_91 wrote:
    > A client wanted a simple flash button adding to an html page to use as a 'back'
    > button.
    >
    > I've used the script:
    >
    > //Goto Webpage Behavior
    > getURL("javascript:history.back()","_self");
    > //End Behavior
    > for this .. but the button only works after it's been pressed twice?
    >
    > Can anybody help .. thanks
    >
    I don't know correct solution, but what you do incorrect - the thirst
    argument should be a url string, not action call. something like this:
    getURL("javascript:window.history.previous","_self ");

    Unfortunetly this doesn't work becouse security futures.
    try to call it twice :-))

    RusD Guest

  4. #3

    Default Re: Javascript back button

    Are you using any detection script that redirects the user based on whether
    or not the flash player is installed??

    John

    --
    ----------------------------------------------------------------------------
    -----------
    RESOURCES
    [url]http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash[/url]
    ----------------------------------------------------------------------------
    -----------
    TUTORIALS at
    [url]www.laiverd.com[/url]
    Flash & PHP Emailform
    Using textfiles in Flash
    ----------------------------------------------------------------------------
    -----------


    Laiverd.COM Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139