Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Java script open in a new window

Java script open in a new window

Scheduled Pinned Locked Moved Web Development
helpjavajavascripthtmlsales
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alex_sleiborg
    wrote on last edited by
    #1

    Hi... I have never used javascript before, so i think it's a bit difficult for me. But i promissed to help a friend who has created a web shop in java. With some kind of software, that has created his code. So the source is a mess. My problem is when you have to type your customer adress, i want to open it in a new window, not in the iframe (That how it works know, i think..!) I want customerdtl.html to open in it's own window orderContentFrame.location="../customerdtl.html"; Hope someone can help af javascript newbie

    G K 2 Replies Last reply
    0
    • A alex_sleiborg

      Hi... I have never used javascript before, so i think it's a bit difficult for me. But i promissed to help a friend who has created a web shop in java. With some kind of software, that has created his code. So the source is a mess. My problem is when you have to type your customer adress, i want to open it in a new window, not in the iframe (That how it works know, i think..!) I want customerdtl.html to open in it's own window orderContentFrame.location="../customerdtl.html"; Hope someone can help af javascript newbie

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Use the window.open method: widow.open('../customerdtl.html', '_blank'); You can also use a thirt parameter, specifying the size of the window that is opened, and some other stuff. Be aware that the form might rely on being opened in the iframe. You might have to change some of the code there also to make it work. --- b { font-weight: normal; }

      1 Reply Last reply
      0
      • A alex_sleiborg

        Hi... I have never used javascript before, so i think it's a bit difficult for me. But i promissed to help a friend who has created a web shop in java. With some kind of software, that has created his code. So the source is a mess. My problem is when you have to type your customer adress, i want to open it in a new window, not in the iframe (That how it works know, i think..!) I want customerdtl.html to open in it's own window orderContentFrame.location="../customerdtl.html"; Hope someone can help af javascript newbie

        K Offline
        K Offline
        K Baruah
        wrote on last edited by
        #3

        This method is used to open a new browser window window.open('../customerdtl.html','name','height=200,width=150') name is a string containing the name of the new window. Kaushik Baruah is presently working as a Programmer Analyst in Cognizant Technology Solutions,Kolkata,India -- modified at 7:03 Friday 30th September, 2005

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups