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

Re: Fade Page

Expand Messages
  • aighost_t3
    It s all working great now. Thanks for all your help :D ... the script block where you did the cClick daisy chain add this ... call. ... of it on the
    Message 1 of 5 , Jul 1 3:21 AM
    • 0 Attachment
      It's all working great now. Thanks for all your help :D

      --- In overlibmws@yahoogroups.com, "Foteos Macrides" <fote@...> wrote:
      >
      > To have the MODAL popup close if the user clicks on the shield, in
      the script block where you did the cClick daisy chain add this
      function:
      >
      > function myCloseModal(){
      > if(OLshowingsticky&&o3_modal&&OLmMask){
      > OLmMask.onclick=null;
      > return cClick();
      > }
      > }
      >
      > and for your MODAL popups use:
      >
      > onmouseover="overlib( . . . ); OLmMask.onclick=myCloseModal;"
      >
      >
      > To do image swapping for a Close image pair, using your Submit
      image pair as an example, in the script block define:
      >
      > var close_off = new Image();
      > close_off.src = '/images/search_off.gif';
      >
      > var close_on = new Image();
      > close_on.src = '/images/search_on.gif';
      >
      > var closeimg=
      > '<img name="closeimage" src="/images/search_off.gif" '
      > +'width="43" height="15" border="0" '
      > +'onmouseover="document.closeimage.src=close_on.src" '
      > +'onmouseout="document.closeimage.src=close_off.src">';
      >
      > and include CLOSECLICK, CLOSETEXT,closeimg, in the overlib function
      call.
      >
      > Fote
      > --
      >
      > ----- Original Message -----
      > From: aighost_t3
      > To: overlibmws@yahoogroups.com
      > Sent: Tuesday, July 01, 2008 12:01 AM
      > Subject: [OLmws] Re: Fade Page
      >
      >
      > The modal works very nicely :D
      > Is there a way to have the popup closed if someone clicks outside
      of it on the modalshield thing though?
      >
      > And.. as for the close button question, if you go here: http://
      www.skiesofwar.com/ and rollover the search button at the top right,
      you will see what my "rollover.js" script does. I am wanting that
      effect on the close image for a sticky popup.
      >
      > Thanks for all your help so far.
      >
      > --- In overlibmws@yahoogroups.com, Foteos Macrides wrote:
      > >
      > > I don't follow your first question. You can use an image
      instead of the default string "Close" for the close link/button in
      CAPTIONs of STICKY popups via the CLOSETEXT command, as illustrated
      and discussed at length in the:
      > >
      > > http://www.macridesweb.com/oltest/STICKY.html
      > >
      > > support document. What are you trying to do beyond that with
      the rollover.js script?
      > >
      > > Your second question in effect is about MODAL popups with the
      MODALSCROLL command included in the overlib call, like that invoked
      via the Google image link in:
      > >
      > > http://www.macridesweb.com/oltest/
      > >
      > > See the:
      > >
      > > http://www.macridesweb.com/oltest/MODAL.html
      > >
      > > support document for more information.
      > >
      > > Fote
      > > --
      > >
      > > ----- Original Message -----
      > > From: aighost_t3
      > > To: overlibmws@yahoogroups.com
      > > Sent: Monday, June 30, 2008 12:55 AM
      > > Subject: [OLmws] Fade Page
      > >
      > >
      > > New question, two actually.
      > >
      > > The first to do with using an image as a close button. I have
      a script "rollover.js" which allows me to use <img src='' srcover=''>
      to choose the image and image to be shown when the mouse is on it.
      but it wont work for the close image on a sticky popup.
      > >
      > > I can't find the site where I got the script from, but
      > > www.skiesofwar.com/rollover.js is the script.
      > >
      > >
      > > Second question; Is it possible to have the page faded/
      darkened like in the examples on this page: http://jquery.com/demo/
      thickbox/ (Different script, I know) and have the STICKY popup closed
      when clicking outside of the popup?
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.