Welcome to TalkGraphics.com
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Oct 2010
    Location
    Central Pennsylvania
    Posts
    53

    Default Re: Need better access to HTML Attributes

    Quote Originally Posted by covoxer View Post
    Hi Acorn.

    You have not missed anything. There's no way to specify custom classes or styles in current version. However, if you need this feature so much, I'll add the support of custom classes in the next version. I think this would be sufficient.
    Did the custom classes option make its way into the new version of Web Designer?

  2. #12
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,822

    Default Re: Need better access to HTML Attributes

    Not found it yet. As it would be an "undocumented" feature, Xara may have named the label anything.
    I was waiting for the XWD9(P) to settle.
    It would be very handy and marry up with the HTML5 approach quite nicely.

    Acorn

  3. #13
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Need better access to HTML Attributes

    Yes, this undocumented feature is present in WD9. As it usually happens with undocumented features, it is implemented with a special object name.
    Use following name:

    htmlclass=MyClass

    , where "MyClass" is the class you want to add to the object.

    Basically, it's the same syntax as with "filename=".

    Make sure you know what you are doing when using this feature. It may not be safe, so if you get unpredictable results, revert back. Also feel free to ask if you have any problems with it.
    John.

  4. #14
    Join Date
    Oct 2010
    Location
    Central Pennsylvania
    Posts
    53

    Default Re: Need better access to HTML Attributes

    Thanks for the update and for adding this! I'll have to download the trial to test this as I'm waiting for the Designer Pro version to buy.

  5. #15
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,822

    Default Re: Need better access to HTML Attributes

    Quote Originally Posted by covoxer View Post
    htmlclass=MyClass
    A big thank you too!

    Acorn

  6. #16
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Need better access to HTML Attributes

    Acorn, could you please show an example of how you make use of this feature?

  7. #17
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,822

    Smile Re: Need better access to HTML Attributes

    Quote Originally Posted by Boy View Post
    Acorn, could you please show an example of how you make use of this feature?
    Away from home presently so just a small taster.
    You need to examine each object's Name and then open the Page's HTML Code (Head) Placeholder to see CSS and jQuery manipulations.

    With a little CSS, you could "frame" all your pictures, have them at opacity 40% until you click on them to come back up to full glory.
    All doable in Xara but requires more graphic and layer manipulations, which are not truly scalable.

    Rotating text, however, was something someone asked for recently and now it stays as text.

    I agree that was all possible before but as there were only IDs, nesting of them failed; classes can be grouped more easily.
    Classes also mean that one CSS change alters all items with that class name.

    jQuery allows you to make your pages much more interactive.

    A classy show.web

    Acorn

  8. #18
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Need better access to HTML Attributes

    Thanks for posting this but as I am still using XDP X, nothing happens. I will have to wait till version 9 comes out.

  9. #19
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,822

    Default Re: Need better access to HTML Attributes

    Quote Originally Posted by Boy View Post
    Thanks for posting this but as I am still using XDP X, nothing happens. I will have to wait till version 9 comes out.
    If you can cope with the hassle of unzipping this to your Desktop or folder, it will show you the end result:
    index_htm_files.zip

    Acorn

  10. #20
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Need better access to HTML Attributes

    Interesting effect. I'll keep the files till the new version is out to take a better look. Thanks for posting.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •