Welcome to TalkGraphics.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Undocumented and advanced features

    This is a complete list of the new special names and syntaxes introduced in the WD6.

    1. If the code placeholder text contains following fragment: "index_htm_files/", every instance of it is automatically replaced with the actual name of the files folder.

    2. Invisible static layers are not exported in WD6. But you can force them to export simply appending exclamation mark at the beginning of the layer name. For example: "!My Hidden Layer".

    3. WD5/X5/XP5 were exporting all pages with the Mark Of The Web. Now we do not use it by default. But if you want it to be present for any reason, simply add a "<motw>" name to any object in your design. All the pages of the exported site will contain the MOTW.

    4. We have replaced our old photo pop-up script with the Highslide pop-up. But if you for some reason want to use the old script, you may do so adding the "NoHighSlide" name to the thumbnail image that has to use the old pop-up. You can have the old pop-ups along with Highslide pop-ups even on the same page.

    5. "HTMLBlockText" - if this name is applied to the text object, the text is exported without placing every line in a separate span element. This is less WYSIWYG than the default export but it may be more suitable for further editing of the exported HTML in the external editors and web authoring tools.

    6. If you want to disable automatic highlighting of the link to current page, add the "NoAutoHighlight" name to the object.

    7. We had some requests to be able to place code at the very beginning of the exported HTML page (for server side scripts). Now this is possible and works similarly to <head> placeholders. The name to assign to such a placeholder is "<html>".

    8. This special name disables page clipping rectangle (equivalent of the "Disable Page Clipping" tweak in WD5 tweakset): "NoPageClipping". Applied to any object on the page disables clipping for this page only.

    9. Another request was to allow overwriting of the declared used char set. This is done by applying the name that begins with "charset=" to any object. For example: "charset=UTF-8". Affects all pages in the site.

    10. Locking pop-ups. Similar to the locking pop-ups tweak in the WD5 tweakset. The pop-up layer which name contains "(lock)" is a locking layer. If opened with the on-click layer pop-up it will lock visible until explicitly closed. However, if initiated by on mouse over pop-up it's not locked. To close the locked pop-up layer you need a button (any object with a link) placed on this layer. The URL link of this button should be: "popup:close".

    That's the simplified use. For hardcore users there is an advanced syntax.
    Any URL that begins with "popup:" is treated as a special command that can open and close multiple pop-up layers simultaneously. You have to list layer names in quotes. All layers following the "popup:" are opened. All layers following the "close" word are closed. All layers following the "open" word are opened. If there is a "close" word that is not followed by any layer name, it closes the layer on which this button is placed (see the simplified use).

    Note: all layers listed in such links are automatically recognized as pop-ups. You don't have to link them the usual way to make them pop-ups as was necessary with the WD5 tweak.

    Note: the pop-up layer names must only contain lower case letters to work correctly with this feature. This may be changed in the following updates.

    Example: popup: "popup1", "popup2" close "popup3"

    11. Layer pop-up transition effects. Now the pop-up layers can fade-in and fade out on opening and closing. To make pop-up layer fade in place following keyword in the layer name "(fade 2)". The digit represents the speed of the transition. 1 is the slowest, 5 is the fastest. If you skip the digit, the default value of 3 is used. You can also set the fade in and fade out speed separately with following keywords: "(fade-in 2)", "(fade-out 5)". Important: if you have used (fade-out) in the layer name you have to add the (fade-in) as well.


    Registry settings.

    There are some new registry settings used by the HTML export filter introduced with WD6.
    They all are located here: HKEY_CURRENT_USER\Software\Xara\HTMLFilter\3.0

    ExportEmptyTitles - disables the tweak that forces IE to not show a tool tip with the alt property. In case there's no title property we now add an empty one by default. Disabling this registry setting will export the old way.

    IE7compatibility - in the previous version we explicitly set the IE8 to work in IE7 compatibility mode. Now this is not necessary any more so we don't set it by default. But you can enable it here if you wish.

    MarkOfTheWeb - disabled by default. If enabled, all exported pages will contain this feature.
    John.
    IP

  2. #2

    Default Re: Undocumented and advanced features

    Quote Originally Posted by covoxer View Post
    You can directly specify the filename of the exported image by adding following name to the object:
    Code:
    filename="mypicture"
    Where mypicture is the filename you want to use. Do not add an extension - it will be added automatically based on the image type used on export. Also take care to avoid naming conflicts. To avoid conflicts with autogenerated names simply make sure that your names do not begin with a digit.
    As of WD6 (Jul 9 2010 update) and DP6
    IP

 

 

Tags for this Thread

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
  •