Page 1 of 2
Adding content to the footer
Posted: Tue Mar 12, 2013 11:59 pm
by Janko
Hi,
I'd like to add some content to the footer, but I can't, in particular an HTML code containing a call to a script for showing ADVs.
I already checked the documentation over and over, but it didn't help so much.
Apparently I can only add NavBar component, and it's not clear to me how the WorkArea component works in the template (if it can help me).
If I need to use Templates, please consider also that I already created 2 pages, quite complex, without template and now I wouldn't know how to apply a new one to them without breaking them.
Thanks!
Adding content to the footer
Posted: Wed Mar 13, 2013 12:39 am
by maxkatz
You can place a Button, NavBar components inside the footer. You can also select the footer with jQuery and programatically add any components/content inside.
Adding content to the footer
Posted: Sun Apr 07, 2013 4:41 am
by Ari Teman
Can you give an example of jQuery inserting HTML into the footer -- for example if I want to insert an image?
Thanks!
Adding content to the footer
Posted: Sun Apr 07, 2013 3:07 pm
by jimmy vu
Any replies to this? The footer and header should allow HTML, how?
Adding content to the footer
Posted: Sun Apr 07, 2013 5:15 pm
by maxkatz
Via drag and drop you can insert a Button and NavBar component. You can still insert any other elements but it would need to be done programmatically. You would select the the footer and add any content to it.
Adding content to the footer
Posted: Sun Apr 07, 2013 6:38 pm
by jimmy vu
I cannot edit the html files, if this is what you mean programmatically? Any cahnce for a fast sample?
Adding content to the footer
Posted: Sun Apr 07, 2013 10:41 pm
by jimmy vu
Adding content to the footer
Posted: Sun Apr 07, 2013 10:53 pm
by maxkatz
In the source tab, the files are read-only for now. Editing will be added. You can run a JavaScript on page load to modify the footer. In fact, you can modify any parts of the DOM.
Adding content to the footer
Posted: Sun Apr 07, 2013 11:03 pm
by jimmy vu
do you have a reference? Like a code snippet or a tutorial? Understood that it can be done but how exactly?
Adding content to the footer
Posted: Mon Apr 08, 2013 10:37 am
by Maryna Brodina
Hello Jimmy! To add image in footer use the following JS code on page Show event:
codeTiggzi("mobilefooterName").html("<img src='" + Tiggzi.getImagePath('pic_name.jpg') + "'>");/code
where mobilefooterName - footer name
pic_name.jpg - picture name from assets