RickRoo wrote:
> If one searches for a word residing in one of the spry
tabbed
> panels,accordians (there could be many layers on a
single page of course), site
> search engines correctly take you to the page but
naturally does not open the
> correct tabbed panel (Zoom Search doesn't understand DW
code of course).
This is not an issue specific to Spry, it's an issue with
other JavaScript solutions that show and hide content, and it is
also an issue if CSS is used show and hide content.
If you have a way to obtain the search terms from the search
engine page, then you might be able to handle this (based upon your
description, the WrenSoft JavaScript finds that info out), but then
you'd also have to have a search engine built within your page that
will search through the page and figure out what tab the searched
term(s) are on, and then show that tab, but then what happens when
you have terms on multiple tabs in a tab group? You'll have to
determine which search terms are more important than other terms.
There is code available that will allow you to open specific
tabs using the showPanel method. Check out the API for the Tabbed
panel:
http://labs.adobe.com/technologies/spry/articles/data_api/index.html
And perhaps take a look at the code for this page (check in
the linked JavaScript file):
http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_unobtrusive.htm
http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tp_unobtrusive.js
As the Spry code is namespaced to specifically prevent
conflicts with other JavaScript code, it would be good to know what
those conflicts are so that others can be aware of them to try to
prevent them in their pages.
--
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert