Forum

Yampiz Forum

Sharing let knowledge Spreaded, Reading let spirits growth, Creative let culture extended, Let us
  • 禁止廣告文
  • 知識傳播
  • 閱讀
  • 心靈成長
  • 創作
  • 文化傳承
Dictionary / Programming / 網頁/網站程式 / DHtml /

怎麼指定連結時的 Target 參數

New Subject
Random
Previous
Next
|
    怎麼指定連結時的 Target 參數

    ???不好意思我想請問高手們:

    我想在網站裡用動態的連結,然後用 window.location 去連結,可是他都會把原頁cover 過去,怎麼配會 Target 參數丫?

    一般的連結寫法 <a href='....' target='_blank'>Link</a>
    換成 Location 寫法該怎麼寫呢?

    請大家幫幫忙!

    • Keywords : 請大家幫幫忙, 網站裡用動態, 會把原頁cover, 想請問高手, 寫法該怎麼寫呢, window, target, location, _blank, Target, Location
    00
    2009-04-15T04:29:16+0000
    ???Hi~

    你可以用 window.open('url','_blank');的方式來實現唷!

    00
    2009-04-15T05:37:55+0000


    • Now, you can post comments by Facebook Account when your Yampiz account was logout or unvariable. whatever, we suggest to post comment by Yampiz Account to get more bounds to join new events of Heyxu
    Comment
     
    Verify
    Comment

    Facebook Page

    QR-Code and APP Launcher

    User Guide
    This Webpage

    In those service tabs, "Scan QRCode, in mobile device" or "Click the button, in this device" to open webpage or APP-related operations.
    QRCode
    • Auto Platform
      For better browsing experience, it will auto detects your device to display webpage.
    • Bug Report
      Tell us about the idea, problem and errors you found.
    • Comodo Secure
      The sensitive data transmission adopts by SSL-2048 authenticated encryption.
    • Copyright
      © 2009 YamPiz Digital Inc. & Jaby Group. All rights reserved.
    • Revised Version
      V2.2.552
      05 Dec 2025 (GMT+8)