-
Re: [tweaks] The tweaks set for XWD 5.0.1
Quote:
Originally Posted by
lingo3
Thanks
Thanks Tom, tried that & i'm just getting the option to click on files which are obviously from the wrong folder.
Nickydude - yes i've got checker.gif plus, plus the xara logo & some rich text files. i noticed you managed to sort yours out, what do i need to do?
thanks again
paul
Lingo
I did not explain that well.
In design gallery click on the tab: [Disc Designs], then locate your unzipped tweaks file XWD 501 Tweaks ( I copied mine to: Program Files/Xara/Xara Web Designer/ )
Double click this file > then click ADD. You should see a new folder called Tweaks at the bottom of your Design Gallery.
Tom
-
Re: [tweaks] The tweaks set for XWD 5.0.1
New version available!
New:
1. Added draggable popup layer support. Now you can let users drag the popup layer around. As was suggested here: http://www.talkgraphics.com/showthread.php?t=37591
2. Added tweak that disables page clipping. Usefull with floating popups as well as in cases when you need graphics to be visible outside the page area.
3. Some minor improvements. Now all tweaks pass validation.
Read manual for more details.
Download latest version (v.1.5)
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Yet another thanks for adding cool functionality to the application.
I really like the page clipping thing. this will be useful for adding some simple graphical elements at the background without having to think about stuff like tiling.
The layer dragability is super cool - don't know if I can think of a practical use for it right now, but I definitely like having little tricks like this in my toolbox! In fact, it's cool enough that I may be trying to FIND a practical use for a site I'm working on. This is the sort of thing that really stands out as a little different "than the rest" in the web design world.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Thank you for listening and your deligence, John
Job well done.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
These additions were big ones. So big thanks to John!
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Thanks for the new additions, John!
-
Broken links after zooming
John,
I am using IE7.0.5730
When running the Manual.htm, if I use the middle-scroll button on my mouse to zoom in, the Links on the left hi-light when moused-over but the link does not execute when clicked.
I have to close and reopen Manual.htm to make the links work.
JC
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Yes, this will be fixed in the next version of WD.
Tweakset User Manual was created entirely with WD 5.0.1.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Thanks so much John for all your work. It is a great program that Tweaks only make better. :)
-
Re: [tweaks] The tweaks set for XWD 5.0.1
So I downloaded and unzipped the lastest file of the tweaks. Just to let you know I have yet to be able to see these. I went to the design utility, desc designed, clicked on the tweak file.
I put it in it's own special folder in a desktop file I have for graphics. When I import them I get gray squares with .htm under them. As far as I can tell there is no functionality.
What am I doing wrong? ;).
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Quote:
Originally Posted by
dlynnhicks
So I downloaded and unzipped the lastest file of the tweaks. Just to let you know I have yet to be able to see these. I went to the design utility, desc designed, clicked on the tweak file.
I put it in it's own special folder in a desktop file I have for graphics. When I import them I get gray squares with .htm under them. As far as I can tell there is no functionality.
What am I doing wrong? ;).
Sound like you have added wrong directory to the designs gallery. When you select directory to add, you have to open the "XWD 501 Tweaks" folder, so that you see only the "XaraInfo" folder in the list. Then press "Add". I think you simply selected "XWD 501 Tweaks", and not entered it, when you clicked "Add".
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Don't know what I did but it is finally in Xara WD. Thanks.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Hey Covoxer,
Let me repeat again how much I appreciate you adding these special extras to the program to help it cross the tech barrier, if just a little. I wish I knew javascript to be able to author anything like these!
Regarding the Locking Popups: Is there a way to change the script so that only some popups are locked, but others close normally? Like amybe something about the way an item is named on the locking layers. That is, rather than just naming something on the layer that you want locked, you name it "lockthis: rectangle3" or whatever. If other popups don't contain names with that prefix, they don't lock.
Would something like that be a big change? I'm thinking no, but I don't understand javascript at all (though I have a COBOL, VB type background a long time ago)
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Slavelle's request is very much needed here too!
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Why? With locking popups enabled you have full control over your popups. You can close and open them with any button. If you need behavior similar to default on click popups, you can simply add my_close for all poppups and my_open for one to the button, so when you click it, all popups hide and one appears. You can combine it anyway you want. So I really don't understand what exactly do you miss from conventional on click popups?
BTW It's not that easy to implement.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Speaking for myself - I have 10-20 popups in one page. Just a couple of those needs to be sticky. Then I have 5 pages similar to this.
Every sticky popup needs a unique name. It would be easier to maintain names if I could just name the few ones that really need it. The regular way of using click popups is easier because it is more like "set and forget".
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Ok. Let's try this one.
Replace the code in the placeholder of the locking popups tweak with following code:
Code:
<script type="text/javascript">
function my_close(my_name){var o=document.getElementById(my_name).parentNode; if(o.id=='')o=o.parentNode;xr_v0(o);};
function my_open(my_name){var o=document.getElementById(my_name).parentNode; if(o.id=='')o=o.parentNode;xr_v1(o);};
</script>
Now all on click popups will work as usually. If you want a popup to be locked, use javascript:my_open("popupname") link instead. I think you're familiar with this.
What do you think, does it solves the queasion?
-
1 Attachment(s)
Re: [tweaks] The tweaks set for XWD 5.0.1
John,
I'm attempting to make this work and have run into an issue: Since the layer that I want to show as a popup is not designated as a popup layer anywhere (unless the my_open thing handles this), it always shows just as if it were on the mouseoff layer.
So, when I click the "close this locking popup layer button", it closes the mouseoff layer and the whole thing disappears.
What am I missing? (see attached example)
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Yes, of course, you have to link something to the layer to make it popup. If you don't want this object to be available for user, either hide it under something or place on the hidden layer (a popup layer with only references placed on itself).
-
Re: [tweaks] The tweaks set for XWD 5.0.1
I did "link" something to the layer, but from your instructions, I thought ath I was supposed to use the javascript:... link in the URL field for the button that should open the locking popup as opposed to the "show a popup layer" choice that I usually use. So, I've got two buttons,one that links to a non-locking popup in the normal way (which works) and one that links to a locking popup, using the javascript:... in the URL field which displays before anything is clicked and becomes one with the mouseoff layer.
My example shows what I'm trying to do: Am I linking off the "open the locking popup" button incorrectly?
-
1 Attachment(s)
Re: [tweaks] The tweaks set for XWD 5.0.1
See the attached.
Note, that despite Popup1 is intended to be a locked popup, you still need to have the button that is called "Popup 1 (not locked)".
As I say, if you don't want to use this button, hide it somwhere, make it 1x1px size and place under anything so it's not visible.
Do you understand now?
-
Re: [tweaks] The tweaks set for XWD 5.0.1
John, I think your new script method really answer the question Slavelle originally brought up. Now we can even use two methods to open the one and the same popup, making this all very flexible.
Thank you very much!
Btw, I am a bit confused of the place where we could place our scripting requests - this thread or the "Dear..." subforum?
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Quote:
I am a bit confused of the place where we could place our scripting requests
Hi Markuu,
The 'Dear Web Designer' forum is for program feature requests, new ideas and bug reports.
Discussing, testing and swapping scripts for your pages is best kept in the main Web Designer forum.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Yes, please keep all discussions regarding tweaks in this thread for now.
Thank you.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Hi,
I come back to this request of a sticky floating objects that (I'm assuming here) reposition themselves based on the current position of browser's scrollbar. They are always visible at the same spot on the screen no matter of the page position, and they stay on top of the content.
With this I'm looking to demo a use case where a customer care person is using a heavy customer managing application, getting calls from customers, providing them with information and making changes to the information, and at the same time typing information (report) about the customer call, and this last part is where I thought of using a floating widget that can be opened/closed and stays available for the cc person all the time for writing the report. With the widget's position I have two options; right hand side or at the bottom of the browser viewport a bit like a dashboard.
Things like this have been in the web for a long time, but of course it would be cool to have such a tweak in WD.
I thought the sticky footer tweak would have fitted into my use but that tweak appears not to float on top of content, but maybe it could be used as a base for this, I don't know. But Covoxer would. :p
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Covoxer,
I got it. I wasn't reading what you said quite right, but now I get it. In case anyone else misses it like I did: Even though you will have a button that calls your locking layer by use of the javascript:... in the URL field, that button is not enough to tell Xara that the locking layer you are referring to should be considered a popup layer. By creating another box of some sort (even off the page or behind another object or whatever that links to the popup layer as if it were any other, it indicates that the layer you are referencing is to be a popup layer, and thus, it doesn't show. The other buttons you create will actually control the showing and hiding of this layer - this "extra" linking mechanism seems only to be here to properly identify the locking layer.
Hope that helps - and thanks again covoxer...does exactly what I asked for.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Here are two examples of what I mean in my previous post.
You need to click the "Demo" link to see it in action.
http://nettuts.com/html-css-techniqu...query-and-css/
Here the ad on the right is another example.
http://www.demonoid.com/
:)
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Quote:
Originally Posted by
Markku
Yes, I know. Create placeholder on the popup layer that has to be "floating" and put following code in it:
Code:
<div class="my_noscroll_id"></div>
<script class="text/javascript">//<!--
if(!my_noscroll_used){my_noscroll_old = window.onscroll; window.onscroll=my_noscroll;}
var my_noscroll_sxo=0;var my_noscroll_syo=0;
function my_noscroll(e){var sx=0;var sy=0;
if(my_noscroll_old)my_noscroll_old(e);
if(typeof(window.pageXOffset)=='number'){sx=window.pageXOffset;sy=window.pageYOffset;}else if(document.body && (document.body.scrollLeft || document.body.scrollTop))
{sx=document.body.scrollLeft;sy=document.body.scrollTop;}else{ sx=document.documentElement.scrollLeft;sy=document.documentElement.scrollTop;};
var t = document.getElementsByTagName("div");var i;
for(i=0; i<t.length; i++) {
if (t[i].className=="my_noscroll_id"){var o=t[i].parentNode.parentNode.parentNode;
o.style.left=(parseInt(o.style.left)+sx-my_noscroll_sxo)+"px";o.style.top=(parseInt(o.style.top)+sy-my_noscroll_syo)+"px";
};};my_noscroll_sxo=sx;my_noscroll_syo=sy;};
var my_noscroll_used=1;//-->
</script>
You can use it on multiple popups if needed.
I'll add this to the tweakset together with a few more snippets soon. :)
-
Re: [tweaks] The tweaks set for XWD 5.0.1
:eek::eek::eek::eek::eek:
How could you do that?????? So quickly? Works right of the bat!!!!
In the beginning I wasn't even sure how to use it, I just took your code, put it within my existing crippled example of this feature, and with this tweak it became magically alive. Hooorray!!!
Thank you so much, John!
-
Re: [tweaks] The tweaks set for XWD 5.0.1
:D
Oh, and it works in combination with locking popups and draggable popups tweaks.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
It sure does - that I experienced because my crippled example had both of those, and this new tweak of yours worked just beautifully.
My world is still shaking...this was such a heavy, happy bomb. :D
You make magic happen with Web Designer!!
-
Re: [tweaks] The tweaks set for XWD 5.0.1
John,
Will these tweaks be included in the next update to XWD or will they always be "Add-ons"?
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Quote:
Originally Posted by
ss-kalm
Will these tweaks be included in the next update to XWD or will they always be "Add-ons"?
Some of these features may be implemented on the program level, but certainly not all. That's all I can tell.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
A POOR MAN'S ANIMATION
I like to use iFrames as a replacement for symbols.
Sometimes I would like to animate my iFrame content mainly to mock up sliding/hiding/showing panels a'la AJAX. It could be used for regular content also - does not have to deal with iframes at all.
There seems to be a pretty good solution for that but I'm too novice to grasp it on my own.
See description here
http://flesler.blogspot.com/2007/10/...scroll-10.html
and demos here
http://demos.flesler.com/jquery/scrollTo/
http://demos.flesler.com/jquery/serialScroll/
http://jquery.com/demo/thickbox/
I'm dreaming of a tweak that would make all of that a little more simple to use in WD. As seen in the second demo there even seems to be a way of connecting earlier tweaks like "myOpen/Close" with the 'onAfter' option.
Is this possible, worthwhile or interesting?
-
Re: [tweaks] The tweaks set for XWD 5.0.1
-
Re: [tweaks] The tweaks set for XWD 5.0.1
It's about TIME...
It would be nice to have a tweak for showing snapshot of time and/or date at a given moment and have it written to a text object that has my own formating. Why not running time also, but timestamp is more important to me right now.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
<font face=verdana size=1 color=gray>
<script type="text/javascript">
var d = new Date()
document.write(d.getDate())
document.write(".")
document.write(d.getMonth() + 1)
document.write(".")
document.write(d.getFullYear())
</script>
</font>
I've used this in a placeholder with success. Change the red text to the font, size and colour of your choice.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
Works very nice, Thank you !
Can those "get"s be changed into hours, minutes, seconds with common sense?
-
2 Attachment(s)
Re: [tweaks] The tweaks set for XWD 5.0.1
Quote:
Can those "get"s be changed into hours, minutes, seconds
Yes, have a look here for other arguments.
Attached sample .web for other members.
-
Re: [tweaks] The tweaks set for XWD 5.0.1
I changed the arguments to the best I could with your directions but it didn't render anymore. Sorry I'm a bit thick with coding. :o
Could you please make the changes to your version because I liked it for its easy formating options?