[Pro] Request - The Get CSS Rules Action

Hi Guys,

could there be an action thinkable that, when applied to an item, grabs the css-styles for this div and display it in a lil window area (source-code snooper like)?

This would basically help to better explain less code experienced users the “result” of inspector settings without the need of rushing into a browser ctrl-click.

I could think this as a very basic first step “Responsive Action”.

Cheers

Thomas


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

My style_accessors library includes a function that does this:

https://gist.github.com/walterdavis/4703410#file-gistfile1-js-L238-L263

It shouldn’t be too hard to get this value and load it into a fwBigPrompt where you can look at it and read it easily (scroll bars, etc.) but any changes you made would have to be ignored, right?

Walter

On Jun 11, 2013, at 11:20 AM, Thomas Kimmich wrote:

Hi Guys,

could there be an action thinkable that, when applied to an item, grabs the css-styles for this div and display it in a lil window area (source-code snooper like)?

This would basically help to better explain less code experienced users the “result” of inspector settings without the need of rushing into a browser ctrl-click.

I could think this as a very basic first step “Responsive Action”.

Cheers

Thomas


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sorry, the link seems to have disappeared here on the Web. Here’s the page, look down to line 238 for the function:

Walter


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Tanks Walter,

It shouldn’t be too hard

For me it will - promised :slight_smile:

to get this value and load it into a fwBigPrompt where you can look at it and read it easily (scroll bars, etc.) but any changes you made would have to be ignored, right?

Yeahh. No changes needed in that instance. Simply display the current stat for to copy and paste it into another place such as:

https://gist.github.com/Kimmich-DigitalMedia/5760199

… at least in the first instance of the action (however I have a plan for a much more complex action set in mind - but only there).

So what to do now with your above beast of code?

Cheers

Thomas


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options