cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

tabpanel script

ToddHicks
1-Newbie

tabpanel script

The customer wants a tabbed dialog in Editor. I made a nice XUI dialog
with a

tabbox with several tabpanels. We need an event to occur when a tab is
clicked. We placed a <script with=" ev:event="DOMActivate"> inside a
tabpanel with an Application.alert but nothing ever happens on
clicking the tabpanel- no error, nothing is wrong with the xui or the
javascript, - we have tried setting ev:event to all the available
events but nothing ever happens on click. -Anybody got any ideas as to
how to fire off some code from a tabpanel? - or has anybody found that a
DOMActivate <script> doesn't work inside a tabpanel?... seems like
clicking a tab would be a DOM activation but maybe not...?



Todd Hicks
Manager, Editorial Desktop Tools - Content Technology
Wolters Kluwer Global Platform Organization
(415) 868-2024 (HomeOffice@US Pacific Time)
todd.hicks@wolterskluwer.com
<blocked::<a style="COLOR:" blue;=" text-decoration:=" underline&quot;=" target="_BLANK" href="mailto:todd.hicks@wolterskluwer.com">">mailto:todd.hicks@wolterskluwer.com>



2 REPLIES 2

Hey, Todd...

Try putting a <script ev:event="DOMAttrModified"> in the <tabbox>, so
it will fire when the "selection" attribute changes.

-Brandon 🙂


On Thu, Apr 14, 2011 at 6:05 PM, Hicks, Todd
<todd.hicks@wolterskluwer.com> wrote:
> The customer wants a tabbed dialog in Editor. I made a nice XUI dialog
> with a
>
> tabbox with several tabpanels. We need an event to occur when a tab is
> clicked. We placed a <script with=" ev:event="DOMActivate"> inside a tabpanel
> with an Application.alert but nothing ever happens on clicking the
> tabpanel- no error, nothing is wrong with the xui or the javascript, - we
> have tried setting ev:event to all the available events but nothing ever
> happens on click. –Anybody got any ideas as to how to fire off some code
> from a tabpanel? – or has anybody found that a DOMActivate <script> doesn’t
> work inside a tabpanel?... seems like clicking a tab would be a DOM
> activation but maybe not…?
>
>
>
> Todd Hicks
> Manager,Editorial Desktop Tools - Content Technology
> Wolters Kluwer Global Platform Organization
> (415)868-2024 (HomeOffice@US Pacific Time)
> todd.hicks@wolterskluwer.com
>
>
>
> -----End Original Message-----

Rterreyryruryryuyt
Top Tags