Hello friend,
How to display only the current div layer is clicked, instead of the whole show all.
My codes:
$(document).ready(function () {
$(".panel").click(function () {
$(".flip").slideToggle("slow");
});
});
div.panel,p.flip
{
margin:0px;
padding:5px;
text-align:center;
background:#e5eecc;
border:solid 1px #c3c3c3;
width:200px;
}
ul.flip
{
height:60px;
display:none;
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
namespace WebApplication1
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e){
literal_1.Mode = LiteralMode.Encode;
literal_1.Mode = LiteralMode.Transform;
string strURL = "http://www.google.com";
string strURL2 = "http://www.csharpcorner.com";
string strURL3 = "http://www.codeproject.com";
literal_1.Text += @"
";
Module B
";
}
}
}
Thanks.
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Mukesh NayakPosted Apr 21, 2014, 2:43 PM
$(document).ready(function () {
$(".panel").click(function () {
$(this).children(".flip").slideToggle("slow");
});
});
Ken HPosted Apr 21, 2014, 7:27 PM