For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 18 replies, 2 voices, and was last updated 14 years, 3 months ago by
Yann.
-
AuthorPosts
-
YannMemberHello
in a text loaded by ajax (remote page) , how i can do a word wrap (<br>)
because my text continue under the border of screen.thanks
YannFebruary 9, 2012 at 12:33 pm #323154
support-michaelKeymasterCheck out this recent discussion and let me know if this technique that I sometimes use works for you:
http://www.genuitec.com/support-genuitec/viewtopic.php?p=5301#p5301February 10, 2012 at 1:33 am #323170
YannMemberHello Wayne
i’m sorry i don’t understand your method, my english is not enought good.
i have a “transparent panel” in this panel i put a empty text named ResultActu with resize allowed
i need to add another text widget? i tried to place spaces in my “ResultActu ” text but i have the same result
Thanks
YannFebruary 10, 2012 at 5:16 am #323179
support-michaelKeymasterI will try to dev a small example that demo’s this technique I have used for dynamically introducing long wrapping text.
February 10, 2012 at 7:39 am #323196
YannMemberThanks Wayne
February 13, 2012 at 7:10 pm #323265
support-michaelKeymasterI posted this example that hopefully meets your needs:
http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=2459February 16, 2012 at 4:11 am #323363
YannMemberThanks a lot Wayne
i go to see them
YannFebruary 21, 2012 at 9:25 am #323532
YannMember@Wayne
can i send you my project by email because when i tried to post on forum screen capture i encountered an error “Bad Request” from Apache.
thanks
YannFebruary 21, 2012 at 9:56 am #323534
support-michaelKeymaster@Yann
Yes. Send to
support at genuitec dot com
title: yann’s mobione data for wayneFebruary 22, 2012 at 1:35 am #323567February 22, 2012 at 4:16 am #323572
support-michaelKeymaster@Yann
Yes, received your project files but have not had a chance to investigate. Is there a specific screen that I should look at that has the text problem?February 22, 2012 at 5:33 am #323577
support-michaelKeymaster@Yann
Yes I received the files and unpacked them yesterday. I have not had a chance to fire up the UI yet. What design file contains the text layout issue?February 22, 2012 at 7:12 am #323581
YannMemberHello Wayne
the file is menus.mobi
Widget text named “resultmenus” call a remote page and display it.i made a test this morning , i made a vb function who cleaned remote page of any tag,if the page is cleaned of html tags, the text wrap correctly, the remote page contains :
<p></p> and <li>Thanks
YannFebruary 22, 2012 at 8:03 am #323586
YannMember@ Wayne
i found the problem but i don’t know how resolve it.
if my page contain htm tag between a div white-space: pre-wrap don’t run
This run as well (remote page)<div id="m1-menus-contenu" class="m1-text" > Vous trouverez sur notre ardoise un choix d'entrées, de plats et de desserts changés tous les jours. Midi et soir Formule Guillemet à partir de 21,00 € (3 plats hors boisson) Formule à partir de 17,50 € € (2 plats hors boisson) Entrée ou dessert à partir de 5,00 € </div>but this don’t run as well
<div id="m1-menus-contenu" class="m1-text" > <p> Vous trouverez sur notre ardoise un choix d'entrées, de plats et de desserts changés tous les jours.</p> <h3> Midi et soir</h3> <ul> <li> Formule Guillemet à partir de 21,00 € (3 plats hors boisson)</li> <li> Formule à partir de 17,50 € € (2 plats hors boisson)</li> <li> Entrée ou dessert à partir de 5,00 €</li></div>any idea?
Thanks
YannFebruary 22, 2012 at 8:33 am #323587
support-michaelKeymasterYour last comment confuses me. Let me step back and see if I still understand the situation. I thought you wanted to dynamically change the content of a Text widget. From your snippet of code it appears you are attempting to exchange the widget’s text with HTML. Is this correct? If yes, that is a different problem than exchanging simple text. Set me straight!
-
AuthorPosts
