How to create plus [+] minus [-] toggle that expand list of links and that is compatible with Opera Mini?
<p>I can toggle div that expands informations and links with javascript to save some display space.
But the problem is on Opera Mini, it always has to reload the page before applying JS to Opera Mini Server. But when using Opera Mini, I see it done without refreshing the page on stackoverflow's footer:</p>

<pre><code>[+] Stack Overflow [54]
site design / logo ...
</code></pre>

<p>When I click:</p>

<pre><code>[-] Stack Overflow [54]
    Stack Overflow
    Server Fault
    ...
site design / logo ...
</code></pre>

<p>How can I achieve the same on some part of my mobile template?</p>

<p>My edit: I apologize for not being clear and not specifying the codes I have actually. I almost never post in stack overflow, but I'm not a beginner in programming.</p>

<p>The fact is the code I have for toggle menu, comment editing and displaying any other objects works normally with Opera Mini, as Opera Mini send the js request on Opera server which executes it and then send back the modification on Opera Mini.</p>

<p>But my own codes doesn't apply here, cause I know they won't work in Opera Mini without refreshing the page. On this Website's footer (stackoverflow.com) as this image shows :<a href="http://i.stack.imgur.com/7LQN3.jpg" rel="nofollow">Stackoverflow on Opera Mini 7.1</a></p>

<p>it doesn't send any request to Opera server, but instead the app manage to handle it locally.</p>