Page 1 of 1

Plus/Minus Images in Show/Hide Content Script.

PostPosted: Sat Jan 02, 2010 10:47 am
by muhdkashif
I’m using the sliding show/hide script which is very nice.
I would like to add Plus/Minus Images in the Question, such that when I click Question it will show the answer with Minus Images and when I click again the Question it will hide the answer with Plus Image, just like shows in MSDN.

Can anyone help me???

PostPosted: Thu Feb 25, 2010 10:33 am
by cosmicegg
hey this is what i did:

function showHideAnswer()
var numericID =[^\d]/g,'');
var obj = document.getElementById('a'+numericID);
var obj2 = document.getElementById('q'+numericID);

{'none';'url(arrowdown.png) right top no-repeat';
{'block';'url(arrow1up.png) right top no-repeat';

PostPosted: Tue Apr 20, 2010 7:26 am
by muhdkashif
Sorry for late reply,
Let me know from where this function will call.
Thanks in advance.