I need a script for my website in which there will be a paragraph provided to our visitor. He will be asked for his reading rate like words per minute he can read. Then according to this asked rate the words in that particular paragraph will get highlighted.
yehtech
0
Newbie Poster
Recommended Answers
Jump to Post<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Airshow :: Highlight words</title> <style type="text/css"> #para { margin:0 0 012px 0; width:400px; padding:10px; border:1px solid #999999; font-family:vaerdana,arial; font-size:11pt; } …
Jump to PostYehtech,
Even better, try this version with bug fix for Opera/Firefox, which for some reason behave slightly differently from IE. Probably in
replace()
.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
All 6 Replies
Airshow
416
WiFi Lounge Lizard
Team Colleague
Airshow
416
WiFi Lounge Lizard
Team Colleague
yehtech
0
Newbie Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
yehtech
0
Newbie Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.