Author Topic: Wikipad: the online calculator keypad anyone can edit  (Read 13034 times)

0 Members and 1 Guest are viewing this topic.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #30 on: September 04, 2011, 12:44:42 pm »
Quote
I did it by hand, with the help of a script x.x
WOW! That's what you meant by "it took the most time". I just finished the map in 5 min.!
« Last Edit: September 04, 2011, 12:45:48 pm by flyingfisch »



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #31 on: September 04, 2011, 02:01:13 pm »
Should I change any of this?

Code: [Select]
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25020274-1']);
  _gaq.push(['_setDomainName', 'clrhome.tk']);
  _gaq.push(['_setAllowHash', 'false']);
  _gaq.push(['_trackPageview']);

I figured out how to change the rest of the stuff (axe to lua/mlc)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #32 on: September 04, 2011, 02:17:18 pm »
You forgot to tell me what permissions to set, but I figured it out.

Still in progress (naming keys ) but here is the page:

casio dot toppagedesign dot com slash keypad



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Horrowind

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +6/-0
    • View Profile
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #33 on: September 04, 2011, 02:39:06 pm »
maybe you should add the SDK Keycodes (KEY_CHAR_0 = 0x30, KEY_CHAR_IMGNRY = 0x7f50, KEY_CHAR_Z = 0x5A for the key '0').
« Last Edit: September 04, 2011, 02:39:38 pm by Horrowind »

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #34 on: September 04, 2011, 02:45:47 pm »
The font you've got now is fine, but Comic Sans is plenty readable as well.

Edit: Page turn fail
« Last Edit: September 04, 2011, 02:46:35 pm by willrandship »

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #35 on: September 04, 2011, 02:54:19 pm »
@horrowind:

were you talking to me?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #36 on: September 04, 2011, 02:58:20 pm »
Oh yeah, I forgot, sorry. You can remove the code
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25020274-1']);
  _gaq.push(['_setDomainName', 'clrhome.tk']);
  _gaq.push(['_setAllowHash', 'false']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
(It's for my site's analytics.) Permissions need to be set to +w for the files conf.xml and log.txt. You also need to have a link to jquery.js, but I see you've got it.




Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #37 on: September 04, 2011, 03:06:21 pm »
OK
My anylitics are built in to the server, so I dont have to use google
« Last Edit: September 04, 2011, 03:07:45 pm by flyingfisch »



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #38 on: September 04, 2011, 03:20:11 pm »
Wow... you never cease to amaze me, Deep Thought! ;)

A fun little suggestion - include a section that tells the ports of the key?
(Don't know if this is the right terminology for it :P)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Horrowind

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +6/-0
    • View Profile
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #39 on: September 04, 2011, 03:41:26 pm »
oh, yes, i were, should have mentioned :)

but looks good, both yours and DTs. but I dislike Comic Sans :P, but thats not a serious issue

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #40 on: September 04, 2011, 03:54:25 pm »
Yeah, I'll try to figure out how to get that to work.

BTW: finished naming all the keys!



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #41 on: September 04, 2011, 04:05:59 pm »
A fun little suggestion - include a section that tells the ports of the key?
Good idea.
BTW: finished naming all the keys!
Which is more than I can say for mine XD




Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #42 on: September 04, 2011, 04:07:32 pm »
Oh, I only have the names done, not getkey etc.

BTW: how would I get more feilds? like an sdk keycode one?

EDIT: I now have all the getkeys and explanations finished (YEAH!)
« Last Edit: September 04, 2011, 06:59:20 pm by flyingfisch »



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #43 on: September 04, 2011, 07:06:34 pm »
Hey Deep, I improved your script a little.

CSS:
Code: [Select]
            div
            {
                position: relative;
                height: 576px;
                background: url(http://clrhome.tk/resources/keypad/paper.png) top left no-repeat;
        overflow: auto;
            }

FFR: you can use Tipsy for tooltips. It is a jQuery addon.

http://onehackoranother.com/projects/jquery/tipsy/#
« Last Edit: September 04, 2011, 07:07:54 pm by flyingfisch »



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Wikipad: the online calculator keypad anyone can edit
« Reply #44 on: September 04, 2011, 10:00:29 pm »
Just to let you know, you should avoid double-posting if the two posts are within 6 hours of each other. Use the MODIFY or QUICK MODIFY button instead :)
Hey Deep, I improved your script a little.

CSS:
Code: [Select]
            div
            {
                position: relative;
                height: 576px;
                background: url(http://clrhome.org/resources/keypad/paper.png) top left no-repeat;
        overflow: auto;
            }
Nice, but I updated mine to make it even better -- I'll explain.
FFR: you can use Tipsy for tooltips. It is a jQuery addon.

http://onehackoranother.com/projects/jquery/tipsy/#
Thanks for the tip, but I don't like using too many third-party scripts in my projects :/ I'm even considering moving all my stuff out of jQuery.

Anyway, I changed a lot of things. Here's a brief list so you can change your copy to match:
  • The entire storing code block (everything before the <!DOCTYPE) was updated to make encodings more consistent. (I'm a consistency freak.) You should probably copy-paste that section again.
  •          div
             {
                position: relative;
                height: 576px;
                background: url('paper.png') top left no-repeat;
             }
    was changed to
             div
             {
                position: relative;
                min-height: 500px;
                padding-bottom: 76px;
                background: url('paper.png') top left no-repeat;
             }
    Instead of adding scrollbars when the content gets too big (as you've done with your overflow: auto rule), this makes it extend the div when content is too long. I chose to do this because I personally don't like scrollbars in the middle of my page.
  • I added "margin: 0;" to the body element. Just a minor detail, but I think it makes it look better.
  • The $('img').after() function was changed so that the hover table has an absolute positioning, not a fixed one. Honestly, I'm not sure why I made it fixed in the first place; that made it glitch when you scroll down the page.
That should be it. Again, feel free to use my script!
« Last Edit: December 16, 2011, 12:11:15 am by Deep Thought »