阅读背景:

如何将图像设置为要显示的类:none,然后设置要显示的特定ID:内联

来源:互联网 

I'm trying to create a function that hides a class of divs then shows one of those divs by it's id. Here is what I have but I'm not sure if this is the right way to do it. If there is a better way I'm open to it, or if someone can identify an error in this code. What I would like is for the page to load with none of the bio classes visible, then when an image is clicked the bio with the corresponding id appears in its place. Searching only gave me this answer which did not help me. The code below has the bio class divs invisible when the page loads, the image can be clicked but the div does not appear on click. Hopefully this all makes sense.I'm trying to create a function that hides a cl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: