Page 3 of 4

Custom Javascript Problem

Posted: Fri Sep 28, 2012 10:09 am
by Barbara

Any idea why a header added progamatically for this package wouldn't be assigned the same ui classes as normal.

Like class="ui-header ui-bar-a ui-header-fixed slidedown"

My header doesn't have any classes when I inspect in firebug.


Custom Javascript Problem

Posted: Fri Sep 28, 2012 10:16 am
by Maryna Brodina

What header do you mean?


Custom Javascript Problem

Posted: Fri Sep 28, 2012 10:38 am
by Barbara

I added a header to the recipe page with javascript on the load event like so

var header='a href="#" rel="nofollow"Image/a';

$('.ui-page').prepend(header);


Custom Javascript Problem

Posted: Fri Sep 28, 2012 10:39 am
by Barbara

Looks like some of my code doesn;t show above


Custom Javascript Problem

Posted: Sat Sep 29, 2012 10:50 pm
by Barbara

Have this all working now - thanks for all your help Marina.


Custom Javascript Problem

Posted: Mon Dec 10, 2012 4:57 pm
by BjornS

@Barbara...was it hard to get this menu to work with Tiggzi? Got any tips for me? I'm thinking of putting one in my app.


Custom Javascript Problem

Posted: Tue Dec 11, 2012 2:21 am
by Barbara

No not too difficult, if you need any help, I would be happy to assist,


Custom Javascript Problem

Posted: Tue Dec 11, 2012 11:47 am
by BjornS

I guess you downloaded the project and added the files needed and then edited the html files like they show in the demo?


Custom Javascript Problem

Posted: Tue Dec 11, 2012 11:57 am
by Barbara

No, did it all within Tiggzi, just used javascript to insert the elements where they need to be according to the demo


Custom Javascript Problem

Posted: Wed Dec 12, 2012 12:07 am
by BjornS

I'm kind of new to Tiggzi so i don't really know where to start.. to get this done inside Tiggzi :)