Page 2 of 3

Code for centering image no longer works?

Posted: Thu Feb 21, 2013 8:19 pm
by Maryna Brodina

This code I've posted earlier works for me

Tiggzi('dapplogo').css('margin', 'auto');
Tiggzi('dapplogo').css('align', 'center');

Image

Code you're using won't work because of bug - we'll fix it soon.


Code for centering image no longer works?

Posted: Thu Feb 21, 2013 9:31 pm
by Jahmarley

Ty Marina :)

Didn't even notice the difference in the codes

It works


Code for centering image no longer works?

Posted: Fri Mar 01, 2013 8:01 pm
by SteveLacy

I'm having the exact same problem aligning and image and it the code:

Tiggzi('ovcn_logo').css('margin', 'auto');
Tiggzi('ovcn_logo').css('align', 'center');

won't work for me. I must be missing something because it's starting to drive me crazy.

I've shared my project with a href="mailto:support@Tiggzi.com" rel="nofollow"support@Tiggzi.com/a and the project is called "OVCN iOS new". Let me know what I'm doing wrong


Code for centering image no longer works?

Posted: Fri Mar 01, 2013 8:03 pm
by Kateryna Grynko

Hi Steve, we will check.


Code for centering image no longer works?

Posted: Fri Mar 01, 2013 8:47 pm
by Kateryna Grynko

On your main page, on the bottom image "OVCN.org" there is a Run JavaScript action with incorrect JavaScript code (brace is missing). This caused JavaScript works incorrectly and logo wasn't centered.
Delete Run JavaScript Action from the bottom image or correct it.


Code for centering image no longer works?

Posted: Fri Mar 01, 2013 8:56 pm
by SteveLacy

You are awesome! Thanks for finding that. I was going crazy trying to get it to center and didn't realize I had a problem in another area! Super!


Code for centering image no longer works?

Posted: Wed Mar 06, 2013 8:07 pm
by Jahmarley

Hi Tiggzi,

The code:

Tiggzi('dapplogo').css('margin', 'auto');
Tiggzi('dapplogo').css('align', 'center');

I tested my app today and realized that the above code no longer works, this may have been due to updates, not sure... can you check please?

Thank you


Code for centering image no longer works?

Posted: Wed Mar 06, 2013 8:14 pm
by SteveLacy

I had the same experience today. I was making an update in a totally unrelated area and found in testing the align code no longer works. I even experimented using Firebug and wasn't able to align the image no matter what I did.

Was there an update that broke this capability?

Your help is appreciated.


Code for centering image no longer works?

Posted: Wed Mar 06, 2013 8:15 pm
by Maryna Brodina

Hello! Testing...


Code for centering image no longer works?

Posted: Wed Mar 06, 2013 8:38 pm
by Maryna Brodina

Try this code:

codeTiggzi('dapplogo').css('margin', 'auto');
Tiggzi('dapplogo').css('display', 'block');/code