Results 1 to 7 of 7
Jun 1, 2007, 15:57 #1
- Join Date
- May 2007
- Toronto, ON, Canada
- 0 Post(s)
- 0 Thread(s)
I developed a strategy on my website, which will I explain here, and I have a question below. Some feedback would be appreciated.
To fix this, here is a strategy I developed:
1) Have the element (id="A") in the page with style display:block" or display:inline.
2) Have the checkbox in another element (id="B") with style display:none
A) The onload event "disappear" does not work, so Element A displays right from the beginning;
B)The onload event "appear" does not work, so Element B (with the checkbox) does not appear (the checkbox would not control Element A anyway, so we don't want it there)
A) The onload event "disappear" works, and makes Element A disappear;
B) The onload event "appear" makes the checkbox appear (which can contrel Element A, making it appear again, or disappear again)
Please read on. (I was nice enough to include the code for the above actions)
I am aiming to make my website compliant with HTML 4 Strict,
<a href="hello.html" target="_blank">helloworld</a>
<a href="hello.html" rel="external">helloworld</a>
If I use the same strategy as above, would the site be comliant with HTML 4 Strict?
Also, is there any disadvantages to this approach?