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.
886
The Pub / Re: Warning Message
« on April 28th, 2013, 09:35 PM »Did you have a look at my magical one-line CSS code for the popup animation?
As for your OP, I'm fine with the styling of everything. I can always tweak it a bit later if you want. I shall also have a look at the padding issue! Tomorrow, hopefully...
A message about a post generating a warning could be visible to all logged in users. I don't want to add something like that just randomly ;)
887
Off-topic / Re: WEDGEHAMMER 40,000
« on April 28th, 2013, 05:03 PM »
That's because we're very talkative.
889
Off-topic / Re: Pass text to a url through input form
« on April 28th, 2013, 04:30 PM »
At the end of the onsubmit event, return false. You don't want the page to be reloaded, so that's the way to do that.
The only reason it didn't get reloaded before is because you're not using input type="submit" which would do that.
The only reason it didn't get reloaded before is because you're not using input type="submit" which would do that.
890
Off-topic / Re: Pass text to a url through input form
« on April 28th, 2013, 04:20 PM »
Define 'didn't work'
891
Off-topic / Re: Doctor Who
« on April 28th, 2013, 04:19 PM »
So far Moffat wrote: Asylum of the Daleks, The Angels Take Manhattan, The Snowmen (the Christmas special), The Bells of Saint John and will write the season finale.
I've not *disliked* any of the episodes we've had, as such, but I have felt a little let down by them. We have another Mark Gatiss episode, then the Neil Gaiman episode, then the season finale, with the 50th anniversary episode in November. (I thought season 8 was going to run up to the 50th, but apparently not, the 8th series is supposed to start filming in September)
Moffat is a great writer when he's not trying to be too clever, cf. Sherlock, the Silence in the Library, Blink. But this... I don't know where this is going and it's repeating season 6 - a season of disjointed items that don't make a lot of sense on their own but make much more sense when tied together.
Eleven is certainly getting darker and there was a moment when he just turned bad-ass in this episode. I have never seen him do that kind of blackmail on anyone, even immoral characters. Certainly, Seven did some similar stuff but not like that.
I've not *disliked* any of the episodes we've had, as such, but I have felt a little let down by them. We have another Mark Gatiss episode, then the Neil Gaiman episode, then the season finale, with the 50th anniversary episode in November. (I thought season 8 was going to run up to the 50th, but apparently not, the 8th series is supposed to start filming in September)
Moffat is a great writer when he's not trying to be too clever, cf. Sherlock, the Silence in the Library, Blink. But this... I don't know where this is going and it's repeating season 6 - a season of disjointed items that don't make a lot of sense on their own but make much more sense when tied together.
Eleven is certainly getting darker and there was a moment when he just turned bad-ass in this episode. I have never seen him do that kind of blackmail on anyone, even immoral characters. Certainly, Seven did some similar stuff but not like that.
892
Off-topic / Re: Pass text to a url through input form
« on April 28th, 2013, 04:06 PM »
Attach it to an onsubmit event of the form as a whole rather than the go button's onclick event then it'll trigger before going to another page.
893
Features / Re: Miscellaneous/WIP screenshots
« on April 28th, 2013, 06:24 AM »
:)
It's been one hell of a ride, though, but the end is finally in sight. Just as a heads-up to @Nao, I've made a profile.js file and moved my code into it from this, as well as a couple of other blocks I could 'easily' move into profile.js It just seemed better than having the template cluttered up with stuff that shouldn't be cluttered up. Right now it's also set directly off the main profile loading but we can always break that down and only load it for the pages we need it on.
I also moved one function out of the register template and into register.js (seeing how it's called on the same page anyway and fixed a bug in it in the process)
It's been one hell of a ride, though, but the end is finally in sight. Just as a heads-up to @Nao, I've made a profile.js file and moved my code into it from this, as well as a couple of other blocks I could 'easily' move into profile.js It just seemed better than having the template cluttered up with stuff that shouldn't be cluttered up. Right now it's also set directly off the main profile loading but we can always break that down and only load it for the pages we need it on.
I also moved one function out of the register template and into register.js (seeing how it's called on the same page anyway and fixed a bug in it in the process)
894
Features / Re: Miscellaneous/WIP screenshots
« on April 28th, 2013, 06:20 AM »
So, here's where you set up that you're giving someone an infraction, but that you're not permitted to create 'ad-hoc' infractions. IOW, you're only able to give out the infractions that the administrator has permitted you to issue, so it's just effectively one big dropdown and the rest is shiny display.
895
Off-topic / Re: Pass text to a url through input form
« on April 28th, 2013, 03:02 AM »
Of course it would. Except the 'input' variable that you're 'passing' to calcRoute would just be undefined. Since you're not passing anything to it from the onclick, there's no need to declare that it accepts a parameter ;)
Code: [Select]
function calcRoute() {
var start = document.getElementById('start').value;
}896
Off-topic / Re: Pass text to a url through input form
« on April 28th, 2013, 02:56 AM »
Yup. I don't see what you need to do differently to that ;) Obviously it depends what else the calcRoute function has to do... but it doesn't need the input parameter because it won't be using it.
897
Off-topic / Re: Pass text to a url through input form
« on April 28th, 2013, 02:28 AM »
I don't see what's wrong with it. If you get the textbox element by id then check its value, it'll have the value in it. Seems straightforward enough?
898
Off-topic / Re: Pass text to a url through input form
« on April 28th, 2013, 02:24 AM »
Call getElementById() on the select, get its value, then call getElementById() on the textbox and set its value to that of the dropdown.
899
Off-topic / Re: Doctor Who
« on April 27th, 2013, 11:59 PM »
I dunno. There were some interesting ideas, some serious callbacks for the fans if you have been paying attention.
But we had half an hour of build-up and a massive mash-up of stuff at the end that didn't entirely make sense combined with what amounts to Deus Ex Reboot at the end. Basically about par for the course for this season.
But we had half an hour of build-up and a massive mash-up of stuff at the end that didn't entirely make sense combined with what amounts to Deus Ex Reboot at the end. Basically about par for the course for this season.
900
Off-topic / Re: Pass text to a url through input form
« on April 27th, 2013, 07:32 PM »
That will require JS to do, and offhand I'm not sure how best to do that.