Click here to Skip to main content
15,893,814 members
Home / Discussions / Web Development
   

Web Development

 
Questionspring project for a bank Pin
Member 105845389-Feb-14 22:51
Member 105845389-Feb-14 22:51 
QuestionRe: spring project for a bank Pin
thatraja9-Feb-14 23:16
professionalthatraja9-Feb-14 23:16 
QuestionCreating a static Map Pin
mrkeivan9-Feb-14 0:27
mrkeivan9-Feb-14 0:27 
AnswerRe: Creating a static Map Pin
Kornfeld Eliyahu Peter9-Feb-14 1:09
professionalKornfeld Eliyahu Peter9-Feb-14 1:09 
Questionweb site / book suggestion? Pin
clarkedavid2276-Feb-14 1:11
clarkedavid2276-Feb-14 1:11 
AnswerRe: web site / book suggestion? Pin
thatraja6-Feb-14 1:51
professionalthatraja6-Feb-14 1:51 
GeneralRe: web site / book suggestion? Pin
clarkedavid22711-Feb-14 4:43
clarkedavid22711-Feb-14 4:43 
GeneralOpen and Hide function asp.net Pin
Fcode-20146-Feb-14 0:17
Fcode-20146-Feb-14 0:17 
Can any one help me the code bellow to open and hide a text .But its not showing list

Bellow is the Java Script and HTML CODE:

Java Script:

function toggle_visibility(id) {
var thelist = document.getElementsByClassName("alist");
for (var i = 0; i < thelist.length; i++) {
thelist[i].style.display = 'none';
}
var e = document.getElementById(id);
if(e.style.display == 'block') {
e.style.display = 'none';
} else {
e.style.display = 'block';
}
}

HTML CODE :

<a href="#" onclick="toggle_visibility('List1');">

<h1>Financial Statements 2012</h1>

<div id="list1" class="alist" style="display:none;">

<p class="content-right-list">
</p>
<ul>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Fund of Funds (English) Y-2012.pdf">SAIB Fund of Funds (31 Dec 2012)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Arab Companies Fund (English) Y-2012.pdf">SAIB Arab Companies Fund (31 Dec 2012)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB GCC Equity Fund (English) Y-2012.pdf">SAIB GCC Equity Fund (31 Dec 2012)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Saudi Companies Fund (English) Y-2012.pdf">SAIB Saudi Companies Fund (31 Dec 2012)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Saudi Equity Fund (English) Y-2012.pdf">SAIB Saudi Equity Fund (31 Dec 2012)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Trade Finance Fund (English) Y-2012.pdf">SAIB Trade Finance Fund (31 Dec 2012)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Sukuk Fund (English) Y-2012.pdf">SAIB Sukuk Fund (31 Dec 2012)</a></li>
</ul>
</div>
<a href="#" onclick="toggle_visibility('list2');">
<h1>Financial Statements 2013</h1>
<div id="list2" class="alist" style="display:none;">
<ul>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Fund of Funds (June 2013) - English.pdf">SAIB Fund of Funds (June 2013)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Arab Companies Fund (June 2013) - English.pdf">SAIB Arab Companies Fund (June 2013)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB GCC Equity Fund (June 2013) - English.pdf">SAIB GCC Equity Fund (June 2013)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Saudi Companies Fund (June 2013) - English.pdf">SAIB Saudi Companies Fund (June 2013)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Saudi Equity Fund (June 2013) - English.pdf">SAIB Saudi Equity Fund (June 2013)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Trade Finance Fund (English) Y-2012.pdf">SAIB Trade Finance Fund (June 2013)</a></li>
<li><a target="_blank" href="/Portals/0/Forms/Future PDF/SAIB Sukuk Fund (June 2013) - English.pdf">SAIB Sukuk Fund (June 2013)</a></li>
</ul>
</div>
AnswerRe: Open and Hide function asp.net Pin
Kornfeld Eliyahu Peter6-Feb-14 3:15
professionalKornfeld Eliyahu Peter6-Feb-14 3:15 
GeneralRe: Open and Hide function asp.net Pin
Fcode-20148-Feb-14 21:09
Fcode-20148-Feb-14 21:09 
GeneralRe: Open and Hide function asp.net Pin
Kornfeld Eliyahu Peter8-Feb-14 21:18
professionalKornfeld Eliyahu Peter8-Feb-14 21:18 
Questionweb page reports Pin
Member 100697235-Feb-14 20:41
Member 100697235-Feb-14 20:41 
AnswerRe: web page reports Pin
thatraja5-Feb-14 21:19
professionalthatraja5-Feb-14 21:19 
GeneralRe: web page reports Pin
Member 100697235-Feb-14 23:12
Member 100697235-Feb-14 23:12 
GeneralRe: web page reports Pin
thatraja6-Feb-14 1:49
professionalthatraja6-Feb-14 1:49 
QuestionAsking a question again... Pin
CoderPanda5-Feb-14 19:20
professionalCoderPanda5-Feb-14 19:20 
QuestionWeb Services Pin
Richard Andrew x645-Feb-14 14:56
professionalRichard Andrew x645-Feb-14 14:56 
AnswerRe: Web Services Pin
Wayne Gaylard5-Feb-14 21:43
professionalWayne Gaylard5-Feb-14 21:43 
QuestionFlash Banner in Mobile asp.net Pin
Fcode-20143-Feb-14 21:30
Fcode-20143-Feb-14 21:30 
AnswerRe: Flash Banner in Mobile asp.net Pin
Richard MacCutchan3-Feb-14 22:03
mveRichard MacCutchan3-Feb-14 22:03 
GeneralRe: Flash Banner in Mobile asp.net Pin
Fcode-20143-Feb-14 22:47
Fcode-20143-Feb-14 22:47 
GeneralRe: Flash Banner in Mobile asp.net Pin
Richard MacCutchan3-Feb-14 22:56
mveRichard MacCutchan3-Feb-14 22:56 
QuestionCSS3 onHover sliding effect Pin
abisheak Balaji31-Jan-14 4:10
abisheak Balaji31-Jan-14 4:10 
QuestionStandalone web application Pin
Leng Vang30-Jan-14 5:53
Leng Vang30-Jan-14 5:53 
Questioni have created this and i want to display the form as much time user click on button add_new_form and all data will gather and will insert into database form by form Can u please give a php code for it. Pin
Swap function29-Jan-14 2:59
Swap function29-Jan-14 2:59 

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.