Persistent Layer Pro Support Product Page
This topic is locked
This topic was archived
trigger plp refresh
Asked 16 May 2006 01:40:34
1
has this question
16 May 2006 01:40:34 nathan heinrich posted:
Hey Marja,I know PLP looks for scrollbar movement to reposition a selected div.
How can I do this from within Flash 8? Is there a function i can call to simulate scrollbar movement to have it reposition the div to where it should be?
Replies
Replied 16 May 2006 09:10:08
16 May 2006 09:10:08 Marja Ribbers-de Vroed replied:
I'm sorry Nathan, but I know nothing at all about Flash. So I can't help you with this.
--
Marja de Vroed
www.clubwebware.nl
www.prikhetop.nl
www.flevooware.nl/dreamweaver/
--
Marja de Vroed
www.clubwebware.nl
www.prikhetop.nl
www.flevooware.nl/dreamweaver/
Replied 16 May 2006 17:49:41
16 May 2006 17:49:41 nathan heinrich replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I'm sorry Nathan, but I know nothing at all about Flash. So I can't help you with this.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I must not have been clear then because it doesn't really have to do with flash. I have a javascript that changes the size of the div PLP is keeping persistent on the bottom right of the viewport. When the size is changed in IE the div is anchored to the top left of the div and is therefor floating away from the bottom right.
I'd like to know if there is a way to trigger the PLP script to refresh/reposition the div where it is suppose to be. Firefox does it automatically but IE will only do it if you move the scrollbar or resize the window. So for the IE users when they click the button that resizes the div i'd like to add to that onClick whatever code would be necessary to trigger PLP to do a refresh/reposition the div. I'm not exactly sure how your script works but I picture sending PLP a fake scrollbar movement via the onClick.
I don't know much about javascript but I have a feeling this is entirely possible. Any help would be great.
I'm sorry Nathan, but I know nothing at all about Flash. So I can't help you with this.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I must not have been clear then because it doesn't really have to do with flash. I have a javascript that changes the size of the div PLP is keeping persistent on the bottom right of the viewport. When the size is changed in IE the div is anchored to the top left of the div and is therefor floating away from the bottom right.
I'd like to know if there is a way to trigger the PLP script to refresh/reposition the div where it is suppose to be. Firefox does it automatically but IE will only do it if you move the scrollbar or resize the window. So for the IE users when they click the button that resizes the div i'd like to add to that onClick whatever code would be necessary to trigger PLP to do a refresh/reposition the div. I'm not exactly sure how your script works but I picture sending PLP a fake scrollbar movement via the onClick.
I don't know much about javascript but I have a feeling this is entirely possible. Any help would be great.
Replied 16 May 2006 17:52:38
16 May 2006 17:52:38 Marja Ribbers-de Vroed replied:
How about applying the PLP initialisation behavior for that same layer to that onClick event?
--
Marja de Vroed
www.clubwebware.nl
www.prikhetop.nl
www.flevooware.nl/dreamweaver/
--
Marja de Vroed
www.clubwebware.nl
www.prikhetop.nl
www.flevooware.nl/dreamweaver/
Replied 17 May 2006 00:46:11
17 May 2006 00:46:11 nathan heinrich replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
How about applying the PLP initialisation behavior for that same layer to that onClick event?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That did it. Thanks.
How about applying the PLP initialisation behavior for that same layer to that onClick event?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That did it. Thanks.
