Saturday, August 1, 2009

[jQuery] jQuery [treeview] Question

Hi,

I'm a jQuery beginner.
My browser is Firefox 3.5.1
I'm using Treeview 1.4
Revision Id: jquery.treeview.js
4684 2008-02-07 19:08:06Z
joern.zaefferer

I have two questions:

1. Whenever I click on either of my two Treeview control
labels "Collapse" or "Expand" (see below) the respective label
visibly gets the focus (dotted border). I want to remove
(blur) this border, but I don't know what I need to change
in the treeview.js code to get this effect.
How can I do this?


Relevant portion of my code:

<script src="file://c:/js/jQuery-1.3.2.min.js"> </script>
<script src="file://c:/js/jQuery.treeview.js"> </script>
<script>
$(document).ready(function(){
$("#tree").treeview({
control: "#treecontrol",
collapsed: true,
animated: "fast"
});
});
</script>

<div id="treecontrol">
<a title="Collapse" href="#">Collapse All</a>
&nbsp;|&nbsp;
<a title="Expand" href="#">Expand All </a>
</div>

<ul id="tree"> ... </ul>


2. I would like to add easing, specifically "easeOutBounce"
from George Smith's easing plugin. How can I do this?

Any help would be most appreciated.
elm.marvin@gmail.com

No comments: