PDA

View Full Version : Is this Javascript?



Swordfish60423
01-28-2011, 01:30 AM
Are the faq's written here (http://windows.microsoft.com/en-US/windows-vista/32-bit-and-64-bit-Windows-frequently-asked-questions) in java script or something else?

vinyl-junkie
01-28-2011, 03:50 AM
They are in javascript. How to tell? Look at the page source. Depending on your browser, you should be able to right click your mouse and select view source or something similar. Another way you can tell is to disable javascript in your browser. When you do that, you see all the FAQs displayed rather than being hidden.

Old Pedant
01-28-2011, 10:14 PM
Ummm...technically, they are *NOT* "written in JavaScript".

They are actually simply ordinary text inside of various HTML elements.

JavaScript is used to alter the styles of most of the elements and make them invisible as soon as the page loads and then make certain ones visible upon request.

But the *content* of the FAQs is unaffected by JavaScript.

I know, that's nit-picking. But I have to live up to my name.

Swordfish60423
01-28-2011, 10:40 PM
Old Pedant,

Thanks for clearing that up.

I was using my firebug add on for firefox and couldn't find the script that was making that happen. It was causing me a lot of confusion after I was told it was java script.

However, I wanted to recreate something like that, so I did here.
(http://expertwaterdamage.com/FAQ.html)

I am pretty new at this. I find it a fun hobby. Updating, changing, improving.

Old Pedant
01-28-2011, 11:52 PM
I like the Scrabble tiles used to spell FAQ!! Yes, nice job on the page.