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