Laughing right now, I'm not sure we are on the same page. It hard to see things from my end but I'll try to break this bit down.
Here's the scenario...
Two links are posted to polls...
Currently I get a message...
Object {height: 200, id: null}
Object {height: 455, id: null}
if the message was changed to this...
Object {height: 200, id:
Object {height: 455, id:
I can use the value from id to find the correct iframe. No url parameters needed.
Object {height: 200, id:
Object {height: 200, id:
Currently I don't know what height goes to what iframe. I just need something to match them. I have the url, and you have the url and the height. You don't have to call it "id", can name it anything that suits but I need those two bits of info.
I'm sorry if this just repeating myself, just I can't determine from your last post if you know where I'm coming from.
h ttps://embed-dot-hlf-polls.appspot.com/#/polls/
...................................................The id needs to be this ^
As for messaging to and fro, I think that's going to be counter productive and overly complicate things. But I'm sure if there is need to send other info to assist with embedding, we can do that.
Here's the scenario...
Two links are posted to polls...
htt
ps://embed-dot-hlf-polls.appspot.com/#/polls/
3
h
ttps://embed-dot-hlf-polls.appspot.com/#/polls/
4
Currently I get a message...
Object {height: 200, id: null}
Object {height: 455, id: null}
if the message was changed to this...
Object {height: 200, id:
3
}
<-- 3 being the number in the url
.../#/polls/
3
Object {height: 455, id:
4
}
<-- 4 being the number in the url
.../#/polls/
4
I can use the value from id to find the correct iframe. No url parameters needed.
Object {height: 200, id:
3
} =
htt
ps://embed-dot-hlf-polls.appspot.com/#/polls/
3
Object {height: 200, id:
4
} =
htt
ps://embed-dot-hlf-polls.appspot.com/#/polls/
4
Currently I don't know what height goes to what iframe. I just need something to match them. I have the url, and you have the url and the height. You don't have to call it "id", can name it anything that suits but I need those two bits of info.
I'm sorry if this just repeating myself, just I can't determine from your last post if you know where I'm coming from.
h ttps://embed-dot-hlf-polls.appspot.com/#/polls/
4
...................................................The id needs to be this ^
As for messaging to and fro, I think that's going to be counter productive and overly complicate things. But I'm sure if there is need to send other info to assist with embedding, we can do that.
20-Jun-2015 13:23:23 - Last edited on 20-Jun-2015 13:40:05 by Indecent Act