Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. wondering why about the site..jump..other site..

wondering why about the site..jump..other site..

Scheduled Pinned Locked Moved JavaScript
comquestion
16 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T thatraja

    Why re-posts on Web Development[^] & PHP[^] forums? X| BTW the site(you have mentioned in your question) is not loading for me..It showing something Chinese words in Title bar.

    hack004 wrote:

    but..i in "search engine"click the site,,,it will be jumpother site....i have seen it's source code,but no find out how does it jump?

    May be code stored in other javascript file. Using javascript(win.open()) you can open another window. Also the target=_blank will open new window. See the below code.

    <html>
    <head>
    <title>Show search results in new window</title>
    <script language="javascript" type="text/javascript">
    function openwin()
    {
    window.open("http://www.codeproject.com/search.aspx?q=" + document.getElementById("txtText").value + "&sbo=kw","NewWindow","width=500,height=500");
    }
    </script>
    </head>
    <body>
    <input type="text" id="txtText">
    <A href="javascript: openwin()">Search</A>
    </body>
    </html>

    The above page will show the search results(Codeproject) in new window.

    thatraja


    My Dad had a Heart Attack on this day so don't...
    Pompeyboy3 here
    | Nobody remains a virgin, Life screws everyone :sigh:

    H Offline
    H Offline
    hack004
    wrote on last edited by
    #4

    thanks for reply~~~ --------------------- it's not open a other URL,,, i'm mean is,,if in "search engine" click key work,for example it will be open www.123.com,but i'm type the URL in the browser,just show normal~

    1 Reply Last reply
    0
    • T thatraja

      Why re-posts on Web Development[^] & PHP[^] forums? X| BTW the site(you have mentioned in your question) is not loading for me..It showing something Chinese words in Title bar.

      hack004 wrote:

      but..i in "search engine"click the site,,,it will be jumpother site....i have seen it's source code,but no find out how does it jump?

      May be code stored in other javascript file. Using javascript(win.open()) you can open another window. Also the target=_blank will open new window. See the below code.

      <html>
      <head>
      <title>Show search results in new window</title>
      <script language="javascript" type="text/javascript">
      function openwin()
      {
      window.open("http://www.codeproject.com/search.aspx?q=" + document.getElementById("txtText").value + "&sbo=kw","NewWindow","width=500,height=500");
      }
      </script>
      </head>
      <body>
      <input type="text" id="txtText">
      <A href="javascript: openwin()">Search</A>
      </body>
      </html>

      The above page will show the search results(Codeproject) in new window.

      thatraja


      My Dad had a Heart Attack on this day so don't...
      Pompeyboy3 here
      | Nobody remains a virgin, Life screws everyone :sigh:

      H Offline
      H Offline
      hack004
      wrote on last edited by
      #5

      Picture.. ====================== for example picture~if i'm click that,it will be jump to http://www.sengupower.com/index1.asp[^] ==== but wo type www.esp.com.cn[^] just normal~

      T 1 Reply Last reply
      0
      • H hack004

        Picture.. ====================== for example picture~if i'm click that,it will be jump to http://www.sengupower.com/index1.asp[^] ==== but wo type www.esp.com.cn[^] just normal~

        T Offline
        T Offline
        thatraja
        wrote on last edited by
        #6

        Now the 2nd site is not loading for me. Anyway two reasons(I guess) I think they(1st site) are redirecting to another site. or The domain address may be expired.

        thatraja


        My Dad had a Heart Attack on this day so don't...
        Pompeyboy3 here
        | Nobody remains a virgin, Life screws everyone :sigh:

        H 1 Reply Last reply
        0
        • T thatraja

          Now the 2nd site is not loading for me. Anyway two reasons(I guess) I think they(1st site) are redirecting to another site. or The domain address may be expired.

          thatraja


          My Dad had a Heart Attack on this day so don't...
          Pompeyboy3 here
          | Nobody remains a virgin, Life screws everyone :sigh:

          H Offline
          H Offline
          hack004
          wrote on last edited by
          #7

          may you give me your MSN or other? :-D

          T 1 Reply Last reply
          0
          • H hack004

            may you give me your MSN or other? :-D

            T Offline
            T Offline
            thatraja
            wrote on last edited by
            #8

            :confused: what?

            thatraja


            My Dad had a Heart Attack on this day so don't...
            Pompeyboy3 here
            | Nobody remains a virgin, Life screws everyone :sigh:

            H 1 Reply Last reply
            0
            • T thatraja

              :confused: what?

              thatraja


              My Dad had a Heart Attack on this day so don't...
              Pompeyboy3 here
              | Nobody remains a virgin, Life screws everyone :sigh:

              H Offline
              H Offline
              hack004
              wrote on last edited by
              #9

              :sigh: my english no very good,,my you give me your MSN or other contact tool? i'm say very detail

              T 1 Reply Last reply
              0
              • H hack004

                :sigh: my english no very good,,my you give me your MSN or other contact tool? i'm say very detail

                T Offline
                T Offline
                thatraja
                wrote on last edited by
                #10

                hack004 wrote:

                :sigh: my english no very good

                Its OK, sometimes my grammar sucks too.

                hack004 wrote:

                you give me your MSN or other contact tool?

                Why? For questions? I suggest you to use forums instead of mailing to individuals because you can find number of solutions(for questions) in forums. Here in Codeproject, you can see 100s of experts answering questions everyday. Still you want mine see my profile page....but don't send me questions please.

                thatraja


                My Dad had a Heart Attack on this day so don't...
                Pompeyboy3 here
                | Nobody remains a virgin, Life screws everyone :sigh:

                H 1 Reply Last reply
                0
                • T thatraja

                  hack004 wrote:

                  :sigh: my english no very good

                  Its OK, sometimes my grammar sucks too.

                  hack004 wrote:

                  you give me your MSN or other contact tool?

                  Why? For questions? I suggest you to use forums instead of mailing to individuals because you can find number of solutions(for questions) in forums. Here in Codeproject, you can see 100s of experts answering questions everyday. Still you want mine see my profile page....but don't send me questions please.

                  thatraja


                  My Dad had a Heart Attack on this day so don't...
                  Pompeyboy3 here
                  | Nobody remains a virgin, Life screws everyone :sigh:

                  H Offline
                  H Offline
                  hack004
                  wrote on last edited by
                  #11

                  ok,so...i'm upload a GIF image..

                  T 1 Reply Last reply
                  0
                  • H hack004

                    ok,so...i'm upload a GIF image..

                    T Offline
                    T Offline
                    thatraja
                    wrote on last edited by
                    #12

                    :confused: I give up.

                    thatraja


                    My Dad had a Heart Attack on this day so don't...
                    Pompeyboy3 here
                    | Nobody remains a virgin, Life screws everyone :sigh:

                    H 2 Replies Last reply
                    0
                    • T thatraja

                      :confused: I give up.

                      thatraja


                      My Dad had a Heart Attack on this day so don't...
                      Pompeyboy3 here
                      | Nobody remains a virgin, Life screws everyone :sigh:

                      H Offline
                      H Offline
                      hack004
                      wrote on last edited by
                      #13

                      :-D can't upload GIF picture...may i send to your mail?

                      1 Reply Last reply
                      0
                      • T thatraja

                        :confused: I give up.

                        thatraja


                        My Dad had a Heart Attack on this day so don't...
                        Pompeyboy3 here
                        | Nobody remains a virgin, Life screws everyone :sigh:

                        H Offline
                        H Offline
                        hack004
                        wrote on last edited by
                        #14

                        here..that's gif picture http://115.com/file/cl3kn5ai(1).rar

                        A 1 Reply Last reply
                        0
                        • H hack004

                          here..that's gif picture http://115.com/file/cl3kn5ai(1).rar

                          A Offline
                          A Offline
                          AprNgp
                          wrote on last edited by
                          #15

                          hack004 wrote:

                          http://115.com/file/cl3kn5ai(1).rar

                          What is this ???? its something written in Chinese ...

                          Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

                          1 Reply Last reply
                          0
                          • H hack004

                            www.esp.com.cn[^]

                            i in the browser type that URL,,,just no abnormal,,but..i in "search engine"click the site,,,it will be jumpother site....i have seen it's source code,but no find out how does it jump? in advance thanks~ - -
                            "

                            A Offline
                            A Offline
                            AprNgp
                            wrote on last edited by
                            #16

                            Don't understand what the problem is ... its taking me to http://www.esp.com.cn/index.aspx[^]

                            Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups