Pop up with greyed out background

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • omerbutt
    Contributor
    • Nov 2006
    • 638

    #16
    obviously you can , in javascript you are asking i think
    Code:
    location.reload()

    Comment

    • KeredDrahcir
      Contributor
      • Nov 2009
      • 426

      #17
      When I refresh by clicking on the refresh button or pressing F5 the page refreshes and then takes you to where you were before. The
      Code:
      location.reload();
      function, take me back to the top of the page and leaves me there. Is they any way round that?

      Comment

      • KeredDrahcir
        Contributor
        • Nov 2009
        • 426

        #18
        Another question, if you've put something on the onunload, I need it to happen is the user closes the window. Can I overide that, if they do something else?

        Comment

        • omerbutt
          Contributor
          • Nov 2006
          • 638

          #19
          i am not sure about it but try using
          [CODE=javascript]
          location.replac e(window.locati on.href);
          [/CODE]
          and could not get the last post what are you trying to say
          regards,
          Omer Aslam

          Comment

          • KeredDrahcir
            Contributor
            • Nov 2009
            • 426

            #20
            I'll try your suggestion. Don't worry about the last post.

            Comment

            • omerbutt
              Contributor
              • Nov 2006
              • 638

              #21
              if you were using the <a> links as like
              <a href="#panel1"> Panel 1</a>
              then it would work i think that is you were looking for
              Regards,
              Omer Aslam

              Comment

              • KeredDrahcir
                Contributor
                • Nov 2009
                • 426

                #22
                That's possibly the easiest thing to do; from the way my site operates. I'll give that one a try first.
                Thanks.

                Comment

                • omerbutt
                  Contributor
                  • Nov 2006
                  • 638

                  #23
                  yeah sure
                  Regards,
                  Omer Aslam

                  Comment

                  Working...