Sweet.
I m glad it works for you.
Enjoy and build some nice Tour :)
Cheers

2013/6/22 JoyaleXandre <[email protected]>

> Sorry, that's just because I was displaying the popup on the left and my
> button was completely on the left side of the browser. So I could not see
> it. What a newbie lol.
>
> Thanks for your help. Again, nice work.
>
> Le samedi 22 juin 2013 12:16:27 UTC-4, Alain a écrit :
>>
>> It s strange the code below is working for me. I m missing the image too.
>> This is because I did nt included them in the jar file. You will need to
>> download them from GitHub.
>> But the tour should be working.
>>
>>  /**
>>
>>      * This is the entry point method.
>>
>>      */
>>
>>     public void onModuleLoad() {
>>
>>         final Button sendButton = new Button("Send");
>>
>>         RootPanel.get().add(**sendButton);
>>
>>
>>         final Tour tour = new Tour("my-Tour");
>>
>>
>>         TourStep step = new TourStep(Placement.RIGHT, sendButton);
>>
>>         step.setTitle("Test");
>>
>>         step.setContent("Hello");
>>
>>         tour.addStep(step);
>>
>>
>>         sendButton.addClickHandler(new ClickHandler() {
>>
>>             @Override
>>
>>             public void onClick(ClickEvent event) {
>>
>>                 GwtTour.startTour(tour);
>>
>>             }
>>
>>         });
>>
>>     }
>>
>>
>> 2013/6/22 JoyaleXandre <[email protected]>
>>
>> This is my entry point.
>>>
>>> package com.ibal.cervello.client;
>>>
>>> import com.ibal.cervello.client.**views.AddInvoice;
>>> import com.ibal.cervello.client.**views.MenuBar;
>>> import com.eemi.gwt.tour.client.**GwtTour;
>>> import com.eemi.gwt.tour.client.**Placement;
>>> import com.eemi.gwt.tour.client.Tour;
>>> import com.eemi.gwt.tour.client.**TourStep;
>>> import com.github.gwtbootstrap.**client.ui.Button;
>>> import com.github.gwtbootstrap.**client.ui.constants.IconType;
>>> import com.google.gwt.core.client.**EntryPoint;
>>> import com.google.gwt.event.dom.**client.ClickEvent;
>>> import com.google.gwt.event.dom.**client.ClickHandler;
>>> import com.google.gwt.user.client.ui.**RootPanel;
>>>
>>> /**
>>>  * Entry point classes define <code>onModuleLoad()</code>.
>>>  */
>>> public class Cervello implements EntryPoint {
>>>
>>> /**
>>>  * This is the entry point method.
>>>  */
>>> public void onModuleLoad() {
>>>  RootPanel.get().add(new MenuBar());
>>> RootPanel.get().add(new AddInvoice());
>>>
>>> Button btnTour = new Button("Test Tour");
>>> btnTour.setBaseIcon(IconType.**ENVELOPE);
>>>  RootPanel.get().add(btnTour);
>>>
>>> // Define the tour!
>>>  final Tour tour = new Tour("myTour");
>>>
>>> TourStep step = new TourStep(Placement.LEFT, btnTour);
>>>  step.setContent("Test button");
>>> step.setTitle("Comment");
>>>  tour.addStep(step);
>>>
>>> // Start the tour!
>>>  btnTour.addClickHandler(new ClickHandler() {
>>>
>>> @Override
>>>  public void onClick(ClickEvent event) {
>>> GwtTour.startTour(tour);
>>>  }
>>> });
>>>
>>>  }
>>> }
>>>
>>>
>>>
>>> Le samedi 22 juin 2013 11:45:20 UTC-4, Alain a écrit :
>>>>
>>>> First  Thx for the nice feedback.
>>>> The Jar should work.
>>>> Can you please post your sample code ?
>>>>
>>>>
>>>>
>>>>
>>>> 2013/6/22 JoyaleXandre <[email protected]>
>>>>
>>>>> I can't make it work with the jar. I get this message and nothing
>>>>> append when I click on launch the GwtTour.startTour event. Does the jar
>>>>> works?
>>>>>
>>>>> [WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
>>>>>    Request headers
>>>>>       Host: 127.0.0.1:8888
>>>>>       Connection: keep-alive
>>>>>       Accept: */*
>>>>>       User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
>>>>>       Accept-Encoding: gzip,deflate,sdch
>>>>>       Accept-Language: en-US,en;q=0.8
>>>>>       Referer: http://127.0.0.1:8888/**Cervello**
>>>>> .html?gwt.codesvr=127.**0.0.1:**9997<http://127.0.0.1:8888/Cervello.html?gwt.codesvr=127.0.0.1:9997>
>>>>>    Response headers
>>>>>       Content-Type: text/html; charset=iso-8859-1
>>>>>       Content-Length: 1410
>>>>>
>>>>> Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>>>>>
>>>>>> GWT-Tour is a small GWT library that can help you implement a nice
>>>>>> tour of your GWT/Web app.
>>>>>>
>>>>>> So if you ever wanted to show your users how to use your application
>>>>>> in an interactive way this can be usefull.
>>>>>> GWT-Tour works with regular web app as well as with GWT Widgets.
>>>>>>
>>>>>> A demo can be seen here : 
>>>>>> http://eemi2010.github.io/**gw****t-tour/<http://eemi2010.github.io/gwt-tour/>
>>>>>>
>>>>>> Enjoy :)
>>>>>>
>>>>>> Alain
>>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Web Toolkit" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to google-web-toolkit+**unsubscribe**@googlegroups.com.
>>>>> To post to this group, send email to google-we...@**googlegroups.com.
>>>>>
>>>>> Visit this group at http://groups.google.com/**group**
>>>>> /google-web-toolkit<http://groups.google.com/group/google-web-toolkit>
>>>>> .
>>>>> For more options, visit 
>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>> .
>>>>>
>>>>>
>>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-web-toolkit+**[email protected].
>>> To post to this group, send email to google-we...@**googlegroups.com.
>>> Visit this group at 
>>> http://groups.google.com/**group/google-web-toolkit<http://groups.google.com/group/google-web-toolkit>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to