• Web Dev Questions That Don't Need Their Own Thread v4
    5,001 replies, posted
Well I don't mind what country the webhosting is from, but in the UK, it's easier to pay with GBP and if I ever get a problem, I'd have fluent and understandable English replies. (Yes companies would reply in english to if they were from another country, but a lot of the time, I've experienced it doesn't always make sense because they're not fluent in english). P.S I'd rather have a dedicated web hosting company, not a company that hosts game servers.
[QUOTE=ENG.jonny;45706051]Well I don't mind what country the webhosting is from, but in the UK, it's easier to pay with GBP and if I ever get a problem, I'd have fluent and understandable English replies. (Yes companies would reply in english to if they were from another country, but a lot of the time, I've experienced it doesn't always make sense because they're not fluent in english). P.S I'd rather have a dedicated web hosting company, not a company that hosts game servers.[/QUOTE] But American hosts will have just as fluent English as an UK host, just a slight different in language.
[QUOTE=Cyberuben;45707364]But American hosts will have just as fluent English as an UK host, just a slight different in language.[/QUOTE] I was referring to European companies.
[QUOTE=ENG.jonny;45707701]I was referring to European companies.[/QUOTE] I can say from experience that Lithium provides good support and they speak English quite well. Also, literally right next to your country with their Amsterdam data center. :v:
Im using JQuery to provide a smooth scroll feature using: [code] $('.scroll').click(function() { $('body').animate({ scrollTop: eval($('#' + $(this).attr('target')).offset().top) }, 1200); }); [/code] and then a tag like: [html]<a class="scroll" target="about-area">About</a>[/html] Which in chrome works fine, but I just tested in IE 11 and it doesnt work, instead it expects: [code] $('.scroll').click(function() { $('html').animate({ scrollTop: eval($('#' + $(this).attr('target')).offset().top) }, 1200); }); [/code] However that doesnt work in chrome... I even tried: [code] $('.scroll').click(function() { $('html body').animate({ scrollTop: eval($('#' + $(this).attr('target')).offset().top) }, 1200); }); [/code] Which again only worked in Chrome.. Does anyone know a solution for this?
Since space refers to descendants, maybe use a comma?
[QUOTE=eternalflamez;45709366]Since space refers to descendants, maybe use a comma?[/QUOTE] Tried it already, it doesnt work, it cant find the element. [code] $('html','body').animate({ scrollTop: eval($('#about-area').offset().top) }, 1200); > [] [/code] [editline]16th August 2014[/editline] That last line is the return type [editline]16th August 2014[/editline] Is there any way I can fall back to just doing a normal hyperlink? IE. the link can have a normal href which will only activate if the scroll didnt work? I tried returning false after the scroll function but that doesnt work because it deactivates it in IE even tho the scroll didnt work :downs:
More like $('html,body').animate as the selector This way it selects for both items. If html doesn't find anything in one, and body doesn't get found in the other, then this might do the trick?
[QUOTE=eternalflamez;45709656]More like $('html,body').animate as the selector This way it selects for both items. If html doesn't find anything in one, and body doesn't get found in the other, then this might do the trick?[/QUOTE] Brilliant, that works fine! Could have sworn I tried that already
[QUOTE=ENG.jonny;45706051]Well I don't mind what country the webhosting is from, but in the UK, it's easier to pay with GBP and if I ever get a problem, I'd have fluent and understandable English replies. (Yes companies would reply in english to if they were from another country, but a lot of the time, I've experienced it doesn't always make sense because they're not fluent in english). P.S I'd rather have a dedicated web hosting company, not a company that hosts game servers.[/QUOTE] A lot of companies in webhosting do business internationally - a company providing services in (for example) Germany might have UK staff, or may even be registered and operated entirely from within the UK. The only real way to tell is to ask.
Could someone point me in the right direction to learn about dynamic sizing and stuff like that? I feel like I miss something since the Tablets and Smartphones took over.
[QUOTE=AGMadsAG;45735597]Could someone point me in the right direction to learn about dynamic sizing and stuff like that? I feel like I miss something since the Tablets and Smartphones took over.[/QUOTE] Searching for Responsive design might give you better results
[QUOTE=Killervalon;45736050]Searching for Responsive design might give you better results[/QUOTE] Thank you, I had totally forgot about that term!
Hi guys, I'm trying to fiddle around with colour on a nav menu I am doing and having so many colours is really screwing me over so I was wondering what you guys suggested that I do with this, [IMG]http://i.imgur.com/Fktes5x.png[/IMG]
Not directly related to web development itself, but does anyone know if there's a proper "hardware monitor" for NodeJS? Basically, I am going to write a Minecraft server control panel and I want to have realtime stats. If possible, updating the CPU usage, RAM usage, HDD space and whatever using websockets, on the fly. I just need some source to look at when it comes to this, and if it's already made, I can implement it to my application already.
[QUOTE=Cyberuben;45752642]Not directly related to web development itself, but does anyone know if there's a proper "hardware monitor" for NodeJS? Basically, I am going to write a Minecraft server control panel and I want to have realtime stats. If possible, updating the CPU usage, RAM usage, HDD space and whatever using websockets, on the fly. I just need some source to look at when it comes to this, and if it's already made, I can implement it to my application already.[/QUOTE] Best I could find was [URL="https://github.com/lorenwest/node-monitor"]this[/URL], but hasn't been updated in months.
[QUOTE=BeatAlex;45755790]Best I could find was [URL="https://github.com/lorenwest/node-monitor"]this[/URL], but hasn't been updated in months.[/QUOTE] I guess I'll just go for a combination of the "os" default library and [url=http://stackoverflow.com/a/9567357/2248679]a combination of this[/url] and Linux's "df" command to have memory, CPU and HDD usage. And then socket.io to stream this data to my webbrowser.
I'm a cheap bastard, so I like open source. I do end up contributing monetarily to stuff I like. A lot of peeps in my area are recommending Django for Python. Anyone here used this framework?
[QUOTE=Cyberuben;45757478]I guess I'll just go for a combination of the "os" default library and [url=http://stackoverflow.com/a/9567357/2248679]a combination of this[/url] and Linux's "df" command to have memory, CPU and HDD usage. And then socket.io to stream this data to my webbrowser.[/QUOTE] I haven't got any idea what any of them words mean but I wish you the best of luck.
How the hell do I install php on a powerpc Mac?
Rounded edges or no rounded edges? Which looks better? [IMG]http://www.facepunch.com/fp/ratings/palette.png[/IMG] for [THUMB]http://i.imgur.com/ZGkEx8L.png[/THUMB] or [IMG]http://www.facepunch.com/fp/ratings/rainbow.png[/IMG] for [THUMB]http://i.imgur.com/PSwcJN1.png[/THUMB]
I found a security exploit on my friend's college's website. Should I report it? It's basically this: index.html?type=contact which then includes "./inc/".$_GET['type'].".html" (the website is PHP) but there's no filtering, so I can go to index.html?type=../index and it'll load the page inside itself a billion times. I imagine this can be further exploited, however. If I do report it, and again, I'm not even a student there, can they do anything against me?
[QUOTE=Banana Lord.;45778151]I found a security exploit on my friend's college's website. Should I report it? It's basically this: index.html?type=contact which then includes "./inc/".$_GET['contact'].".html" (the website is PHP) but there's no filtering, so I can go to index.html?type=../index and it'll load the page inside itself a billion times. I imagine this can be further exploited, however. If I do report it, and again, I'm not even a student there, can they do anything against me?[/QUOTE] ../../../../../../../../etc/shadow
[QUOTE=Flapadar;45778198]../../../../../../../../etc/shadow[/QUOTE] But the script automatically appends .html to whatever the GET variable 'type' is
[QUOTE=Banana Lord.;45778209]But the script automatically appends .html to whatever the GET variable 'type' is[/QUOTE] Missed that bit. Makes it a bit less dangerous I suppose.
[QUOTE=Flapadar;45778214]Missed that bit. Makes it a bit less dangerous I suppose.[/QUOTE] Yeah. Is it worth reporting it though? I don't want them coming after me because obviously I tested to see if it was exploitable (the idea came from an error message that showed an include error from a link they posted). I didn't try to access any system files, I just tried ../index and created a billion of the site's layouts inside of each other.
[QUOTE=Banana Lord.;45778316]Yeah. Is it worth reporting it though? I don't want them coming after me because obviously I tested to see if it was exploitable (the idea came from an error message that showed an include error from a link they posted). I didn't try to access any system files, I just tried ../index and created a billion of the site's layouts inside of each other.[/QUOTE] Doubt they'll see any harm in it
[QUOTE=Flapadar;45778360]Doubt they'll see any harm in it[/QUOTE] Meaning I should or shouldn't report it?
[QUOTE=Banana Lord.;45778390]Meaning I should or shouldn't report it?[/QUOTE] Might be worth mentioning
[QUOTE=Banana Lord.;45778390]Meaning I should or shouldn't report it?[/QUOTE] You should definitely report it. They'll probably thank you. (It's not like they can get you arrested for hacking them or anything. )
Sorry, you need to Log In to post a reply to this thread.