-
1. Re: Adding code to text box
resdesign Apr 27, 2015 9:16 AM (in response to rtania6)Could you tell us where you data is (array, json?)
-
2. Re: Adding code to text box
rtania6 Apr 27, 2015 9:21 AM (in response to resdesign)I have three options. Below is my config.js
Hope that answers the question
---
define(
{
"ITEMS": [
{
"id": "headline1Txt",
"type": "adkit-html",
"svKey": "headline_1"
}
],
"SV": {
"svData": [
{
"svKey": "headline_1",
"svType": "String",
"value": "Ridgeland's got it."
},
{
"svKey": "headline_2",
"svType": "String",
"value": "Jackson's got it."
},
{
"svKey": "headline_3",
"svType": "String",
"value": "Starkville's got it."
},
]
}
});
---
-
3. Re: Adding code to text box
resdesign Apr 27, 2015 9:37 AM (in response to rtania6)I would make this a JSON file and then it would be easy to insert the data.
Here is a link to a json sample. See if this could be of help.
dynamic symbol with images and json.zip - Box
-
4. Re: Adding code to text box
rtania6 May 6, 2015 12:59 PM (in response to resdesign)Thank you for the file. Somehow nothing was showing up.
I made an html dynamic banner, according to the server's specifications (which requires a config.js which pulls the dynamic content) and now I'm trying to covert it to an adobe edge ad.
In my adobe edge file I have a blank text box, gave it a div and a class and now I'm trying for it to connect to my config.js
I don't know if it would help to see my working files
https://www.dropbox.com/s/efzvnj4uhfddg5z/dynamic_text.zip?dl=0
and what it's supposed to look like.
https://www.dropbox.com/sh/vwp2xnlispe0rgz/AACwvpQDEirIhq2yJyKl7b-wa?dl=0