Flash Games

 FAQ   Search   Members   Groups   User Control Panel      Login 

It is currently Fri Dec 05, 2008 2:48 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Javascript expanding box problem
PostPosted: Fri May 30, 2008 3:21 am 
Offline

Joined: Fri May 30, 2008 3:17 am
Posts: 1
Hi guys.

I hope you can help with a problem I have. I’m making a new site and I’d like to incorporate some Javascript functionality to do the following.

I’d like to have a news pane which initially shows only the first 2-3 lines of the text with the rest of the text hidden. I’d like to have a “read more” button that expands the box when clicked to show all of the news text.

I’ve included some images of what I’d like to achieve to hopefully show what I mean better.

http://www.tokyorepublik.com/images/initialBox.png First image – Closed box showing 2-3 lines of text only.
http://www.tokyorepublik.com/images/expandedBox.png Second image – The expanded view showing all of the text.

I’ve not got much experience in Javascript so if someone could point me towards a script or tutorial, I’d be very grateful.

Thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games

Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User:
Pass:
Log me on automatically each visit: