homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Compliant and Accessible Information Box

5+ Year Member

Msg#: 11992 posted 9:36 pm on Mar 24, 2006 (gmt 0)


I have a form I ask users to fill out.

Some of the questions people might wonder why I'm asking, and I want to provide them an answer.

After the question, I have some text that says "why?".

I want it so if the user clicks on that, a box will pop up with the answer.

I know pop-ups will mostly be blocked, and I know that opening a new window is not Strict HTML 4.01 compliant.

I thought of title text for the link, but thought it would be awkward for the user to read. (And people would think to click the link, not hoover over it.)

I even thought about using a JavaScript alert box, but discounted that idea since it would only work for people with JavaScript, and the "off-putting" noise it will make.

Is their a standards compliant, and accessible way I can make an announcement work?



WebmasterWorld Senior Member henry0 us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 11992 posted 10:06 pm on Mar 24, 2006 (gmt 0)

I think of one
CSS has a way to display on overing a link text
Pure CSS no JS
Since I did not use it I do not remember where I found it
Do a search and you will find it

Only problem is that it needs to be a link to work
So you could possibly have all the answers on a single page
Overing will display the answers and if they still decide to click the link a full lists of answers will be supplied

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved