我用贾瓦特语来掩盖言词。 例如,隐藏着第一和第六字或东西。 我的猜测是,从PHP的背景来看,它会这样做。
- You have a DIV with a sentence in it.
- You get the value of the DIV (the text sentence).
- You split the text by spaces " " to get each word.
- You then surround each word with a SPAN and id or class.
- You place all the words with the spans around them back into the DIV.
- Then from user interaction (or timeout events) you can hide each SPAN[text]SPAN as needed.
这是否是处理这一问题的适当途径?