Search found 90 matches

by ACProctor
26 Jan 2022 15:39
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

That's not a problem, Mike. The enhancements won't appear until SVG-FTG V6.3 anyway, and so there's plenty of time to let users try your add-in first. My main reason for mentioning these special effects is that you have full control over your header file, and so you could provide any of them for you...
by ACProctor
26 Jan 2022 13:47
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

One final update on this thread, which is otherwise dormant now: if you're not in the SVG-FTG Group on Facebook then you may not be aware of the forthcoming support for drop-shadows on boxes, 3-D boxes, fancy picture frames on boxes, or elliptical boxes. This was me finishing some old experimentatio...
by ACProctor
03 Jan 2022 16:38
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

Re: localisation of Pan-Zoom, there's a new link in the "Program Notes : Pan-Zoom" section that shows how to disable the standard controls and put your own ones in place. As I said before, the standard ones are not using text and so are virtually impossible to localise. The demo at that li...
by ACProctor
31 Dec 2021 16:03
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

V6.2 now released to usual place, Mike, and associated blog post published. See https://parallaxviewpoint.com/SVG-FTG/ for summary information. As before, both the Header_iframe.html and the example iframe element in the documentation have changed. They should be simpler now that I've sorted the las...
by ACProctor
28 Dec 2021 20:30
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

I think that should be easy, Mike. This was just an experiment to deal with the 'Reset' control, but I didn't add any initialisation code to set the same zoom level. That used to be there but I'd removed for the reasons I mentioned, but it can be added back now. Looks like we have a plan :-) I would...
by ACProctor
28 Dec 2021 18:45
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

Mike, could you try an experiment there? In the wrapper function that configures the pan-zoom, could you add this line at the end? window[pz].reset = function() { window[pz].center(); window[pz].zoom(0.95); } This will try and modify the action of the reset control. There is no public API for this b...
by ACProctor
28 Dec 2021 11:40
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

In the V6.1 HTML file, Mike, if you look for the Pan-Zoom initialisation, you'll see that the initial zoom level was 98%, and that left a margin. However, a RESET lost that and I had complaints about it. Try as I did, I could not find a way of making the RESET go to a specific zoom level that was < ...
by ACProctor
27 Dec 2021 20:03
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

Here's a quick example that asks for the background colour and sets it on the iframe.

This should be done in the same ifr_query() call, or at least in the handler part of it, because event handlers are single-threaded in JavaScript, and cannot execute until previous ones have completed.

Tony
by ACProctor
27 Dec 2021 18:51
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

There was no iframe support in v6.1, Mike. The SVG border did not obscure the shapes then, and it doesn't now. What you're seeing is that the SVG border has now been replaced by an iframe border, and they are not playing as well together. Have you tried turning off the iframe border? What about usin...
by ACProctor
27 Dec 2021 16:56
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

When sized to 'fit' then Pan-Zoom takes away all the gaps and the entities are up against the enclosing borders, Mike. You can set the initial zoom level to, say, 98% (as before) but that is lost when you select 'Reset'. The overlap of the shape border and the iframe border seems to be a problem wit...
by ACProctor
26 Dec 2021 19:27
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

OK, I've managed to steal time away from the food, drink, and TV -- when no one was looking -- to package up a V6.2 Beta-2. The location is the same as before, Mike. Couple of new entries added to the previous feature list: 1) The copy-and-paste features in the Tree Designer, and when bringing in el...
by ACProctor
26 Dec 2021 07:49
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

I think it should be up to the hosting document (the one containing the iframe element) to position it, Mike. Although the size calculation in the PDF example for the hosting document has changed, it was the header_iframe.html of the embedded document I was interested in. Anything to do with CSS can...
by ACProctor
24 Dec 2021 17:49
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

That's another good one, Mike. The min-width/min-height properties are the main problem, and are not really needed so they can go. However, there's a more subtle problem to do with clash between Pan-Zoom's scaling and the initial/final margins that SVG-FTG plans for. I've fixed it but it meant chang...
by ACProctor
23 Dec 2021 13:06
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

I would expect the lack of gap to always be true in the output when using Pan-Zoom. Could you send me a copy of your txt file, Mike?

Tony
by ACProctor
23 Dec 2021 10:08
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

I know it's close to Christmas, Mike, but I knocked up a reliable algorithm to size a piece of text in an arbitrary font, and wrap it neatly over lines of a given pixel width. As I said before, this has to be done within SVG-FTG (i.e. offline) so that I can place the individual text segments inside ...
by ACProctor
20 Dec 2021 15:02
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

Yeah, I just had to switch two lines, Mike. A silly bug on my part :-)

Tony
by ACProctor
20 Dec 2021 13:30
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

Does anyone else expect to have feedback on the beta such that I should wait before V6.2 is released properly?

I was hoping to publish it before Christmas, which I know is a short beta but most of the recent stuff was for Mike's plug-in.

Tony
by ACProctor
17 Dec 2021 08:41
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

Ah, good one. Thanks Mike. Re: your past question about the pan-zoom library being localised, I looked into this before and it does not use text. It carves the "RESET" itself using a path element. I have no idea why. There is an issue raised for it on GitHub but I suspect I'm going to have...
by ACProctor
16 Dec 2021 12:11
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

I've published the first V6.2 beta for anyone who might be interested. Available at: https://www.dropbox.com/sh/14orkuhw58fja8m/AAAVyHR4sFfmgsCU5HvJ-j9Ja?dl=0 NB: Installing this will displace your existing version and you'll need to re-install it when you've finished with the beta. If you don't wan...
by ACProctor
13 Dec 2021 18:21
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

As I said, Mike, I'm working on other stuff this week, but I want to add a note about my future direction (some of this has already been experimented with). 1) I have moved the Compendia caption from HTML into a named variable (cp_title), which does make it easier to change, but you still need an XM...
by ACProctor
12 Dec 2021 14:35
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

I'll see what i can do, Mike. I do take your point on a number of issues but it feels like re-inventing the wheel to some extent. Leave it with me, anyway. As for the iframe stuff, I have a really neat solution that is easy to deploy. I wanted this to be clean because I can see it being important in...
by ACProctor
12 Dec 2021 10:32
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

No, they're picked up automatically, Mike. As long as the filename matches the documented wildcard then it loads it. Nothing else is required.

Tony
by ACProctor
11 Dec 2021 18:56
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

I accept would be nice to make it all neat and tidy but is it really necessary. Are there more pressing issues? Like the ones I discussed before... Being able to assign an application to different buttons. Being able to change some rigid text that is currently inhibited despite associated Tooltip t...
by ACProctor
11 Dec 2021 18:18
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

Mike, since we seem to be getting somewhere, can be agree on a possible plan? 1) I will produce a Header_iframe.html that produces the best rendering we can find for arbitrary trees (i.e. ones that may include apps). I welcome your input here. 2) A small communication mechanism allowing the outer do...
by ACProctor
11 Dec 2021 17:33
Forum: Plugin Technical Support & Development
Topic: Website Tree Diagrams with Hyperlinks
Replies: 173
Views: 23868

Re: Website Tree Diagrams with Hyperlinks

It avoids smaller frames bring stretched. Remember that is sizing the enclosing div.

Tony