...

View Full Version : Highlight text



twodayslate
08-22-2008, 07:30 PM
Example: http://www.phpbb.com/rules/#rule1a
I was hoping that this would not require JS but it looks like it does. How is this done? Do you think it can be done without JS? Perhaps with :focus? That would leave out IE though, and IE users are the more annoying ones who break the rules.

Philip M
08-22-2008, 07:38 PM
Have a look at:-

http://www.webconcerns.co.uk/tutorial/stage_06_css/css_page_11.asp

You can see how the effect is done if you View Source.



It is your responsibility to die() if necessary….. - PHP Manual

twodayslate
08-22-2008, 07:42 PM
Have a look at:-

http://www.webconcerns.co.uk/tutorial/stage_06_css/css_page_11.asp


It is your responsibility to die() if necessary….. - PHP Manual
Thanks, but I know how to style it. Look at the link and tell me how to make a block of text highlighted by clicking on it. phpbb used JS.

Philip M
08-23-2008, 09:31 AM
If you had viewed the source you would have found this acceditation:-

http://dorward.me.uk/software/frag/hi.js

which seems to cover it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum