If you need to call it as soon as the app loads, I would include it in the project.gwt.xml file. Otherwise you can include it in the header of the page, but you'll have to wait for it to load to call the functions.
Like this: http://code.google.com/p/gwt-examples/source/browse/trunk/DemoGadgetMathFlashCard/src/com/gawkat/flashcard/FlashCard.gwt.xml Hope that helps, Brandon On May 4, 6:36 pm, zinkronz network <[email protected]> wrote: > hello hai, > > i got javascript > > "<script type='text/javascript'> nuffnang_bid = > 'ad8bbad67c3d4d242ebba049ce4c1c > 5e'; </script> <script type='text/javascript' > src='http://synad2.nuffnang.com.my/k.js'></script>" > > this is like google addsense advertise program. i put this script in the gwt > java > > HTML test = new HTML(<script type='text/javascript'> nuffnang_bid = > 'ad8bbad67c3d4d242ebba049ce4c1c5e'; </script> <script type='text/ > javascript' src='http://synad2.nuffnang.com.my/k.js'></script>'); > > and put it in the horizontalpanel to project to the page. > > the problem is.. this advetising banner is jump to another page. its clear > all my website and just show this banner. > > if i just put at the html pages... like main.html , the banner is work well > > help me > > buzz > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
