≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Option for generated code
Posted by:
(you are not logged in)
Enter the missing letter in: "Inte?national"
(you are not logged in)
Text:
[quote][b]rsifontes[/b] wrote: Hi, I'm using ajax in my project and many times need a specific designed "page" be treated not as an complete html page when generated, but as an snippet. I mean: in some cases I don't need the whole structure to be created for some pages like RC do now: [code] <html> <head> .. code </head> <body> .. code </body> </html> [/code] I want just the code needed to render the design, because, later, I can insert this, for example in a div, and don't need all the code of a complete web page, just the necessary to render the design inside the div. For example: this code is extracted from a RC generated code for a "page" design that only contains a form and its elements: [code] <div class="textstyle2"> <form action="" enctype="application/x-www-form-urlencoded" method="POST" id="form_5705fe1d"> <div class="textstyle1"> <span class="textstyle3">COMPRA DE CARTONES<br/></span> </div> <div class="textstyle2"> <span class="textstyle3">Precio del carton: [@moneda] [@precioCarton]<br/>Cantidad: </span> <input type="text" value="1" title="" name="TextEdit2" id="edt_cantidad" ="fCalculaTotal(document.getElementById('edt_cantidad').value,document.getElementById('field_pvpCarton').value,document.getElementById('field_moneda').value);" > <span class="textstyle3"><br/></span> <div id="div_totalPagar"> <div id="div_totalPagar_padding" > <div class="textstyle2"> <div id="text_50c99fc5"> <div class="textstyle2"> <span class="textstyle3">TOTAL A PAGAR: [@moneda] 0 </span> </div> </div> </div> <div style="clear:both"></div> </div> </div> <input type="hidden" value="[@precioCarton]" name="HiddenFormField3" id="field_pvpCarton" > <input type="hidden" value="[@moneda]" name="HiddenFormField4" id="field_moneda" > </div> </form> </div> [/code] This is just what I need to be generated, not the whole stuff. The option needed is when generating page we could tell to RC: "for this design don't generate the whole structure for a complete web page, just the snippet RC". The inconvenient I see for implementing this is with the styles used in the design. And for that would be great that RC has global styles. Global styles could be achieved with an option which permit save styles and then be applied to objects. With global styles we can get consistency in website design, and will be faster to apply same style for example to buttons (same color,same font, same size,etc) that be configuring each button (or any object) one by one... Again, maybe this is not for everyone, but would be a good hidden weapon for RC. Could this be an option in future updates? (sorry for so long text) *holy*[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact