Need the entire page, HTML code as well. BECAUSE if the code you posted here is in the document head, it will never work! As these declarations;
Code:
var pAbout1 = document.getElementById ('pAbout1');
var pAbout2 = document.getElementById ('pAbout2');
var pAbout3 = document.getElementById ('pAbout3');
will be before the elements exist in the DOM, so they will be empty.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|