Change prefix for deep linking conditionally?

alliwag's Avatar

alliwag

08 Dec, 2012 11:07 PM

Hello,

Here is the scenario.
In options, I have deeplinking enabled with the prefix set to 'image-' .
When div.rsContent has a class of "landscape," I would like the prefix generated to be "image-landscape-." All other times it should be "image-".

Any suggestions? I'm a super JS noob and your help would be greatly appreciated.

Thanks so much,
Allison

  1. Support Staff 1 Posted by Dmytro Semenov on 10 Dec, 2012 06:58 AM

    Dmytro Semenov's Avatar

    Hello,

    I'm planning adding this option in future, but currently, unfrotunately, thre is no option to do this wthout modifying code of deeplinking module, or writing it by yourself.

    Dmitry

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac