I've been looking everywhere for an answer to this - I think it might
be too obvious and I'm missing something.

I'm using jqModal to load (via Ajax) a page of academic references -
but I can't get the @href to pick up on the full url of the trigger -
ie, it's ignoring everything from # onwards and I want the modal to
display only the refence identified by that particular named anchor.

My trigger link is:

<a class="reference" href="/~xxxxxx/ma-tesol/documents/
references.html#bassano1986">reference modal link</a>

and my jquery is:

$(document).ready(function() {
        $('#refModal').jqm({ajax:'@href', modal:true, target:
'div.jqmAlertContent', trigger: 'a.reference' });
});

As I say this works perfectly, except that it takes me to the top of
the document and not the #bassano1986 section of it.

Any help much appreciated.

Matthew

Reply via email to