PDA

View Full Version : Dynamic text with DOM for XHTML 1.0


zpecialz
05-05-2005, 06:14 PM
Hi,
I want to run a dynamic text for xhtml 1.0 in wapbrowser for mobile.

Is that possible with DOM or other way?

Scenario:
I have a [a href] for each player in a html, and i want to expand the player
info when they click on the playername.
Under the playername i want dynamic show more detail, example age, weight...
And if the click on the playername again i want to reset to one line with
only playername.

How can the script look like for this?

player1
player2
player3

on click player1
player1
playerinfotext1
playerinfotext2
playerinfotext3
player2
player3