Thanks for the suggestion, Pyro. You're right about not being able to
link directly to the examples tab. I've been meaning to switch the
demo over to a "Mike Alsup template," but just haven't gotten to it
yet. Maybe this email will spur me to do it. :-)
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 10, 2007, at 1:24 PM, Pyrolupus wrote:
Karl et al,
I just tried to link directly to the examples tab of the demo page for
ClueTip. Unless there's a trick that I don't know about (and please
educate me, if that's the case!), there's no way to do that.
May I suggest using location.hash in demo.js to see if it matches any
of the hrefs in "#navigation a" and navigating to the appropriate
tab? Maybe:
if ($('#navigation [EMAIL PROTECTED]' + location.hash + ']').length > 0) {
$('#navigation [EMAIL PROTECTED]' + location.hash + ']').click();
}
That would allow, e.g., http://plugins.learningjquery.com/cluetip/
demo/#examplesection
to work as expected.
Just a thought,
Pyro