if opening page is not in frame then redriect page

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default if opening page is not in frame then redriect page

    When we are search google our keywords . google get some our page. Our home
    page name is index.html index html include left and right html. so google
    get left or right html. and we would like if someone click the page then
    open home page. ( if opening page is not in frame then redirect
    ndex.html )

    How can we accomplish the problem.

    Thanks



    Tolgay Gül Guest

  2. Similar Questions and Discussions

    1. linking on non frame page to a frame in a frame p
      Hello all, I'm doing a job for a friend. Is there a way to load a link from a non-frame page into a frame in a frame based page? Go to:...
    2. Page frame
      Hi! I want to split an web page in 2 frame.I want to put a flash movie in left side.When I click a button there is in the flash movie a html page...
    3. Opening an HTML page into a frame
      Hi, this is probably quite simple, but any help would still be appriciated. I have a SWF menu in a frame, when a user hits one of the buttons I...
    4. how to redirect from 3 frame page to single page frame?
      Hello, I built some Web site that includes 3 frames page. After a user sign-off I want to redirect him/her to a single frame page. When I use...
    5. centering a frame on the page
      I have an empty frame in between two frames with content (above and below it). The middle frame will have content loaded in it on button clicks. I...
  3. #2

    Default Re: if opening page is not in frame then redriect page

    <script LANGUAGE="JavaScript">
    if (top == self) {
    var newURL = 'http://www.yourdomain.co.uk/index.html'
    window.setTimeout('GotoIndex()',0);
    }
    function GotoIndex() { top.location.href = newURL; }
    </script>

    Note, newURL MUST be the full path to the file itself, and NOT just the
    domain name.

    --
    Regards

    Steven Burn
    Ur I.T. Mate Group
    [url]www.it-mate.co.uk[/url]

    Keeping it FREE!

    Disclaimer:
    I know I'm probably wrong, I just like taking part ;o)


    Tolgay Gül <tolgay@veezy.com> wrote in message
    news:OSiwhrKxDHA.2712@tk2msftngp13.phx.gbl...
    > When we are search google our keywords . google get some our page. Our
    home
    > page name is index.html index html include left and right html. so google
    > get left or right html. and we would like if someone click the page then
    > open home page. ( if opening page is not in frame then redirect
    > ndex.html )
    >
    > How can we accomplish the problem.
    >
    > Thanks
    >
    >
    >

    Steven Burn Guest

  4. #3

    Default Re: if opening page is not in frame then redriect page

    Thank you for help. It works perfectly

    "Tolgay Gül" <tolgay@veezy.com> wrote in message
    news:OSiwhrKxDHA.2712@tk2msftngp13.phx.gbl...
    > When we are search google our keywords . google get some our page. Our
    home
    > page name is index.html index html include left and right html. so google
    > get left or right html. and we would like if someone click the page then
    > open home page. ( if opening page is not in frame then redirect
    > ndex.html )
    >
    > How can we accomplish the problem.
    >
    > Thanks
    >
    >
    >

    Tolgay Gül 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