subscribe toggle thingie
This commit is contained in:
parent
b9a1d1ec89
commit
23f11bac52
|
@ -1,5 +1,16 @@
|
||||||
var queryData;
|
var queryData;
|
||||||
|
|
||||||
|
$('.toggleBtn').live("click", function() {
|
||||||
|
var $this = $(this);
|
||||||
|
var toggleElem = $('#' + $this.attr("data-toggle"));
|
||||||
|
if (toggleElem.is(":visible")) {
|
||||||
|
toggleElem.slideUp();
|
||||||
|
} else {
|
||||||
|
toggleElem.slideDown();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
$('#listLeft ul li a').live("click", function() {
|
$('#listLeft ul li a').live("click", function() {
|
||||||
if ($(this).hasClass("listLeftSelected")) {
|
if ($(this).hasClass("listLeftSelected")) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<!--<p id="emailerDescription">A fortnightly theatre e-journal from the India Theatre Forum<br>Co-Editors: Vikram Iyengar, Joyoti Roy</p>EMAILER DESCRIPTION CLOSING -->
|
<!--<p id="emailerDescription">A fortnightly theatre e-journal from the India Theatre Forum<br>Co-Editors: Vikram Iyengar, Joyoti Roy</p>EMAILER DESCRIPTION CLOSING -->
|
||||||
|
|
||||||
<ul id="navEmailer">
|
<ul id="navEmailer">
|
||||||
<li><a href="#subscribe">Subscribe |</a></li>
|
<li><a href="#subscribe" class="toggleBtn" data-toggle="subscribeForm">Subscribe |</a></li>
|
||||||
<li><a href="#comments">Feedback </a></li>
|
<li><a href="#comments">Feedback </a></li>
|
||||||
<!--<li><a href="">Bulletin Board |</a></li>
|
<!--<li><a href="">Bulletin Board |</a></li>
|
||||||
<li><a href="">Links</a></li>-->
|
<li><a href="">Links</a></li>-->
|
||||||
|
@ -159,3 +159,4 @@ association of theatre people coming together in the larger interests of theatre
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user