Hi, fellows
I use exhibit code from trunk.
I want to change css of div with jquery. But the following code is not
executed correctly for exhibit generated tags. When I put in html my
tag(not exhibit generated) i.e <div class="exhibit-flowingFacet-body">
some data</div>, jquery change its class correctly.
<script type="text/javascript">
$(document).ready(function() {
$(".exhibit-flowingFacet-body").removeClass().addClass("exhibit-
facet-body");
});
</script>
In facet.js there's a function
Exhibit.FacetUtilities.constructFlowingFacetFrame = function(forFacet,
div, facetLabel, onClearAllSelections, uiContext, collapsible,
collapsed) {
div.className = "exhibit-flowingFacet";
var dom = SimileAjax.DOM.createDOMFromString(
div,
"<div class='exhibit-flowingFacet-header'>" +
((collapsible) ?
"<img src='" + Exhibit.urlPrefix + "images/
collapse.png' class='exhibit-facet-header-collapse' id='collapseImg' /
>" :
"") +
"<span class='exhibit-flowingFacet-header-title'>" +
facetLabel + "</span>" +
"</div>" +
"<div id='frameDiv'><div class='exhibit-flowingFacet-body'
id='valuesContainer'></div></div>"
);
and I tried to change <div class='exhibit-flowingFacet-body'
id='valuesContainer'> to <div class='exhibit-facet-body'
id='valuesContainer'> but it doesn't work
Any ideas?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" 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/simile-widgets?hl=en.