1 Attachment(s)
[tweaks] Highslide Tweaks for XWD6
Inspired by John (covoxer) and Steve (sledger), I tried my hand at putting together some tweaks for the Highslide slideshow feature of XWD6. I zipped them up and attached them to this post. I used code snippets as presented on the Highslide website: http://highslide.com.
I’m nowhere near an expert in writing code and I hope, therefore, that John – who is one of the developers at Xara – is willing to take a good look at them. I’ve noticed that some code that I tried out seemed to reset some of XWD’s HS core settings, so perhaps it’s wise to wait till John gives his okay.
Most tweaks allow you to adjust settings/values. I included in the Placeholder “Replace with HTML code” window some directions. These are preceded by a double slash (“//”). I included some tweaks allowing to restore default settings/values because in some cases even after removing a tweak, the settings/values didn’t return to XWD’s original settings/values. This may very well have been caused by some code that didn’t really work the way I expected and which I, therefore, didn’t include in the tweaks.
The tweaks are listed in the next post. If you discover any issues with them, please mention them in this thread.
Re: Highslide Tweaks for XWD6
Description of Highslide tweaks for Xara Web Designer 6:
HS BG Dimming & Color.xar – allows you to set the opacity and color of the popup background;
HS BG Reset Defaults.xar – allows you to reset the default settings for opacity and color of the popup background;
HS Block Right-Click.xar – this tweak makes it impossible for a visitor to right-click an image and copy or save it. Please note that a visitor can copy/save the images in other ways;
HS Caption R or L + Width.xar – allows you to set the caption panel to the right or left of the popup image and set the panel’s width;
HS Center Popup + Default.xar – same tweak as introduced by sledger but default value (“auto”) is included;
HS Number All Images.xar – with this tweak each image in the slideshow is numbered and set off against the total count of images. You can customize display text and assign it to the header or the caption (footer) area of the popup;
HS Popup Set Margins.xar – this tweak helps you to keep certain areas of your web page (e.g., the menu) uncovered by popups;
HS Popup Defaults.xar – allows you to reset the margins to “0” again;
HS Preload Images.xar – you can set the number of images to be preloaded. If too many images are preloaded the page may act slowly.
Re: Highslide Tweaks for XWD6
Ah, I forgot. You can have the tweaks included in the Designs Gallery by clicking the "Disc Designs" button on top of this gallery. Browse to where you saved the tweaks folder on your hard disk and open the folder. Even though you don't see anything, click "Add". Now, the tweaks will be accessible through the Designs Gallery.
To use them, drag and drop them on the MouseOff layer of the page on which you have an image gallery. You can change the settings by opening the Web Properties window and selecting the Placeholder tab.
Re: Highslide Tweaks for XWD6
Nice job of collecting and preparing these for use in WD6 Boy :D
Xtreme Pro 6 will also use the HS popups, so when that is released all the HighSlide tweaks will work there too.
Thanks for taking the time.:-bd
(Of course you realise you now have to support them >:) ;)) )
1 Attachment(s)
Re: Highslide Tweaks for XWD6
Hi Boy. Thanks very much for the tweaks, very generous of you:) 1st with a support problem here though I'm afraid [probably me!!] - tried the Centre, Caption Align and Numbering tweaks together and only the centring works :o Tried without it and the others individually but still no joy. Could you have a look at the .web for me please?
Re: Highslide Tweaks for XWD6
Quote:
Originally Posted by
sledger
(Of course you realise you now have to support them >:) ;)) )
You got me worried there, Steve, especially when I saw neodeist's post! :eek:
1 Attachment(s)
Re: Highslide Tweaks for XWD6
Quote:
Originally Posted by
neodeist
1st with a support problem here ...
I think I got it covered, neodeist. ;) Looking at your file I noticed the following: First of all, you need to place the placeholders on the page itself. The caption align feature didn't work for you because you didn't enter any text on them (in other words: w/o text, no caption panel).
I redid your file a bit and attached it to this post.
LATER EDIT: As sledger pointed out, these tweaks missed the <head> name and therefore didn't work off the page. New .zip file will be uploaded...
Re: Highslide Tweaks for XWD6
Quote:
Originally Posted by
Boy
First of all, you need to place the placeholders on the page itself.
I think they should all have the <head> name?
They work fine off the page and on the pasteboard provided they are placed in the head section (even Johns)
Re: Highslide Tweaks for XWD6
Quote:
Originally Posted by
sledger
I think they should all have the <head> name?
You're absolutely right. I messed up a bit with the <head> name with some of the tweaks. Now they'll also work if placed on the pasteboard next to the page with the slideshow. Sorry about that.
Steve, I want to re-upload the .zip file and attach it to the first post but I can no longer edit that post.
Re: Highslide Tweaks for XWD6
You can send it to me and I'll re attached the zip to the first post.
sledger-at-gmail-com