What would be the best (and preferably easiest) way of implementing a "more info..." link that would cause supplementary paragraphs of text to be revealed.
An exemplar: http://www.pandora.com/music/artist/36f340393cafe21c
this is the js it uses - does it just hide one tag and show the other one?I'm using a table - would it just be same principle of hiding a row and showing another one?Code:function expandBio(expand) { if (expand) { getDiv("bio_end").style.display = ""; getDiv("see_all_link").style.display = "none"; getDiv("shorten_link").style.display = ""; } else { getDiv("bio_end").style.display = "none"; getDiv("see_all_link").style.display = ""; getDiv("shorten_link").style.display = "none"; } }
or should i just use the Div tags within a cell.




Reply With Quote