2 nov 2011 kl. 18.19 skrev Keith Purtell:

I'm using a method to reveal/hide text using CSS, HTML and JQuery. The latter I'm least familiar with, and if it's the problem I've veered off topic. But at present I don't know what's causing the problem: The word "Details" which triggers the reveal/hide function shows up twice on the page for some reason. Any suggestions? Here's a link...

http://www.keithpurtell.com/kthings/art/test2.htm


As turning off javascript renders just one Details-element it's clear the script is duplicating the element for some reason. It's likely you're applying it wrong. You should note that unless you are using ":before" or ":after" in your css, stylesheets or HTML elements doesn't add elements to the DOM, that are not in the source HTML. Of the three parts of AJAX only javascripts is capable of this.

/MiB




--
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to