Your Ad Here Your Ad Here
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Html Code For Open New Window And Redirect

  1. #1
    Could someone tell me the html code for open in new window and how to redirect one of my web pages also...

  2. Internet, Programming and Graphics   -   #2
    uNz[i]'s Avatar Out of order
    Join Date
    Mar 2003
    Posts
    2,259
    To make a link open a new window, add target="_blank" to the link code.
    Can't help with the redirect though. Sorry.

  3. Internet, Programming and Graphics   -   #3
    BawA's Avatar FST Pioneer BT Rep: +1
    Join Date
    Jun 2003
    Location
    Some Where but not here
    Age
    35
    Posts
    4,541

    Dry

    target="_blank" For opening new blank page
    Example: if u want to open a link in new window
    Code:
    <a href="http://www.dot.com" target="_blank">
    And for Image:
    Code:
    <a href="http://www.dot.com" target="_blank"><img src="http://www.dot.com/image.gif"
    Redirecting: Give Any value u want in "Content" For directing Delay and replace the URl
    Code:
    <meta http-equiv=Refresh content="8; URL=www.dot.com">
    Last edited by bawa@Klite_user; 10-06-2004 at 07:46 AM.


    "You can be mad as a mad dog at the way things went; you can swear and curse the fates, but when it comes to the end, you have to let go"
    Benjamen button

  4. Internet, Programming and Graphics   -   #4
    Thanks, how about the code for printing and bookmarking also...

  5. Internet, Programming and Graphics   -   #5
    BawA's Avatar FST Pioneer BT Rep: +1
    Join Date
    Jun 2003
    Location
    Some Where but not here
    Age
    35
    Posts
    4,541
    Code:
    <a href="javascript:addbookmark()">Add this site to favorites</a>


    "You can be mad as a mad dog at the way things went; you can swear and curse the fates, but when it comes to the end, you have to let go"
    Benjamen button

  6. Internet, Programming and Graphics   -   #6
    Thanks again but that sure would appear right but didnt work when I tested...

  7. Internet, Programming and Graphics   -   #7
    uNz[i]'s Avatar Out of order
    Join Date
    Mar 2003
    Posts
    2,259
    Add to favorites link works with IE, but not Opera or Moz based browsers.
    As far as I'm aware, anyway.

  8. Internet, Programming and Graphics   -   #8
    the target attribute is deprecated.

    There is a crack in everything.
    That's how the light gets in.

  9. Internet, Programming and Graphics   -   #9
    Quote Originally Posted by motherflux
    the target attribute is deprecated.
    Not sure what that means and I am using IE to test but it dont work...

  10. Internet, Programming and Graphics   -   #10
    it should work, but it is no longer a part of the standards as of XHTML 1.0 strict.

    your link should look like this
    HTML Code:
    <a href="http://www.whatever.com" target="_blank">link text</a>

    There is a crack in everything.
    That's how the light gets in.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •