New Landing How can we help? Atelier Raw JS disappears

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #260384
    kgeee
    Member
    Post count: 67

    Hi

    I have a problem with Raw JS code disappearing either when updating the site or even editing the text-field.

    I think this video shows the problem really well: https://dl.dropboxusercontent.com/u/3128070/js_disappear.mov

    #260706
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    If you use a Text block asset, switch the text block to “Text” from the view tab and insert the JS that way. Do the tags still get removed?

    Thanks.

    #260709
    kgeee
    Member
    Post count: 67

    Hi David

    Please see the video. The behaviour is very odd and replicable. I am using the JS Raw asset. But I have noticed it happens with text asset as well.

    Best regards

    Kasper

    #260900
    David Martin – Support
    Moderator
    Post count: 20834

    I think this is caused by your code, it looks like you are trying to just insert an iFrame? If this is the case, why use document.write? You can just paste in the iFrame code without document.write?

    Please paste the full code here also.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register