Working alongside your code
Embedding javascript code from another website means that it will execute in cooperation with yours. There are a few instances where our code could interfere with yours and they are documented here. I would like to underline that any such interference is incredibly unlikely.
Javascript - classes
Javascript is an object orientated language. Classes form the blueprints from which objects are instantiated. If you happen to create a class with exactly the same name as those below, the two will interfere:
- witoClass
- witoQueryClass
Javascript - instances
Those classes get instantiated into objects. The objects below are just variables, but they are global in scope.
- witoGlobal
Cascading Stylesheets (CSS) - classes
- wito_toolbox
- wito_thread
- wito_post
- wito_many...
CSS - id
These are the identifiers given to HTML elements on the page. They are referenced from the CSS/JS by id (e.g. '#wito_identifier').
- wito_many...
Summary
The long and short of it is that if you don't start your variable names/identifiers/classes wito, you'll be fine!
Other bits and pieces
Comments will appear behind flash movies unless the wmode:transparent property is set.
SWFObject embedding
swfo.addParam("wmode", "transparent");
produces
<param name="wmode" value="transparent">
