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

Close link not appearing unless CAPTION is set?

Expand Messages
  • mr. welti
    Hi all, Is it expected behavior that I have to have a CAPTION in order to get a Close link? The code (identical except the line with CAPTION in it): This gets
    Message 1 of 4 , Jul 9, 2009
    • 0 Attachment
      Hi all,

      Is it expected behavior that I have to have a CAPTION in order to get a Close link?

      The code (identical except the line with CAPTION in it):

      This gets a close link as normal:

      <a href="javascript:void(0);"
      onclick="return false;"
      onmouseover="return overlib(
      OLiframeContent('mov.html', 1135, 755, 'if3', 1, 'false'),
      CAPTIONPADDING,4, CAPTION,'',
      WRAP, TEXTPADDING, 0, BORDER, 2, STICKY,
      REF,'thegame', REFC,'LR', REFP,'LR', REFX,5, REFY, 5, NOJUSTX, NOJUSTY, STATUS,'');"
      onmouseout="nd();"><img src="play.jpg" border="0" class="answer" </a>

      This has no close link:

      <a href="javascript:void(0);"
      onclick="return false;"
      onmouseover="return overlib(
      OLiframeContent('mov.html', 1135, 755, 'if3', 1, 'false'),
      WRAP, TEXTPADDING, 0, BORDER, 2,
      REFC,'LR', REFP,'LR', REFX,5, REFY, 5, STICKY, STATUS,'');"
      onmouseout="nd();"><img src="play.jpg" border="0" class="answer" </a>

      The page in question (a total mess, just a test, not for real) is
      http://www.iris.edu/aed2/c/polenet/tests/russ.playgame.html

      Thanks much!
      R.Welti
    • Foteos Macrides
      Russ, You can create your own Close links by calling cClick() for primary popups and cClick2() for secondary popups, as discussed in the Introduction of the
      Message 2 of 4 , Jul 9, 2009
      • 0 Attachment
        Russ,
         
        You can create your own Close links by calling cClick() for primary popups and cClick2() for secondary popups, as discussed in the Introduction of the Command Reference:
         
        In your example which has iframe content, your mov.html iframe document would use parent.cClick() and would face cross-domain restrictions for current versions of browsers.  You're not doing a cross-domain fetch in the example, but be aware of that issue.
         
        Fote
        --
         
        ----- Original Message -----
        From: mr. welti
        Sent: Thursday, July 09, 2009 7:13 PM
        Subject: [OLmws] Close link not appearing unless CAPTION is set?

        Hi all,

        Is it expected behavior that I have to have a CAPTION in order to get a Close link?

        The code (identical except the line with CAPTION in it):

        This gets a close link as normal:

        <a href="javascript:void(0);"
               onclick="return false;"
               onmouseover="return overlib(
        OLiframeContent('mov.html', 1135, 755, 'if3', 1, 'false'),
        CAPTIONPADDING,4, CAPTION,'',
        WRAP, TEXTPADDING, 0, BORDER, 2, STICKY,
        REF,'thegame', REFC,'LR', REFP,'LR', REFX,5, REFY, 5, NOJUSTX, NOJUSTY, STATUS,'');"
               onmouseout="nd();"><img src="play.jpg" border="0" class="answer" </a>

        This has no close link:

        <a href="javascript:void(0);"
               onclick="return false;"
               onmouseover="return overlib(
        OLiframeContent('mov.html', 1135, 755, 'if3', 1, 'false'),
        WRAP, TEXTPADDING, 0, BORDER, 2,
        REFC,'LR', REFP,'LR', REFX,5, REFY, 5, STICKY, STATUS,'');"
               onmouseout="nd();"><img src="play.jpg" border="0" class="answer" </a>

        The page in question (a total mess, just a test, not for real) is
        http://www.iris.edu/aed2/c/polenet/tests/russ.playgame.html

        Thanks much!
        R.Welti
      • mr. welti
        Thanks, Fote, Not to be dense but are you confirming that the only way to get a Close link provided for free is to have a CAPTION? That is my take on the
        Message 3 of 4 , Jul 10, 2009
        • 0 Attachment
          Thanks, Fote,

          Not to be dense but are you confirming that the only way to get a Close link
          provided for "free" is to have a CAPTION? That is my take on the command
          reference and examples.

          Thanks again,
          Russ



          --- In overlibmws@yahoogroups.com, "Foteos Macrides" <fote@...> wrote:
          >
          > Russ,
          >
          > You can create your own Close links by calling cClick() for primary popups and cClick2() for secondary popups, as discussed in the Introduction of the Command Reference:
          > http://www.macridesweb.com/oltest/commandRef.html
          >
          > In your example which has iframe content, your mov.html iframe document would use parent.cClick() and would face cross-domain restrictions for current versions of browsers. You're not doing a cross-domain fetch in the example, but be aware of that issue.
          >
          > Fote
          > --
          >
          > ----- Original
        • Foteos Macrides
          Russ, Yes, if by free you mean automatically. Fote -- ... From: mr. welti To: overlibmws@yahoogroups.com Sent: Friday, July 10, 2009 12:15 PM Subject: Re:
          Message 4 of 4 , Jul 10, 2009
          • 0 Attachment
            Russ,
             
            Yes, if by "free" you mean automatically.
             
            Fote
            --
             
            ----- Original Message -----
            From: mr. welti
            Sent: Friday, July 10, 2009 12:15 PM
            Subject: Re: [OLmws] Close link not appearing unless CAPTION is set?

            Thanks, Fote,

            Not to be dense but are you confirming that the only way to get a Close link
            provided for "free" is to have a CAPTION?  That is my take on the command
            reference and examples.

            Thanks again,
            Russ



            --- In overlibmws@yahoogroups.com, "Foteos Macrides" <fote@...> wrote:
            >
            > Russ,
            >
            > You can create your own Close links by calling cClick() for primary popups and cClick2() for secondary popups, as discussed in the Introduction of the Command Reference:
            >    http://www.macridesweb.com/oltest/commandRef.html
            >
            > In your example which has iframe content, your mov.html iframe document would use parent.cClick() and would face cross-domain restrictions for current versions of browsers.  You're not doing a cross-domain fetch in the example, but be aware of that issue.
            >
            > Fote
          Your message has been successfully submitted and would be delivered to recipients shortly.