Répondu
Widget tab and a link on the same page
I want to have a ChdFeedbackWidget tab and a link on one page. How shoud I make the initialization of the widget in that case?
I want to have a ChdFeedbackWidget tab and a link on one page. How shoud I make the initialization of the widget in that case?
You just need to initialize it once:
1. Add the code generated for a feedback widget tab to your page (it is initialized now).
2. Add onClick handler to a desired element (e.g. a link):
onClick="ChdFeedbackWidget.show();return false;"
As a result, you'll have a tab and a link. Clicking on either opens the widget.