Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2008, 01:43 PM
gordee gordee is offline
Member
 
Join Date: Jul 2008
Posts: 56
Downloads: 0
Uploads: 0
Default docking navigation tutorial?

Hi,

Can anyone give advice on making a sliding nav bar OSX style, i.e. mouse over at bottom of the screen brings up nav bar?

thanks
Reply With Quote
  #2  
Old 07-14-2008, 12:23 PM
phberlin's Avatar
phberlin phberlin is offline
Senior Member
 
Join Date: Aug 2007
Location: Berlin, Germany
Posts: 299
Downloads: 0
Uploads: 0
Default

Hhm, I'd suggest to put a hotspot at the bottom that is as large as the area you want the "mouse-over" to be active in. Then set this hotspot's alpha=0 (so it's active, but invisible) and give it an "onOver"-action that brings up your navigation bar. Get what I mean?

Regards, Ph.
Reply With Quote
  #3  
Old 07-14-2008, 06:37 PM
gordee gordee is offline
Member
 
Join Date: Jul 2008
Posts: 56
Downloads: 0
Uploads: 0
Default I think so

I think so...

It makes sense in theory but I guess I'm still getting used to xml.

I tried following this but couldn't get it working

http://flashpanoramas.com/forum/show...ion+slide+dock

I'm sure I'll get it in the end. Thanks for replying
Reply With Quote
  #4  
Old 07-15-2008, 01:42 PM
gordee gordee is offline
Member
 
Join Date: Jul 2008
Posts: 56
Downloads: 0
Uploads: 0
Default some progress

So I tried it this way...
Quote:
<hotspots>
<global>

<spot id="dock" url="images/dock.png" alpha="0.25"

static="1" align="CB" salign="CB"

onOut="info.alignY=0,1000;
info.salignY=0.6,1000;"
onOver="info.alignY=0,1000;
info.salignY=0.35,1000;"
/>

<spot id="info" alt="info" url="images/black_i.png"

static="1" align="CB" salign="CB"

onClick="infoscreen.visible=1"
/>

<spot id="infoscreen" url="images/ghostsLogo.jpg"

static="1" align="CM" salign="CM" onClick="visible=0"

onOver="" onOut=""
/>

</global>
</hotspots>
I have a large rectangle spot at the bottom of the pano and when I mouse over it, the info button tweens up from below the screen as intended, but when I mouse over the info button it docks again. Any ideas how to stop this?

I could put the same mouse over code on the info button but this seems like the wrong thing to do right?
Reply With Quote
  #5  
Old 07-15-2008, 04:18 PM
gordee gordee is offline
Member
 
Join Date: Jul 2008
Posts: 56
Downloads: 0
Uploads: 0
Default

I figured it out!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:56 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.