Results 1 to 4 of 4

Thread: [Internet] HTML buttons

  1. #1
    Money Fist's Avatar Che-Che get the yayo
    Join Date
    Oct 2003
    Location
    London, England
    Age
    40
    Posts
    996

    Surprised/Amazed

    i have 5 button questions

    i have 2 frames on my page
    frame1.htm
    and frame2.htm

    im in need of

    button to open new window
    button to close the new window
    button to make new window yellow

    button to make target frame2 green
    button to make target frame2 blue


    the first 3 are beyond my meager knowledge
    but the last 2 i am having difficulty with

    this is the format i use to make my buttons

    <FORM METHOD="LINK" ACTION="frame1.htm">
    <INPUT TYPE="submit" VALUE="green frame2">
    </FORM>

    thanks in advance


  2. Internet, Programming and Graphics   -   #2
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    Code to close the new window:
    For a regular window, use this:

    <a href="javascript:window.close()">Close</a>

    If you are using a frameset, then use this in any page in any frame in the frameset:

    <a href="javascript:top.window.close()">Close</a>
    Code to open in new window:
    <a href="whatever" target="_blank">Name of URL or image</a>

    and what do you mean make the window yellow and make the target fram2 green and blue?

  3. Internet, Programming and Graphics   -   #3
    Money Fist's Avatar Che-Che get the yayo
    Join Date
    Oct 2003
    Location
    London, England
    Age
    40
    Posts
    996
    like background colour of the target frame (frame2.htm)

    thank u soooo much for that


  4. Internet, Programming and Graphics   -   #4
    thax for letting me no

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
  •