Hello,
I am having link inside iframe & I want to open that link in new page without redirecting the iframe or its parent page. I have tried with window.location.href & window.parent.location.href but it doesn't helps. How can I rediect it properly?
Please help me. Thanks in advance..

    set the target into _blank

    that willl open that page in a new blank page.

      I tried with that also... but it redirects the the whole page to new page. Instead what I want is to keep the current page to its location. And it should redirect only on the link on which I have clicked. How can I do that?

        in your a href: set a target to the iframe name, where you want to open that page.

          actually my page design is having one navigational iframe and one content frame & in my navigational frame i am having one link which I want to redirect to another page without redirecting any of iframes or its parent page. Is it possible to do so?

            problem solved 🙂 What i did is I have called one function onclick event of the link inside iframe and set its target as blank.
            Here is the function..

            function redirectMe(location)
            {
            window.open(location);
            return false;
            }

            And it worked....
            HTH to someone....🙂

              🙂 that best one if yourself realize the solution : )

              And don't forget to set this thread as resolved 🙂

              Hello, jjozsi

                will you see a menu by clicking on Thread tools: Set This Thread Resolved. Then click on it.

                If its not working, then i don't know.

                Hello,
                jjozsi

                  Thread marked as resolved.

                  For future reference, the "Thread Tools" menu requires Javascript in order to function. Otherwise, you get redirected to a list of options (and apparently the "Mark Thread Resolved" patch never made it to that non-JS menu).

                    Write a Reply...