Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts

    toggle webpage area/DIV visible - not visible

    If you look at the webpage in the link below, and you click on the "Reply to this post" button. An area with email reply options becomes visible, when you click the reply button again the reply options disappear. I have searched through the code AND the javascripts but I don't see the function that is toggling the reply button making the reply options visible/not visible. I would post the page code but the code only seems to work when it is live on the CraigsList website, it does not work when I move it to another web server, even though I moved all the javascripts and re-coded the paths to the javascripts. I also tried, moving the htm and recoding the paths for the javascripts to the original Craigslist url. I understand how to do this with Javascript, I can write a javascript to do what the existing javascript is already doing. My question is not how to re-do what is already existing in the example page, my question is: How is this being done on the example page? Is it done with Javascript or jquery? Where is the code that is toggling the email replies making them visible/not visible?http://minneapolis.craigslist.org/ws...450718046.html

  • #2
    Regular Coder
    Join Date
    Jun 2011
    Location
    CA
    Posts
    105
    Thanks
    0
    Thanked 10 Times in 10 Posts
    Click on the URL for the CSS style sheet near the top of the page. Then do a search for reply_button, and read on down from there. They are using CSS sprites (look it up in Google) for the send options.

  • Users who have thanked StevenHu for this post:

    RCGUA (12-11-2012)

  • #3
    New Coder
    Join Date
    Jan 2009
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts
    How do I mark this post as resolved?


  •  

    Tags for this Thread

    Posting Permissions

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