Loading ...
Sorry, an error occurred while loading the content.

Re: [NH] info pop up

Expand Messages
  • GilaMountainDulcimers.com
    I am a copy and paste kind of gal and now my problem is solved. Thank EVERYONE for their help in this. You guys are just too great!!!!! Hugs, Kerry Coates in
    Message 1 of 20 , Nov 21, 2007
    • 0 Attachment
      I am a copy and paste kind of gal and now my problem is solved. Thank EVERYONE for their help in this. You guys are just too great!!!!!

      Hugs,
      Kerry Coates in New Mexico
      http://www.network-marketing-mlm-business.com
      http://www.Amazing-Health-Products.com
      http://www.GilaMountainDulcimers.com
      http://www.GilaMountainDulcimers.com/pekes-family.htm




      ----- Original Message -----
      From: Chris Dart
      To: ntb-html@yahoogroups.com
      Sent: Wednesday, November 21, 2007 7:35 AM
      Subject: FW: [NH] info pop up


      Hi again,

      I copied the below from a working page with other stuff in it. I tried
      to simplify by removing the extra and removed too much!

      I hope this is better.


      Regards

      Chris Dart
      Mobile: +31 652 460 610


      ________________________________

      From: Chris Dart
      Sent: 21 November 2007 15:29
      To: 'ntb-html@yahoogroups.com'
      Subject: RE: [NH] info pop up

      Hi,

      I am not sure where all this has got to so far but I use this scheme.
      You will notice there is a close window function. If there are several
      pop-ups then each can have the same name and use the same window which
      is closed when the main window closes (see call in body tag). The url to
      fill the window is passed by 'url' along with with all size, scrollbar
      etc by 'size'.

      In header of calling page:

      function infoWindow(infoURL,shortinfo,size)
      {
      if (typeof (popWindow) == "undefined" || popWindow.closed == true) //
      no pop window
      { // if you do not check state of pop window first you will get error
      if in wrong state
      popWindow = window.open(infoURL,"shortInfo",size); // make pop window
      popWindow.focus();
      return false;
      }
      else
      {
      popWindow.close();
      popWindow = window.open(infoURL,"shortInfo",size); // there is a pop
      window so close it
      popWindow.focus(); // and open new
      window with new url
      return false;
      }
      }

      function closeWindow()
      {
      if (typeof (popWindow) == "undefined" || popWindow.closed == true)
      {
      return false; // if window closed do nothing
      }

      else
      {
      popWindow.close(); // not closed so close it
      }
      }

      Body of calling page:
      <body onunload="closeWindow()">


      In the link calling the pop-up:

      <a href="javascript:void(0)" onclick="return
      infoWindow('Personnel/HolidaysATV/Pop_HolsATV.htm','popWindow','width=95
      0,height=550,left=20,top=20,resizable=yes,scrollbars=yes')"
      target="_blank" > your label</a>

      'Personnel/HolidaysATV/Pop_HolsATV.htm' = infoURL

      'popWindow' = shortInfo (window name)

      'width=950,height=550,left=20,top=20,resizable=yes,scrollbars=yes' =
      size
      Note that if you put anything in size then ONLY that is shown. If
      nothing in size then all is shown. If for example you leave
      'resizable=yes' out then it cannot be resized - often annoying!
      left and top are position and width and height are size.

      You need nothing special in the called page.

      Regards

      Chris Dart
      Mobile: +31 652 460 610


      ________________________________

      From: ntb-html@yahoogroups.com [mailto:ntb-html@yahoogroups.com] On
      Behalf Of GilaMountainDulcimers.com
      Sent: 21 November 2007 07:47
      To: ntb-html@yahoogroups.com
      Subject: Re: [NH] info pop up

      Thank you, Jeff, but that is not what I mean. I don't want it to just
      open into another window. I want it to act as a pop-up type thing, not a
      whole page. But thank you anyway!!!

      Hugs,
      Kerry Coates in New Mexico
      http://www.network-marketing-mlm-business.com
      <http://www.network-marketing-mlm-business.com>
      http://www.Amazing-Health-Products.com
      <http://www.Amazing-Health-Products.com>
      http://www.GilaMountainDulcimers.com
      <http://www.GilaMountainDulcimers.com>
      http://www.GilaMountainDulcimers.com/pekes-family.htm
      <http://www.GilaMountainDulcimers.com/pekes-family.htm>

      ----- Original Message -----
      From: Jeff Scism
      To: ntb-html@yahoogroups.com <mailto:ntb-html%40yahoogroups.com>
      Sent: Tuesday, November 20, 2007 8:06 PM
      Subject: Re: [NH] info pop up

      GilaMountainDulcimers.com wrote:
      >
      > I am trying to figure out how to make an html page open as a pop up
      > when someone clicks on the link --
      > Instead of just opening up another page, I want to put some
      > "additional information" about products on my website that will open
      > up in a little side window pop up that they can close and still remain

      > on the same page they were on. This would be like ingredients lists or

      > additional uses for the products or compatible products. Do you
      > understand what I am talking about???\\
      >

      Sure in the LINK to the new page add at the end inside the ">"
      Target="new"

      That tells the browser to open it in a new window on top.

      [Non-text portions of this message have been removed]

      [Non-text portions of this message have been removed]





      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.