SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: My FAQ

  1. #1
    SitePoint Zealot
    Join Date
    Oct 2003
    Location
    USA
    Posts
    193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My FAQ

    Hi, I just added a FAQ to my site which uses Javascript. I'm a little new to javascript so if someone could help me out i'd appreciate it. Here's my problem:

    If you go to http://www.inetter.net/faq.php you will see that all of the FAQ questions are opened with all of the answers. Well, I want it so all of them are defaultly closed. Right now I have to click the link twice for the answer to close. Is this a simple fix?

  2. #2
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    add style='display:none;' to the tags you don't want to be initially displayed.

    btw, I couldn't open the page...given that, you may have misspelled the property you're trying to set, in which case IE will usually add it to the object as a new property. Then it will work the second time around because the property is now there.

  3. #3
    SitePoint Zealot CatsEyeDesigns's Avatar
    Join Date
    Dec 2003
    Location
    Florida
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by iNetter
    Cannot find server. Typo in the link or the server/network is down. Repost and maybe we can figure out what your problem is.

  4. #4
    SitePoint Zealot
    Join Date
    Oct 2003
    Location
    USA
    Posts
    193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How's everything looking now?

    http://www.inetter.net/faq.php

  5. #5
    SitePoint Zealot
    Join Date
    Oct 2003
    Location
    USA
    Posts
    193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is strange...the server comes up in FireBird and Opera...but i'm getting a 504 gateway timeout in Internet Explorer...

  6. #6
    SitePoint Zealot CatsEyeDesigns's Avatar
    Join Date
    Dec 2003
    Location
    Florida
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You might want to try posting a message in the Configuring Your Server forum. Sounds to me like there's something wrong with your server setup, but I'm not sure.


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
  •