December 05, 2021, 05:02:15 AM

News:

The account sign-up bug has been fixed.


Join us on Discord!
You can help CodeWalrus stay online by donating here.

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - CKH4

1
It does have 38 now. Its possible that the original release had less though.
2
Quote from: SiphonicSugar on January 23, 2016, 05:47:11 PM
Lol

This seems like it will be a big project for me but I think with some help from some others, we will be able to tackle it and finish the RPG. :D
Yeah I'm excited to see what you make.

Quote from: DJ Omnimaga on January 23, 2016, 07:04:18 PM
That reminds me CKH4, since you do web dev, do you also do HTML5 and Javascript games?
No not yet but I'm trying to learn. If I ever make something good I'll share but now I've lost free time so I haven't learned anything recently.
3
Yeah that would be great. I can't wait to see what you do with it.

When I left I was in the middle of writing the code to change rooms. Not sure how finished that part is so good luck.
4
I'll keep sharing my projects as I finish them but right now they are few and far between.

Attached is the source code. Its two files and I'm not sure if its in working condition. If you have any questions about what things do, feel free to ask and I will try to help as much as possible.
5
Ah well I'm still watching topics but sadly I have moved on from calculator programming to JavaScript. I'm planning on staying reachable though so if anyone needs anything feel free to ask.
6
Quote from: Streetwalrus on October 18, 2015, 05:19:44 PM
Yeah actually, it works a lot better in chrome than in firefox, I might give it a shot. I must say I'm still in post trauma from using that piece of crap (firefox is so great on the desktop, how the hell could they screw up their port ?).
I do wonder because ff on desktop feels really smooth but on mobile it feels really bloated and difficult to use.
7
Quote from: Streetwalrus on October 15, 2015, 03:13:58 PM
I gave up on Firefox mobile, the performance is horrible and it's full of bugs. Instead I'm building Chromium with a few patches of mine.
That's strange. It works fine on the regular build of chrome. Its still based off of chromium right?
8
Sorry DJ but I don't think so. Firefox mobile uses a different scrolling engine. Personally I'd be fine with it but I guess that's because I never use ff mobile. You could still enable it for chrome and opera though.
9
Eh that sucks. It works fine in chrome on mobile and opera on mobile. To get it to work on only chrome and opera you can do:


@media not all and (-webkit-min-device-pixel-ratio:0), (pointer: fine), (pointer: coarse) {
  .table-wrapper {
    overflow: auto;
  }
}

And omit that line from the previous code. No ill effects should come from it.
10
@DJ Omnimaga

Here (http://stackoverflow.com/questions/14834198/table-scroll-with-html-and-css) is a guide that demonstrates it pretty well but here is my own thinking:

Code ("New HTML") Select

<div class="table-wrapper">
  <table style="width:100%">
    <tr>
      <td>Jill</td>
      <td>Smith</td>
      <td>50</td>
    </tr>
    <tr>
      <td>Eve</td>
      <td>Jackson</td>
      <td>94</td>
    </tr>
  </table>
</div>


Code ("css") Select

.table-wrapper {
  max-width: 100%;
  overflow: auto;
}


And you could automate the div wrapping (maybe there's a config in smf) in jquery (the native JS version sucks but I'll try to figure it out):
Code ("jquery") Select

$('table').wrap('<div class="table-wrapper"></div>');


Pure JS. Answer from here (http://stackoverflow.com/questions/6838104/pure-javascript-method-to-wrap-content-in-a-div):
Code ("javascript") Select

old_table = document.getElementByTagName("table").innerHTML;
new_table = "<div class='table-wrapper'>" + table + "</div>";
document.getElementByTagName("table").innerHTML = new_table;




Quote from: Streetwalrus on October 14, 2015, 06:27:59 AM
Quote from: CKH4 on October 13, 2015, 02:11:07 PM
If you add tables inside of a div set to width: 100%; overflow: auto; that should solve your problems.
As I said I won't do that, it's unusable in mobile browsers.
What mobile browser? It works for me as far as I know.
http://codepen.io/CKH4/pen/BowWgw
11
If you add tables inside of a div set to width: 100%; overflow: auto; that should solve your problems.
12
If the issue is on desktop then you can use a media query to omit the mobile site.
13
Only drawing the parts of the screen that have changed.
14
Calc Projects, Programming & Tutorials / Re: 3 Pixels Tall
September 27, 2015, 02:59:34 AM
I would think not.
15
Calc Projects, Programming & Tutorials / Re: 3 Pixels Tall
September 27, 2015, 12:41:56 AM
Eh well in that case I'd say that the gold bar would move to the place that you put it after you moved it.
Powered by EzPortal