Search found 50 matches

by jonathon
Thu Jul 07, 2011 12:11 am
Forum: JavaScript
Topic: browser detection
Replies: 7
Views: 1578

browser detection

I was just wondering if anybody knew of any plugins for browser detection. It's only so that i can put a small notice on my page if a user is using an older browser. As i haven't font much testing in early versions of ie etc. I did have a Google for it, couldnt find anything definitive
by jonathon
Tue Jul 05, 2011 12:47 am
Forum: SQL
Topic: MYSQL Privileges
Replies: 2
Views: 835

Re: MYSQL Privileges

hmmm, thanks for that, I always feel hazy around this topic. But after I posted it, I was thinking about the pros and cons of it all. In this instance SELECT would be fine, I haven't got any plans to expand on user generated content at the moment. Which I suppose is something in terms of someone dam...
by jonathon
Mon Jul 04, 2011 11:55 pm
Forum: SQL
Topic: MYSQL Privileges
Replies: 2
Views: 835

MYSQL Privileges

Hello, I'm working at providing more secure applications. Not that I think mine are particularly insecure (heres hoping not to now getting hacked). So i'm wondering, for a site in which people can only read what I write on it, is there any real need to have any other privileges other than 'Select' (...
by jonathon
Wed Jun 29, 2011 10:11 am
Forum: JavaScript
Topic: js in ie 9
Replies: 2
Views: 1035

Re: js in ie 9

Thanks Jacek,

I'll give it a bash, see if I can sort it. It's not too bad for the moment till IE 9 gathers some steam. But annoying :(
by jonathon
Wed Jun 29, 2011 9:31 am
Forum: JavaScript
Topic: js in ie 9
Replies: 2
Views: 1035

js in ie 9

Hello I've just found an error in my moo tools library. Well when I say error, IE9 says error and i didn't find it, IE9 did! No one else does. Basically in this code i get the error: Message: DOM Exception: INVALID_CHARACTER_ERR (5) Line: 1410 Char: 3 Code: 0 [syntax=javascript]Document.implement({ ...
by jonathon
Mon Jun 20, 2011 6:20 pm
Forum: JavaScript
Topic: Expected identifier, string or number
Replies: 8
Views: 1711

Re: Expected identifier, string or number

Yep this was the case :) Thanks for alls input
by jonathon
Mon Jun 20, 2011 6:19 pm
Forum: JavaScript
Topic: Expected identifier, string or number
Replies: 8
Views: 1711

Re: Expected identifier, string or number

Problem, Solved I hope and think Had to remove the trailing commas like so: [syntax=javascript] window.addEvent('domready', function(e){ // option 1 var slides = [ { image: 'home_slide1.PNG' }, { image: 'chest1.jpg' }, { image: 'treehouse1.JPG' }, { image: 'barn_slide.JPG' }, { image: 'treehouse2.JP...
by jonathon
Mon Jun 20, 2011 6:07 pm
Forum: JavaScript
Topic: Expected identifier, string or number
Replies: 8
Views: 1711

Re: Expected identifier, string or number

Yes, I have no doubt, but it still needs to be fixed sadly else the page won't work :-(
by jonathon
Mon Jun 20, 2011 6:02 pm
Forum: JavaScript
Topic: Expected identifier, string or number
Replies: 8
Views: 1711

Re: Expected identifier, string or number

Cant find any warnings or errors for that particular file :S

I don't see why it's wrong either as they're all set out in that order and if that was an error on line 7 then surely all the other '},' would be errors....
by jonathon
Mon Jun 20, 2011 5:34 pm
Forum: JavaScript
Topic: Expected identifier, string or number
Replies: 8
Views: 1711

Expected identifier, string or number

Hi I'm having a problem with this piece of code in IE it works fine in FF, Opera, Google and I guess Safari as they run the webkit engine. I can't seem to figure out why, the code in dreamweaver reports no syntax errors either. I suspect it's a rogue comma or something. Can anyone advise? [syntax=ja...
by jonathon
Fri Jun 10, 2011 5:02 pm
Forum: General Chat
Topic: FF4 and HTML validator
Replies: 4
Views: 802

Re: FF4 and HTML validator

Thanks, I've just got a new system running windows 7 and the toolbar is a lot different compared to XP. But still it was glaringly obvious. I was simply having a mare yesterday. Thanks :)
by jonathon
Thu Jun 09, 2011 7:14 pm
Forum: General Chat
Topic: FF4 and HTML validator
Replies: 4
Views: 802

Re: FF4 and HTML validator

disappeared :lol:
by jonathon
Thu Jun 09, 2011 7:08 pm
Forum: General Chat
Topic: FF4 and HTML validator
Replies: 4
Views: 802

FF4 and HTML validator

I'm having a nightmare and doing my own head in here. I've just got a new system and I'm using FF4, i've downloaded the HTML validator extension and YSlow!. They were working fine and just sitting along the bottom on my browser window. But now they've done one and I can't for the life of me get them...
by jonathon
Sun May 22, 2011 6:40 pm
Forum: JavaScript
Topic: wp-cumulus
Replies: 3
Views: 904

Re: wp-cumulus

Indeed part .swf files.

I shall not be attempting to re-creat it. However it does look neat.

Thanks guys
by jonathon
Sun May 22, 2011 1:12 pm
Forum: JavaScript
Topic: wp-cumulus
Replies: 3
Views: 904

wp-cumulus

Hello, I was chatting to my friend who is a copywriter and checking out his companies site. It's built in Wordpress (Yaaaay, note the sarcasm). But they have a really neat little tag cloud.This is the link http://www.piranha-internet.co.uk/blog/ . I'r really like to try and make something like this....
by jonathon
Wed May 18, 2011 7:38 pm
Forum: JavaScript
Topic: parsing json using xampp
Replies: 6
Views: 1878

Re: parsing json using xampp

Well, I'm pleased that I can just essentially use eval...... But wtf, I just thought it was me not being particulary experienced in AJAX - oh well. Thanks Jacek (As usual) ;)
by jonathon
Wed May 18, 2011 7:28 pm
Forum: JavaScript
Topic: parsing json using xampp
Replies: 6
Views: 1878

Re: parsing json using xampp

Well this is what I kind of believed, but I wasn't sure of an example when you wouldn't know the source of the json string?
by jonathon
Wed May 18, 2011 6:40 pm
Forum: JavaScript
Topic: parsing json using xampp
Replies: 6
Views: 1878

Re: parsing json using xampp

Hi Jacek, It does indeed: [syntax=php] $data = array(); while ($row = mysqli_fetch_array($r, MYSQLI_NUM)) { $data[] = array('name' => $row[0], 'department' => $row[2], 'email' => $row[1]); } // End of while loop echo json_encode($data) . "\n"; [/syntax] and I was using : [syntax=javascript...
by jonathon
Wed May 18, 2011 10:33 am
Forum: JavaScript
Topic: parsing json using xampp
Replies: 6
Views: 1878

parsing json using xampp

Hi Does anybody know if xampp comes with a json library for parsing json? I've had a look into the xampp set up and theres a json folder in the zend folder. But having not used zend ever I don't really know if it's the right thing and having also normally worked with XML is AJAX i'm not too familiar...
by jonathon
Mon May 16, 2011 9:38 pm
Forum: General Chat
Topic: Math
Replies: 6
Views: 892

Re: Math

Haha ;)
by jonathon
Mon May 16, 2011 8:01 pm
Forum: General Chat
Topic: Math
Replies: 6
Views: 892

Re: Math

Delete topic Delete topic Delete topic :lol: