View Full Version : Any way to...
SteveDude
06-25-2007, 11:04 PM
I have a main display page with several buttons on the side. The content on the main page displays a paragraph block containing important "Read Me" information. The question is...Is there a way to disable the buttons I want until the Read Me text scrollbar actually has been moved to the bottom, as it would be if the users read the entire block of text?
Thanks.
AudioSam
06-25-2007, 11:14 PM
I think you might do that with mouse position.
I know others are much better than I am at this.
It seems there aren't many online right now.
If you want to chat on a chat program I have been working on download
and I'll be online..
Thank You,
AudioSam
thetford
06-26-2007, 12:40 AM
why not just put a "check box" that must be "checked", which states that the user has indeed read the text before proceeding.
AudioSam
06-26-2007, 12:44 AM
I think he wants to be sure they have at least gone thru the motions of reading the important information before allowing the user to continue.
I may be wrong but I think thats it.
I thought mouse position up might do the trick.
Thanks,
AudioSam
thetford
06-26-2007, 12:51 AM
here is a sample
thetford
06-26-2007, 12:53 AM
yeah, it probably would. In case you "only" want to cover yourself, a checkbox will do the trick.
the great thing about AMS is there is usually about a half dozen ways to get from A to B!
AudioSam
06-26-2007, 12:54 AM
My home town is pretty close to you.
Laurel, Ms.
Just thought I would say hello.
I downloaded the sample file for future use..
Thanks,
AudioSam
TJ_Tigger
06-26-2007, 07:56 AM
I have done this with the paragraph object and the GetScrollPosition (I think that is the right action anyway). You can get the current scroll position of the paragraph and once that equals the end of the paragraph then you can enable these other options. I did this on a software installer I created.
Here is the code I used and this was placed in the On Timer event for the page
tbRange = Paragraph.GetScrollRange("Paragraph1", true);
if tbRange.Max - (Paragraph.GetSize("Paragraph1").Height/17) <= Paragraph.GetScrollPos("Paragraph1", true) then
Plugin.SetEnabled("Plugin1", true);
Page.StopTimer();
end
You will have to play around with the scroll position of the object to find the correct values to use. the divisior is used to determine the height of the paragraph object and then allows you to approximately determine when you are at the end of the paragraph object.
HTH
Tigg
thetford
06-26-2007, 04:49 PM
hey sam! I go to MS (or used to) for crawfish boils! Lots O fun!
oh... the sample is just beginner stuff..... probably not much use to you, but I remember when I started using AMS, babe in the woods bro... Come to think of it, I still am! LOL
AudioSam
06-26-2007, 05:00 PM
Download this app.
http://www.sendspace.com/file/q5xboi
Will be able to chat.
Its my personel chat app , no junk.
Thanks,
AudioSam
thetford
06-27-2007, 12:00 PM
"file not available"
Haydeng
06-27-2007, 12:06 PM
I believe he took it down a while ago.
SteveDude
06-28-2007, 08:40 PM
Thanks Tigg!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.