38 users online (1 members and 37 guests)  


  Results 1 to 4 of 4

Related

  1. css question    Forum: CSS Forum
    Replies: 2
  2. Yet another question?    Forum: HTML Forum
    Replies: 3
  3. AnOtHeR QuEsTiOn    Forum: HTML Forum
    Replies: 1
  4. Question    Forum: HTML Forum
    Replies: 2
  5. another question...    Forum: HTML Forum
    Replies: 6
  1. #1
    nicholossia's Avatar
    Disabled

    Status
    Offline
    Join Date
    Oct 2003
    Location
    Oklahoma City, OK
    Posts
    8

    another pop-up question

    Hi everyone, I'm new to this forum and html. Right now I am designing my own website and need some guidance. I have read how to make a link open in a new window with no toolbars, scrollbars, or address but would like to take that a step further. I plan to provide a "video" link on my main page. When the viewer clicks on "video," I'd like a pop-up style window to ask their connection speed. After clicking their speed, the appropriate page will open in the original window, and the pop-up will close. Basically, I will have three identical looking video pages with links to different size files to accommodate the different speeds.
    If anyone can help me out, point me in the right direction, or even give ideas on how to simplify this idea, I will really appreciate it.
    Thanks in advance,
    Nicholi

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi there,

    Javascript recognises the parent of a popup window. you can access it using 'opener'. A generic example would be -

    Code:
    opener.location.href='myPage.html'
    Hope that helps.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    nicholossia's Avatar
    Disabled

    Status
    Offline
    Join Date
    Oct 2003
    Location
    Oklahoma City, OK
    Posts
    8
    Thanks for the reply. I'm sure that's exactly what I need. Unfortunately, I am not familiar with javascript. The other websites that I've looked at always have <script language="javascript"> followed by function. Does the code you gave me need to be part of that "function"?
    Please forgive my lack of knowledge on the subject.
    Nicholi

  4. #4
    nicholossia's Avatar
    Disabled

    Status
    Offline
    Join Date
    Oct 2003
    Location
    Oklahoma City, OK
    Posts
    8
    I just figured it out.
    Thank you very much for the help.
    Nicholi



Tags for this Thread