Artisteer Skins and controlling Content Panel style

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
7/7/2010 7:13:18 PM
Gravatar
Total Posts 101

Artisteer Skins and controlling Content Panel style

Hi All,

If you are using Artisteer skins and would like to disable the style for a panel, the following jQuery script (which is installed by default in mojo)

can be added into any HTML content panel (via the SOURCE button):

 

<script type="text/javascript">

$('#ctl01_divRight').find('[class^=art-]').andSelf().attr('class',
           function(i, c){
              return c.replace(/\art-\S+/g, '');
           });

</script>

 

This will strip the styling details from the panel. 

****NOTE****  You must replace ctl01_divRight   with the ID of the panel you wish to override.

For example ctl01_divRight is the first right panel.

Andrew

You must sign in to post in the forums. This thread is closed to new posts.