New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating a link in title= #83

Closed
chard opened this Issue May 4, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@chard
Copy link

chard commented May 4, 2011

Hi
how do i add link to the title=?
from the previous version i just use this method
title=
"sample <A HREF="link.html"
but this doesnt work with the latest?

@nyroDev

This comment has been minimized.

Copy link
Owner

nyroDev commented May 7, 2011

I answered with a blog post here: http://nyrodev.info/en/posts/267/nyroModal_create_a_link_in_the_title

In 2 words:
Add a rev attribute to the opener link containing the URL of where you want the link.

Add nyroModal behavior with:
jQuery(function($) {
$('.nyroModal').nm({
callbacks: {
beforeShowCont: function(nm) {
if (nm._hasFilter('title') && nm.opener.is('[rev]')) {
nm.store.title.html(''+nm.store.title.text()+'');
}
}
}
});
});

@nyroDev nyroDev closed this May 7, 2011

@chard

This comment has been minimized.

Copy link

chard commented May 13, 2011

wow! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment