|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--GLOBALS
| Method Summary | |
<static> void
|
rotateBanner(<object> target, json_url)
rotateBanner is the main function of this script. |
| Method Detail |
<static> void rotateBanner(<object> target, json_url)
target - a html element, member of the Document Object Model. If empty, it use <div id="banner">
an - url for the banner.json file, if empty, 'banner.json' in the current folder will be used. Otherwise, take care for a Same host url. See http://en.wikipedia.org/wiki/Same_origin_policy for details.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||