SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: xshow, xhide

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2005
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    xshow, xhide

    I'm still using the xfenster script and i need your help for one small thing..
    http://cross-browser.com/x/examples/drag2.php

    How can do that:

    i need to verifiy if for instance fen1 is opened !
    in case it's already opened: xhide(fen1)
    and if not opened : xshow(fen1)

    how am i supposed to know if it's shown or hidden???

    thanks in advance

  2. #2
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The object already has a property called 'maximized'. Perhaps you need another property which indicates the hidden/visible state - or you could use the xVisibility function to read the value of 'element.style.visibility'.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2005
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok thanks and how am i suppose to know fen1 state for instance ?
    xVisibility....

    thanks in advance


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •