Html code
Results 1 to 5 of 5

Thread: Html code

  1. #1
    Member
    Join Date
    Oct 2002
    Posts
    32

    Html code

    Can anyone take a look at this for me and show me how to make this display in a new window.

    <form name=gs method=GET action=http://images.google.com/images>
    <INPUT TYPE=hidden name=num value=20><INPUT TYPE=hidden name=hl value=en><INPUT TYPE=hidden name=imgsafe value=off><INPUT TYPE=hidden name=safe value=off><input type=text name=q size=25 maxlength=256 value="">
    <input type=submit name=btnG value="Search">

    <INPUT type=radio name=meta value="site=search" checked> Search the Web

    <INPUT type=radio name=meta value="site=groups"> Search Groups

    <INPUT type=radio name=meta value="site=images"> Search for Images

    <INPUT type=radio name=meta value="site=news"> Search News</form>

    Its a google search block and currently opens in same page but I would like to open in a new

    thank you

  2. #2
    Senior Member Zonewalker's Avatar
    Join Date
    Jul 2002
    Posts
    949
    well.. for the Google search image replace the <A HREF> tag withthe following

    <A HREF=http://www.google.com/search target="_blank">

    Clicking on the Google image should now open in a new window

    I'll get back to you on the <INPUT> tag... as I'm not immediately sure about this one (don't require any input on my site so don't generally use this tag)

    Z
    Quis Custodiet Ipsos Custodes

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    95

    Lightbulb Alternative...

    Hey Eddie,

    There is another way for you to make your info appear in a separate window in Internet Explorer... All ya gotta do is make the link right... <A HREF="http://www.somesite.com">.......
    Then all you need to do is add this in...........<A HREF="http://www.somesite.com"Hold SHIFT while clicking this link to goto "Somesite"> You see, whenever you hold the "Shift" key and click on a link in IE...It will open a new window

    If that helps...good
    If it doesn't....better luck next time
    See ya

  4. #4
    Senior Member Zonewalker's Avatar
    Join Date
    Jul 2002
    Posts
    949
    yes he could do that turmoil but since he is the one writing the webpage that isn't much use to his visitors. They are the ones who would have to shift click and I can't see many surfers doing that....

    Eddie... as you have multiple buttons going to different sites on google, I'm thinking that using an onclick event in the input tag making a call to javascript function window.open might be the way to go

    anyone else got any ideas?
    Quis Custodiet Ipsos Custodes

  5. #5
    Member
    Join Date
    Oct 2002
    Posts
    32
    I dint think about that.. That sounds like a real good idea... THanks Zonewalker I will give it a try

Posting Permissions

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