Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Baris Karaderili 1 post 71 karma points
    Jan 09, 2019 @ 11:00
    Baris Karaderili
    0

    @ character error in attribute

    I'm using uk-parallax = "media: @l" in html.

    Example:

    However, when I run it, it has an error because of the character. What should I do. Thanks

  • Marc Love (uSkinned.net) 349 posts 946 karma points
    Jan 09, 2019 @ 12:24
    Marc Love (uSkinned.net)
    1

    Hi Baris,

    I think this is because the @ character will be getting interpreted as the start of Razor code.

    Use a double @@ instead and this should work.

    Cheers,

    Marc

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies