Hi Lee. Using your first xar file as an example this is what I get. CLICK HERE
Didn't see Johns post above until after I'd posted this. Perhaps John can tell us is it possible to have a non rectangular hotspot?
Hi Lee. Using your first xar file as an example this is what I get. CLICK HERE
Didn't see Johns post above until after I'd posted this. Perhaps John can tell us is it possible to have a non rectangular hotspot?
Last edited by Egg Bramhill; 20 May 2008 at 07:48 PM.
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Thanks for your input. Gets us there a lot quicker.
I guess it's pretty obvious from my design, that it's not possible to design around this feature. It strikes me that it might be possible to get dirty with the HTML and fix this.
Whilst I appreciate this design choice in Xara - in theory would it be possible to create HTML that works in the way I was expecting? (Before I spend ages trying to work it out, only to find out that there's no way around it).
Regards
Lee
I would recommend to use Flash for your house map. You could use Xara Xtreme to export two SWF files (normal drawing and mouseover drawing) and import them into Adobe Flash.
Regards,
Remi
Thanks for the suggestion Remi, but having downloaded the trial version of Flash CS3, it appears much to complicated for me to learn, just for this one bit of the website - not to mention expensive if it turns out I can't do the whole thing in the trial version.
I will have a look this evening all the same.
Regards
Lee
Hi Egg,
No, there's no way to set non rectangular shape for mouse over testing with the HTML export currently. It requires imagemaps. Present version of the HTML export filter can not export image maps. But it is on the feature list to implement in future versions. So hopefully, it will be implemented one day.Perhaps John can tell us is it possible to have a non rectangular hotspot?
Hi Lee,
I'm not perfectly sure how exactly you expect it to work. But if you simply want the pop-up layer to hide as soon as a mouse pointer moves out of the object that has invoked this pop-up, and not the entire pop-up layer design as is now, then yes, it is possible to implement it this way. Though it requires some serious changes to the rollover script (roe.js). And I'm afraid, it may be very hard to do.Whilst I appreciate this design choice in Xara - in theory would it be possible to create HTML that works in the way I was expecting?
John.
How odd... I'm certain that I get diamond shaped mouse over on IE 6 with Egg's example. Again I must check whether I am mad or not. Does anybody else get this? Do some browsers look at the transparency of the underlying bitmap?
Yes - as you can see on my website, I've used the mouseover to fake changing the colour of some rooms. And "Over" in the 3d view I've chosen doesn't really reflect the pop up area.
I was hoping that the parameters that define the boundary boxes might be defined in the HTML. There's certainly no way that I can consider editing Javascript, though. I'd probably have more luck recreating in Flash.
Regards
Lee
Last edited by leemcg; 21 May 2008 at 11:56 AM.
Unlike any other browsers that support transparency chanell in the PNG images, IE6 uses DirectX effect to load them with correct transparency. This has somewhat different behavior and does indeed select through the fully transparent area of the image. This partly works as you describe. So don't worry, you are not mad.How odd... I'm certain that I get diamond shaped mouse over on IE 6 with Egg's example. Again I must check whether I am mad or not. Does anybody else get this? Do some browsers look at the transparency of the underlying bitmap?
But still you should not rely on this sideeffect since it doesn't work in any other modern browser, including IE7.
John.
I don't! IE7, Fox, Opera, Safari all behave the same for me.Originally Posted by leemcg
Hmm, tricky one. Would have to be limited to single groups, as you can't put an image map on top of another image map without the rectangular shape of the top one obscuring any links underneath it in the bottom one. So there are still some bad interactions with pop-ups it would be impossible to avoid, I think.Originally Posted by covoxer
Plus of course most object shapes would have to be approximated with straight-line polygons.
A quick visual inspection suggests that neutering the re() function may produce the desired effect:Though it requires some serious changes to the rollover script (roe.js).
replace with:Code:function re(i){rc=0;if(ms>=0)for(;(i!=pl[pi])&&(pi>0);pi--){v0(ps[pi]);v0(ss1[pi]);v0(ss2[pi]);}}
I haven't checked this thoroughly but on first try seems to work.Code:function re(i){}
Thanks for your help Bob,
It seems that your solution stops the Mouseover ending at all, i.e. even when you leave the original target area. Gradually then all the rooms turn red.
But I guess it's pretty clear that it's somewhere in that function.
(I still have the problem with non-rectangular regions to deal with - maybe I have to learn Flash after all)
Regards
Lee
Last edited by leemcg; 21 May 2008 at 01:11 PM. Reason: Reduced size of quoted region
Bookmarks