Re: [phpMyAdmin Developers] Using inline styles for preview panels

Maurício Meneghini Fauth <[email protected]>
Newsgroups gmane.comp.php.phpmyadmin.devel
Message-ID <CAGMX6HM9eUoometbxfo7P3j++OSd1itoz3ybOqUoA6hVCtwL-g@mail.gmail.com>
Hello, Saksham.

I agree with you and Lakshay. I don't see problems in using inline styles
in this case.

Regards,
Maurício

On Tue, Jun 26, 2018 at 9:05 AM Lakshay arora <[email protected]>
wrote:

> Hello,
> Since, changing styles using javascript changes the inline style attribute
> and because you have to change the styles dynamically, this seems to be a
> nice idea. However, you can take a look at this
> <https://codepen.io/GiorgioMalvone/pen/vHCds>, using contentEditable
> attreibute to change styles, thohugh applying this could get difficult and
> slow.
> Thanks
>
> On Tue, Jun 26, 2018 at 4:47 PM, Saksham Gupta <[email protected]> wrote:
>
>> Hello everyone,
>>
>> I'm going to create preview panels for theme generator. As the colours
>> would be dynamic it's best use to use javascript to change inline style
>> tags. I know that we are trying to convert all the already present inline
>> style tags to css files. But I think for changing colours of panels on
>> pressing preview buttons, the best way is to use style tags for the
>> background of panels. Any other idea is highly appreciated.
>>
>> Regards,
>>
>> Saksham Gupta
>>
>> _______________________________________________
>> Developers mailing list
>> [email protected]
>> https://lists.phpmyadmin.net/mailman/listinfo/developers
>>
>>
> _______________________________________________
> Developers mailing list
> [email protected]
> https://lists.phpmyadmin.net/mailman/listinfo/developers
>

_______________________________________________
Developers mailing list
[email protected]
https://lists.phpmyadmin.net/mailman/listinfo/developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.