Click here to Skip to main content
15,902,032 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: need code editor for forum site Pin
rakeshkmr198530-Jan-12 0:31
rakeshkmr198530-Jan-12 0:31 
GeneralRe: need code editor for forum site Pin
Wayne Gaylard30-Jan-12 0:37
professionalWayne Gaylard30-Jan-12 0:37 
Questiontext and images Pin
Member 859825330-Jan-12 0:12
Member 859825330-Jan-12 0:12 
AnswerRe: text and images Pin
thatraja30-Jan-12 2:05
professionalthatraja30-Jan-12 2:05 
QuestionImport a Microsoft-built Website Into Dreamweaver Pin
Roger Wright27-Jan-12 17:18
professionalRoger Wright27-Jan-12 17:18 
AnswerRe: Import a Microsoft-built Website Into Dreamweaver Pin
Not Active28-Jan-12 3:04
mentorNot Active28-Jan-12 3:04 
QuestionInternet Explorer plugin pop up Pin
LetsMond27-Jan-12 3:39
LetsMond27-Jan-12 3:39 
QuestionText inside div extending full length Pin
LlamaDude26-Jan-12 12:51
LlamaDude26-Jan-12 12:51 
AnswerRe: Text inside div extending full length Pin
Mohibur Rashid9-Feb-12 3:48
professionalMohibur Rashid9-Feb-12 3:48 
GeneralRe: Text inside div extending full length Pin
Graham Breach9-Feb-12 4:35
Graham Breach9-Feb-12 4:35 
Questionbookmarks API in chrome Pin
reikuxian26-Jan-12 4:24
reikuxian26-Jan-12 4:24 
NewsWeb Developer Saeed Malekpour scheduled for execution Pin
supernerf23-Jan-12 15:54
supernerf23-Jan-12 15:54 
AnswerRe: Web Developer Saeed Malekpour scheduled for execution Pin
thatraja4-Feb-12 17:16
professionalthatraja4-Feb-12 17:16 
QuestionI want a quick and simple E-commerce web site using a CMS. Pin
Brady Kelly22-Jan-12 16:35
Brady Kelly22-Jan-12 16:35 
AnswerRe: I want a quick and simple E-commerce web site using a CMS. Pin
Peter_in_278022-Jan-12 16:55
professionalPeter_in_278022-Jan-12 16:55 
AnswerRe: I want a quick and simple E-commerce web site using a CMS. Pin
herennow522-Jan-12 17:58
herennow522-Jan-12 17:58 
AnswerRe: I want a quick and simple E-commerce web site using a CMS. Pin
thatraja22-Jan-12 20:00
professionalthatraja22-Jan-12 20:00 
AnswerDotNetNuke Pin
David Mujica23-Jan-12 3:22
David Mujica23-Jan-12 3:22 
Questionneed help to add one class name Pin
jaanmaan20-Jan-12 4:42
jaanmaan20-Jan-12 4:42 
Hi, I have the following script, which is working fine. This is for more-less content. For more content, this is good, but when i click again, text becomes less again, but i want to add one class name for the less button.

This is from where i get the script.
http://shakenandstirredweb.com/playground/jquery-more-less-text/[^]
i just want to add different arrows for more and less. but there is always one class name. Can anyone help me in this to add a class name in the script. Thanks

<script type="text/javascript">

$(function(){

// The height of the content block when it's not expanded
var adjustheight = 170;
// The "more" link text
var moreText = "+ More";
// The "less" link text
var lessText = "- Less";

// Sets the .more-block div to the specified height and hides any content that overflows
$(".more-less .more-block").css('height', adjustheight).css('overflow', 'hidden');

// The section added to the bottom of the "more-less" div
$(".more-less").append('

[…]

');

$("a.adjust").text(moreText);

$(".adjust").toggle(function() {
$(this).parents("div:first").find(".more-block").css('height', 'auto').css('overflow', 'visible');
// Hide the [...] when expanded
$(this).parents("div:first").find("p.continued").css('display', 'none');
$(this).text(lessText);
}, function() {
$(this).parents("div:first").find(".more-block").css('height', adjustheight).css('overflow', 'hidden');
$(this).parents("div:first").find("p.continued").css('display', 'block');
$(this).text(moreText);
});
});

</script>
AnswerRe: need help to add one class name Pin
R. Giskard Reventlov20-Jan-12 5:06
R. Giskard Reventlov20-Jan-12 5:06 
QuestionInputs needed for a naive web developer to develope a website. Pin
Vijay Rajanna20-Jan-12 4:32
Vijay Rajanna20-Jan-12 4:32 
AnswerDon't reinvent the wheel Pin
David Mujica20-Jan-12 4:51
David Mujica20-Jan-12 4:51 
GeneralRe: Don't reinvent the wheel Pin
Vijay Rajanna20-Jan-12 5:24
Vijay Rajanna20-Jan-12 5:24 
AnswerRe: Inputs needed for a naive web developer to develope a website. Pin
R. Giskard Reventlov20-Jan-12 5:10
R. Giskard Reventlov20-Jan-12 5:10 
GeneralRe: Inputs needed for a naive web developer to develope a website. Pin
Vijay Rajanna20-Jan-12 5:25
Vijay Rajanna20-Jan-12 5:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.