inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Nov 8, 2012 6:34:48 GMT -8
It's open to guests now.
EDIT: Your account is also approved.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 8, 2012 6:49:26 GMT -8
The issue is that you are using 0.4.0 of the Yootil library. We have not made 0.5.0 available for the plugin yet as it hasn't been tested. Also your Digital clock is adding another body tag... <body onload="startTime()"> No need to do that. Just call "startTime()". 0.5.0 will be available in a minute, though usually we would need to test our changes before updating everyone to the latest dev version.
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Nov 8, 2012 7:30:00 GMT -8
...sorry for asking so many questions :-\ ...I have no idea how to "Just call 'startTime()'"
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Nov 8, 2012 8:04:26 GMT -8
...sorry for asking so many questions :-\ ...I have no idea how to "Just call 'startTime()'" Once the HTML for the clock is loaded, you call that JavaScript method. This means you'll od something like this: <script type="text/Javascript"> startTime(); </script>
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Nov 8, 2012 8:11:36 GMT -8
...sorry for asking so many questions :-\ ...I have no idea how to "Just call 'startTime()'" Once the HTML for the clock is loaded, you call that JavaScript method. This means you'll od something like this: <script type="text/Javascript"> startTime(); </script> Tried that and it doesn't work for me. I should probably just move this to it's own thread so I don't mess up you guys thread.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Nov 8, 2012 8:26:02 GMT -8
Once the HTML for the clock is loaded, you call that JavaScript method. This means you'll od something like this: <script type="text/Javascript"> startTime(); </script> Tried that and it doesn't work for me. I should probably just move this to it's own thread so I don't mess up you guys thread. I'm sure we'll punt this for another thread in the future, but yeah, make a new thread. Also, please post your current setup for that thread (i.e. code a is in global headers, code b is in main headers.)
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Nov 8, 2012 10:59:26 GMT -8
Thanks for all the help (all my problems are fixed now ) I just have one question. If we use these variables and stuff for writing a code anyone who wants to use the code will also have to have the yootil library installed, correct?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 8, 2012 11:10:54 GMT -8
Thanks for all the help (all my problems are fixed now ) I just have one question. If we use these variables and stuff for writing a code anyone who wants to use the code will also have to have the yootil library installed, correct? Correct. Just supply a link to this topic for now, just in case we updated the pbp file.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 9, 2012 7:13:50 GMT -8
Docs, and compressed JS updated to 0.6.0
There is now a storage class (uses window.name, so it's session based only, so has limited use).
yootil.storage.set yootil.storage.get yootil.storage.clear
3 new location checks:
yootil.location.check.editing_thread(); yootil.location.check.editing_post(); yootil.location.check.editing();
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 10, 2012 10:28:20 GMT -8
Update 0.6.2
0.6.2 - Couple of new location checks to do with messages / conversations - New form class added to get specific forms quickly
Docs updated.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Nov 10, 2012 10:35:02 GMT -8
Whoops. I have a commit sitting locally peter for post_editing(). Haha. My goal with post() was to get anywhere the editor appeared... are we concerned at all with this not including the edits? Should probably be a form check instead for that case.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 10, 2012 10:47:29 GMT -8
Whoops. I have a commit sitting locally peter for post_editing(). Haha. My goal with post() was to get anywhere the editor appeared... are we concerned at all with this not including the edits? Should probably be a form check instead for that case. Hmm, not sure to be honest. Technically it should still fall under "post", so I suppose we should include the check there. So in my case with money, I don't want to allow money to be added if the user is editing a post, so I suppose my checks would be like this? if(yootil.location.check.posting() && !yootil.location.check.editing()){ } So yeah, maybe posting should include edits as well.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Nov 10, 2012 11:02:17 GMT -8
Whoops. I have a commit sitting locally peter for post_editing(). Haha. My goal with post() was to get anywhere the editor appeared... are we concerned at all with this not including the edits? Should probably be a form check instead for that case. Hmm, not sure to be honest. Technically it should still fall under "post", so I suppose we should include the check there. So in my case with money, I don't want to allow money to be added if the user is editing a post, so I suppose my checks would be like this? if(yootil.location.check.posting() && !yootil.location.check.editing()){ } So yeah, maybe posting should include edits as well. Since we can combine those, I think that makes sense. Posting will NOT include sending a message though. I feel those are distinct? Then again, message has the same form... What about calendar entries? They become threads in boards in v5.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 10, 2012 11:08:06 GMT -8
Hmm, not sure to be honest. Technically it should still fall under "post", so I suppose we should include the check there. So in my case with money, I don't want to allow money to be added if the user is editing a post, so I suppose my checks would be like this? if(yootil.location.check.posting() && !yootil.location.check.editing()){ } So yeah, maybe posting should include edits as well. Since we can combine those, I think that makes sense. Posting will NOT include sending a message though. I feel those are distinct? Then again, message has the same form... What about calendar entries? They become threads in boards in v5. I think posting shouldn't be connected with messages or calendar entries. I haven't looked over the calendar yet, so you have reminded me to add them into the forms module. If someone really wants to target them all, they can easily add them into their condition... if(yootil.location.check.posting() && yootil.location.check.calendar_posting() && yootil.location.check.messaging()){ } calendar_posting()? Was going to go with calendaring() lol, but not sure that sounds right
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Nov 11, 2012 7:36:55 GMT -8
calendar_posting works for me. BTW, what's your spacing settings? Github makes me think we're using different settings.
|
|