• Resolved deedee123

    (@deedee123)


    hi, is it possible to give name attribute to the iframe so i can change its content from a link?
    i tried changing the code a bit, but doesn’t seem to have any affect…

    d

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author unapersona

    (@unapersona)

    Hi deedee123,
    right now it is not possible to add a custom name to the iframe.
    I suggest you to use an HTML anchor (ID) instead. This way you can reference the iframe and change its contents via JavaScript for example.

    HTML Anchor is available in the Advanced section, and once defined you can use with something like:
    document.getElementById(‘custom-iframe’).src = ‘https://sample.com’

    Please let me know if this works for you.
    Thank you

    Thread Starter deedee123

    (@deedee123)

    Hi,
    thank you for the quick reply, much appreciated. indeed i could try that. however i don’t need to change the name of the frameset for each page, as i will be using just one per page. so maybe it’s possible to add a ‘fixed’ name for the frame somewhere in the code?
    david

    Plugin Author unapersona

    (@unapersona)

    Hi David,
    Sorry but I don’t think it will be possible to add a ‘fixed’ name because of the possibility of adding multiple iframes on one page.

    I understand your current situation but I think that doing that would not be good for other uses.

    Thank you for your message and please let me know if there is anything else I can help you with.

    Thread Starter deedee123

    (@deedee123)

    ok, thank you for the reply. i understand your point ??

    best,
    d

    Plugin Author unapersona

    (@unapersona)

    ?Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘possible to give name attribute?’ is closed to new replies.