..well actually me.
My js foo is weak, where can someone go to learn about it and use it. Preferably not in greek which is what most javascript files look like to me as is.
Javascript and you
- Mr. Bond
- Member
- Posts: 89
- Joined: 30 Mar 2008, 20:34
- Real name: Bobby
- Location: 127.0.0.1 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
I don't remember how I learned JavaScript, or where. Just Internet tutorials I guess. The syntax is very similar to PHP so that makes it easier. Using a good library (*cough* jQuery) can make writing JS code a lot simpler, only needing basic calls to functions to be able to do advanced shtuff (like make AJAX post/requests).
• •
- onehundredandtwo
- Past Contributor
- Posts: 48
- Joined: 23 Jul 2009, 19:47
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
I definitely prefer not to use Javascript, mainly because it's not all standardized (by the W3C) and nearly all of the time CSS can be used for simpler things. Plus I don't really see any reason to make things more complicated, best to stay simple.
I don't really like jQuery because all it does is create effects which are pretty useless and it adds unnecessary bloat.
I don't really like jQuery because all it does is create effects which are pretty useless and it adds unnecessary bloat.
Re: Javascript and you
Personally, I use javascript minimally. I'm not familiar with it, and I find it not to be useful in most circumstances when I code.
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
Farken thing is giving me a damn headache. What I believe to be a pretty simple thing is turning out to be a GD nightmare.
All I want to do is refresh at a given interval the "Who's on line" stats (registered users, guests etc).
It is causing me to ingest more beer than I probably should.
All I want to do is refresh at a given interval the "Who's on line" stats (registered users, guests etc).
It is causing me to ingest more beer than I probably should.
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
[url=http://www.rmcgirr83.org/mchat.php]If anyone would care to see what happens[/url]
...wait until the page refreshes.
Could really, really, really, (insert infinity symbol here) use a bit 'o help. TIA.
...wait until the page refreshes.
Could really, really, really, (insert infinity symbol here) use a bit 'o help. TIA.
Re: Javascript and you
What is the output of the refresh page?
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
[url=http://rmcgirr83.org/mods/before_refresh.jpg]before refresh[/url]
[url=http://rmcgirr83.org/mods/after_refresh.jpg]after refresh[/url]
TIA btw.
[url=http://rmcgirr83.org/mods/after_refresh.jpg]after refresh[/url]
TIA btw.
Re: Javascript and you
Yeah, I saw that. I mean, the code output of the page that is the source of the AJAX refresh.
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
[url=http://rmcgirr83.org/mods/refresh_output.jpg]output[/url]
It's basically the same that is output for the whois online stuff for a forum.
It's basically the same that is output for the whois online stuff for a forum.
Re: Javascript and you
...No, no no no...
Ahh, you know how you are fetching the data from the internal resource, like a page on the forum (to provide the data for the AJAX request)? I need that URL -- I want to see what the actual code put out (like the raw HTML) would be.
Ahh, you know how you are fetching the data from the internal resource, like a page on the forum (to provide the data for the AJAX request)? I need that URL -- I want to see what the actual code put out (like the raw HTML) would be.
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 3 guests