[Proto-Scripty] Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Peter Sysko
I love prototype and scriptacualous. I don't combine with jquery so i know i am not having a noclonflict headache, and I am just trying to get the visible() function ( http://prototypejs.org/api/element/visible) to not throw null type error exceptions: here is the function I need to fix,

Re: [Proto-Scripty] Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Peter Sysko
Yes that's what I am tryingto do but it must be done on a client side, and i want to avoid cookies, I have written some functions for the handling of innerHTML of a hidden div that would hold this index, and will be parsed using string.split method. It should work in theory, I have no

[Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Peter Sysko
Thanks for the suggestion, Jason. Most people don't run into this problem because they do not deal with dynamically assigned div ids from javascript variables. I found for what i am doing it was the most efficient way to go about referencing the divs. otherwise, switch statements with 33 cases

[Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Peter Sysko
, 2012 2:15:23 PM UTC-4, Peter Sysko wrote: I love prototype and scriptacualous. I don't combine with jquery so i know i am not having a noclonflict headache, and I am just trying to get the visible() function ( http://prototypejs.org/api/element/visible) to not throw null type error exceptions

Re: [Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Peter Sysko
right, i found it: http://api.prototypejs.org/language/dollar-H/ i am used to the idea of assuming zero data persistence in a runtime environment so i'm not sure how this works outside the function scope. in php you have to serialize variables, use a global or superglobal array, use database,

Re: [Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Peter Sysko
fpr what its worth, these are some the handler functions I have created. the logic s fine, but your suggestion is much less work, it seems, and there are a few bugs which i commented out. i am not an expert in JS, its not veryintuitive for me function get_system_states() { var ref =

[Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-15 Thread Peter Sysko
for what its worth, these are some the handler functions I have created. the logic is fine, but your suggestion is much less work, it seems, and there are a few bugs which i commented out. there are other functions which will utilize the current state of system panels, namely opening a module

Re: [Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-18 Thread Peter Sysko
Thanks Dave, I'm still not sure why my visible() comparison wrapper was registering as null when i originally first attempted to perform the functions, because that looks something like what I first tried. Thanks again to Jason suggestions to use a Hash, I have since modified the interface to

Re: [Proto-Scripty] Re: Hi, new to group. Having an issue with visible() method. any suggestions?

2012-10-18 Thread Peter Sysko
http://monkeypanel.com/demo http://monkeypanel.com/demo oops.. a dot usually works before the 'com' hehe -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit