Your global Javascript functions will all register into a jQWebExt
class.
Javascript Programmer can register jQuery plugins with Simple small
extension function to jQWebExt framework with OPTIONS.
Then Web(HTML) designer no need to know and no need to write any
javascript code.
Web(HTML) designer just need to setup the options of plugins, and all
plugins will autorun when DOM has loaded .
Any idea? tell me please , thanks.
Hi:
Is it possible to put the js script in header section? such as
$(function() {
jQWebExt.options.Tabs['tabs-container2'] = {fxFade: true, fxSpeed:
'fast'};
});
It seems not work.
--
Fred
<head>
<script src="../src/jquery.pack.js" type="text/javascript"></script>
<script src="../src/jqwebext.js" type="text/javascript"></script>
<script src="../src/jqwebext.tabs.js" type="text/javascript"></script>
<script>
jQWebExt.options.Tabs['tabs-container2'] = {fxFade: true, fxSpeed:
'fast'};
</script>
</head>