Loading ...
Sorry, an error occurred while loading the content.

Javascript CSS parser

Expand Messages
  • dmitrii_golub
    There are some javascript css parsers in the internet, but do you know any yui specific? Or may be you can share your ideas about reuse production ready yui
    Message 1 of 5 , Aug 3, 2009
    View Source
    • 0 Attachment
      There are some javascript css parsers in the internet, but do you know any yui specific? Or may be you can share your ideas about reuse production ready yui parts for this purpose?

      Thanks in advance.
    • Lucas Smith
      YUI has the StyleSheet utility, but this may not be exactly what you re looking for. What sort of API are you expecting? Input, output? Example use case?
      Message 2 of 5 , Aug 3, 2009
      View Source
      • 0 Attachment
        YUI has the StyleSheet utility, but this may not be exactly what you're looking for.  What sort of API are you expecting?  Input, output?  Example use case?

        Luke

        On Aug 3, 2009, at 12:02 AM, dmitrii_golub wrote:

        There are some javascript css parsers in the internet, but do you know any yui specific? Or may be you can share your ideas about reuse production ready yui parts for this purpose?

        Thanks in advance.


      • dmitrii_golub
        Yes, sure: I would like to devide screen into 2 parts, first one is textarea with pure css and button Apply. Here you can change any styles and click apply
        Message 3 of 5 , Aug 3, 2009
        View Source
        • 0 Attachment
          Yes, sure:
          I would like to devide screen into 2 parts, first one is textarea with pure css and button Apply. Here you can change any styles and click apply button to see new styles on the second part.
          I suppose read styles by javascript parser and apply this styles to html also in javascript.

          --- In yui3@yahoogroups.com, Lucas Smith <lucas.e.smith@...> wrote:
          >
          > YUI has the StyleSheet utility, but this may not be exactly what
          > you're looking for. What sort of API are you expecting? Input,
          > output? Example use case?
          >
          > Luke
          >
          > On Aug 3, 2009, at 12:02 AM, dmitrii_golub wrote:
          >
          > > There are some javascript css parsers in the internet, but do you
          > > know any yui specific? Or may be you can share your ideas about
          > > reuse production ready yui parts for this purpose?
          > >
          > > Thanks in advance.
          > >
          > >
          > >
          >
        • Lucas Smith
          Something like this? http://yuiblog.com/sandbox/yui/v300b1/examples/stylesheet/css_parse.html Hope this helps, Luke
          Message 4 of 5 , Aug 3, 2009
          View Source
          • 0 Attachment
            Something like this?

            Hope this helps,
            Luke

            On Aug 3, 2009, at 11:38 AM, dmitrii_golub wrote:

            Yes, sure:
            I would like to devide screen into 2 parts, first one is textarea with pure css and button Apply. Here you can change any styles and click apply button to see new styles on the second part.
            I suppose read styles by javascript parser and apply this styles to html also in javascript.

            --- In yui3@yahoogroups. com, Lucas Smith <lucas.e.smith@ ...> wrote:
            >
            > YUI has the StyleSheet utility, but this may not be exactly what 
            > you're looking for. What sort of API are you expecting? Input, 
            > output? Example use case?
            > 
            > Luke
            > 
            > On Aug 3, 2009, at 12:02 AM, dmitrii_golub wrote:
            > 
            > > There are some javascript css parsers in the internet, but do you 
            > > know any yui specific? Or may be you can share your ideas about 
            > > reuse production ready yui parts for this purpose?
            > >
            > > Thanks in advance.
            > >
            > >
            > >
            >


          • dmitrii_golub
            wow it s exactly what I need:) Nice thing, when you imagine smth. ask at groups and... Ba! here it is:) Like a gift, really:) It s use Alex Gorbachev s script,
            Message 5 of 5 , Aug 3, 2009
            View Source
            • 0 Attachment
              wow it's exactly what I need:)
              Nice thing, when you imagine smth. ask at groups and... Ba! here it is:) Like a gift, really:)

              It's use Alex Gorbachev's script, I beleive all this will work with yui 2.7.
              Thanks again Luke, I go learn this example deeper.


              --- In yui3@yahoogroups.com, Lucas Smith <lucas.e.smith@...> wrote:
              >
              > Something like this?
              > http://yuiblog.com/sandbox/yui/v300b1/examples/stylesheet/css_parse.html
              >
              > Hope this helps,
              > Luke
              >
              > On Aug 3, 2009, at 11:38 AM, dmitrii_golub wrote:
              >
              > > Yes, sure:
              > > I would like to devide screen into 2 parts, first one is textarea
              > > with pure css and button Apply. Here you can change any styles and
              > > click apply button to see new styles on the second part.
              > > I suppose read styles by javascript parser and apply this styles to
              > > html also in javascript.
              > >
              > > --- In yui3@yahoogroups.com, Lucas Smith <lucas.e.smith@> wrote:
              > > >
              > > > YUI has the StyleSheet utility, but this may not be exactly what
              > > > you're looking for. What sort of API are you expecting? Input,
              > > > output? Example use case?
              > > >
              > > > Luke
              > > >
              > > > On Aug 3, 2009, at 12:02 AM, dmitrii_golub wrote:
              > > >
              > > > > There are some javascript css parsers in the internet, but do you
              > > > > know any yui specific? Or may be you can share your ideas about
              > > > > reuse production ready yui parts for this purpose?
              > > > >
              > > > > Thanks in advance.
              > > > >
              > > > >
              > > > >
              > > >
              > >
              > >
              > >
              >
            Your message has been successfully submitted and would be delivered to recipients shortly.