41 users online (0 members and 41 guests)  

Thread: popup window


  Results 1 to 2 of 2

Related

  1. Popup-like window    Forum: HTML Forum
    Replies: 0
  2. Problem with popup window    Forum: Javascript Forum
    Replies: 0
  3. positioning a popup window    Forum: HTML Forum
    Replies: 1
  4. Popup Window    Forum: HTML Forum
    Replies: 2
  5. Popup window to fit?    Forum: HTML Forum
    Replies: 1
  1. #1
    geek987's Avatar
    Man Utd Fans

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    156

    popup window

    i used the popup tool this site provided, but don't know how to change the window size value when i used two diffrent links for two diffrent popups.

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Basically you need to install two popup scripts changing the function tag in both the head and body to differentiate one from the other.

    Starting with no popups on the page use the popup maker make your first popup as normal and include the sections in both your head and into the body

    To make the second popup, again use the popup maker. Now is where you have to make manual changes to the code.

    find this line in the code
    PHP Code:
    function popup(URL) { 
    change to this
    PHP Code:
    function popup1(URL) { 


    next find this section of the code
    PHP Code:
    <A HREF="javascript:popup('your_file_name.html')">Open the Pop Up Window</A
    change to this
    PHP Code:
    <A HREF="javascript:popup1('your_file_name.html')">Open the Pop Up Window</A
    Hope this is correct, maybe Dean or somebody could correct me if I am wrong ;)

    Dave
    Last edited by HTML; 07-20-2002 at 12:38 PM.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting



Tags for this Thread