Reply
Old 10-31-2009, 03:01 PM Expanding text
Novice Talker

Posts: 8
Name: Rosilea Falgout
Trades: 0
Hello,

I would like to display testimonials on a web site. I have quite a few and would like to initially display part of the testimonial and give the user the option to click on the last word of the visible text and then the complete testimonial would appear. Also, when the user clicks off can the testimonial return to the partial text?

Thank you,

Rose
rosef is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 10-31-2009, 03:45 PM Re: Expanding text
Ultra Talker

Posts: 302
Name: Doug
Trades: 1
Actually I can think of three ways to do this kind of affect.

1. Using a Javascript that would allow an expanded box ONCLICK or on
MOUSEOVER.

2. Using a "tab" that ONCLICK would expand to show the full comment.

3. Make the testimonials page a blog page and let users write their own
comments.

Testimonials are not considered a crucial element in most cases.
People pretty much always consider them to be faked.
__________________
http://www.marketingsanctuary.com Your Marketing is Safe With Us
http://www.technologymorons.com Technology Morons - There is Hope!
http://www.genealogyland.com Home of the Dead Celebrities List
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 10-31-2009, 11:49 PM Re: Expanding text
JAUB's Avatar
Novice Talker

Posts: 11
Location: Oregon
Trades: 0
here's an idea:

Credits: (very cool)

2) http://www.javascriptkit.com/script/...itscreen.shtml

-jaub

update: i also come across this while browsing the forum last night:

http://www.webmaster-talk.com/html-f...tml#post937737


Last edited by JAUB; 11-01-2009 at 12:20 PM.. Reason: came across additional relative info
JAUB is offline
Reply With Quote
View Public Profile Visit JAUB's homepage!
 
Old 11-01-2009, 01:53 AM Re: Expanding text
Skilled Talker

Posts: 91
Name: Sidney shieldon
Trades: 0
The link provided to you by "Jaub" is the thing that you need for doing such a change. It is not difficult to do. If you are looking for an advice whether to show testimonials or not you can post them. They are harmless in return a few of the customers will trust them true.
__________________
www.gametag.com
infotech rules is offline
Reply With Quote
View Public Profile
 
Old 11-01-2009, 05:24 AM Re: Expanding text
chrishirst's Avatar
Super Moderator

Posts: 22,282
Location: Blackpool. UK
Trades: 0
Here's another couple of ways you could use.

disclaimer: Self promo links
http://www.modtalk.co.uk/_site/code/...oll-over-tabs/

http://www.modtalk.co.uk/article/c-a...gn/dhtml-tabs/
demo: http://www.modtalk.co.uk/_site/code/...ple-tab-boxes/
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-02-2009, 07:32 PM Re: Expanding text
Junior Talker

Posts: 2
Trades: 0
Rosef -

The basic idea behind this concept is changing the display property of an element to none. Here is an example.

Code:
function pop_visibility(){
   var hide = "Hide";
   var show = "Show";
   var txt = document.getElementById('ipop').innerHTML;
   if(txt==hide){
    document.getElementById('controllerlink').innerHTML = "Show";
    document.getElementById('ipop').style.display = "none";
   }
   if(txt==show){
    document.getElementById('controllerlink').innerHTML = "Hide";
    document.getElementById('ipop').style.display = "block";
   }
}
Call it with....

Code:
<a onClick="pop_visibility()"id="controllerlink">Hide</a>
<div id="ipop>
     These contents will dissapear and reappear.
     And hide will switch to show accordingly.
</div>
thestranger is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Expanding text
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.17595 seconds with 13 queries