Xara Web Designer
5.0.1
Tweak Set
Xara Web Designer
5.0.1
Tweak Set
Read me!
Placeholders:
History buttons
Left aligned page
Tile background horizontally
Tile background vertically
Don't tile background
Static background
Don't scroll background
Disable page clipping
Gallery background
Dragging popups
Locking popups
Autoload next page
Auto width
Page presets:
Sticky footer
Loading screen
Dynamic page
<Previous
Next>
Copyright © 2009 John W. Horn
Placeholders:
Auto width
Page presets:
Copyright © 2009 John W. Horn
Auto width
Use: Ddrag and drop on the page. Adjust the file list. Copy to the all
pages of this set.
This tweak allows you to create multiple versions of your page with
different page width. When user opens the page, a best variant for his
browser window width is loaded.
The snippet selects the widest page variant that fits to the users
browser window.
1. First of all, you have to create a set of pages which are variants of
the same page with different page width. Set the page width in the
“Page size” tab of Options dialog.
2. Set the filenames for every page in the set (Web properties dialog,
Page tab, “Page filename” field).
3. Drag and drop the “Auto width” tweak to one of these pages and
open the placeholder code (Web properties dialog / Placeholder tab).
4. Scroll down until
you see the default
list of pages.
5. Replace filenames
with file names of
your pages, and
width with correct
width of the page.
Important! You have
to enter precisely
the same width as is set in the “Page size” tab.
6. You can add or remove as many variants as you wish. When you
applied your changes to the script, copy and paste this placeholder
object to all page variants.
v.1.5 (April 9, 2009)