Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-11-2012, 07:38 PM   PM User | #1
RCGUA
New Coder

 
Join Date: Jan 2009
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
RCGUA is an unknown quantity at this point
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
RCGUA is offline   Reply With Quote
Old 12-11-2012, 08:44 PM   PM User | #2
StevenHu
Regular Coder

 
Join Date: Jun 2011
Location: CA
Posts: 105
Thanks: 0
Thanked 10 Times in 10 Posts
StevenHu is an unknown quantity at this point
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.
__________________
Steve Husting
http://iphonedevlog.wordpress.com
StevenHu is offline   Reply With Quote
Users who have thanked StevenHu for this post:
RCGUA (12-11-2012)
Old 12-11-2012, 09:33 PM   PM User | #3
RCGUA
New Coder

 
Join Date: Jan 2009
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
RCGUA is an unknown quantity at this point
How do I mark this post as resolved?
RCGUA is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, jquery

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:19 AM.


Advertisement
Log in to turn off these ads.