Everything posted by Jack Franklin
-
applying initial value to password field
Password fields always display just asterisks, the only way to do this would be in JS, have it just as a normal input but then change it when the user clicks to enter their password. However IE does not allow a normal input to be changed to a password with JS, so you would have to remove the input field and replace it with a password field. Should not be too tricky with jQuery.
-
It kills me to ask such a 'beginner' question
It depends, if that code (and layout) was repeated elsewhere in the design I'd be more tempted to use a class but just like that an ID is fine. As per the aligning in the centre question, add another div around those already floated and add the following CSS to it: margin: 0 auto; .
-
Bar Camp London
Did anyone here manage to grab tickets for Bar Camp London? I was one of the lucky ones Wanted to see if anyone else is going, and what I should present?
-
Windows 7 For £30
Thanks for that! I recently switched to Mac as my desktop but still have to cope on Vista...so will upgrade the Vista machine to 7
-
Easy to maintain CMS by end user
Have you tried Perch? It costs £35 but there have been some good reviews, check the introduction screencast to see how it works grabaperch.com
-
Web Development Software
When I was on Windows: Komodo Edit, E-Text-Editor PHP Designer (LOVE THIS PROGRAM) Apatana Studio (is slow inless you have a good PC) Now on Mac: Textmate, Coda, Espresso, Komodo Edit
-
Mini site IE6&7 jQuery issue
Hmm not sure why. Try this: <script type="text/javascript"> $(document).ready(function(){ $('.nav').localScroll({ target:'#main', duration: 4000 }); $.Lightbox.construct({ show_linkback: false, download_link: false, opacity: 0.7, show_extended_info: true, }); $(document).pngFix(); }); </script>
-
Mini site IE6&7 jQuery issue
One thing I would suggest: <script type="text/javascript"> $(document).ready(function(){ $('.nav').localScroll({ target:'#main', duration: 4000, }); }); </script> <script type="text/javascript">$(function(){ $.Lightbox.construct({ show_linkback: false, download_link: false, opacity: 0.7, show_extended_info: true, }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $(document).pngFix(); }); </script> Having 3 lots of document.ready() is not going to be helping. Try this: <script type="text/javascript"> $(document),ready(function() { $('.nav').localScroll({ target:'#main', duration: 4000, }); $.Lightbox.construct({ show_linkback: false, download_link: false, opacity: 0.7, show_extended_info: true, }); $(document).pngFix(); }); </script>
-
Good JQuery book?
I've heard good things about Learning jQuery 1.3 published by Packt.
-
I just blogged
Blogged: A Video Review & Beginner's Guide to foreUI http://ispeakwebstuff.co.uk/app-reviews/video-review-beginners-guide-to-foreui/ foreUI is a tool for rapid wireframing - foreui.com
-
Web Design Radio
I would certainly listen, and assist if I was needed (or wanted ;P)
-
Finding characters using jQuery
To see if it contains a @ sign you can do : $("div:contains('@')") Not sure yet how to specifically select the @ itself. Will do some digging. EDIT - Regex And some jQuery: {I have not tested this, this typed it out quickly} $("yourdiv").text().replace(/@/, '<span class="atsymbol">@</span>'); Would something like that work?
-
20 Cheesiest Pick-up Lines to Use on Graphic Designers
Wow, you really do float my div.
-
Centre align a website
I agree with terydinho, but if the fix is as easy as is it, then you might as well do it, no? I would not spend any considerable time with IE5.5, but a 5 minute fix like that is worth it, in my opinion.
-
20 Cheesiest Pick-up Lines to Use on Graphic Designers
Saw that the other day, it was very funny. This is my favourite a friend told me a while ago: "If I could rearrange the alphabet, I'd put your sister and I together"/ Was funny at the time anyway
-
Centre align a website
There is a hack for this which involves setting the text-align property to center in IE5.5 and then over-riding that in every other div. I think. So: #wrapper { margin: 0 auto; /*for the decent browsers*/ text-align: center; /*for IE5.5/* width: 800px; /*or whatever*/ } Should center it. Then you just need to add text-align: left; to each other div to put the text back to the left side.
-
Hello!
Yep, I remember you Thought I recognised the user name. Thanks for the welcome.
-
Site Header
I think you've got the circle nailed but I'm not so sure about the text underneath, does not really fit with the logo. You could look at fontsquirrel.com, lots of free fonts you can use commercially there.
-
Pony graphic
Why the Long Face? hehe. I found this page: http://www.crestock.com/vector/pony.aspx there are a couple there that might suffice, trouble is I wouldn't know how to differentiate between pony/horse.
-
Music while you code?
I've got a very spread taste: Currently loving The Goo Goo Dolls and Michael Jackson. Also have the entirety of Les Miserables (saw it in the West End 2 yrs ago) and listen to that regularly. Bit of Eminem, also loving Snow Patrol, The Klaxons, The Killers, Automatic, MGMT, Black Kids, Amy Macdonald, Breaking Benjamin, Coldplay, The Clash, Boomtown Rats, Kings of Leon. Plus a load of others.
-
RIP Bobby Robson
Absolute legend, being a Toon fan myself. Him being sacked was unbelievable. Sad to see him go. RIP.
-
WDF Twitter Repository
@Jack_Franklin - tweet a mix of web articles, random crap, and more random crap
-
CSS error - please help!
Can you post your CSS code up please? As it's saying 45 Parse Error } with the curly brace, I'd have a guess that somewhere in your CSS you've forgotten a semi colon like: elem { property: value; property: value } Or just added an extra end brace: elem { property: value; }} The validator should tell you which line it's on.
-
multipul real escape string
Surely you want to do the escaping BEFORE inserting it into the DB? You could get all the values as an array. For example, if the values had been sent via a forum using POST: $data = ($_POST['field1'], $_POST['field2']); $escapedData = new Array(); foreach($data as $d) { $escapedData[] = mysql_escape_string($d); } Something along those lines?
-
Hello!
I'm Jack, a 17 year old designer/developer (but mainly developer) who messes with it in spare time, I'm doing my A Levels at college at the moment and hoping to go on to Uni. My main areas are PHP and Javascript, especially the jQuery library. I can code HTML, CSS, PHP & Javascript and know my way around Photoshop & Fireworks, and I'm learning Illustrator. I also love Macs ! I also record tutorials for others at learnitsceencasts.net, and my portfolio is jackfranklin.co.uk. Joined here as it seems like a pretty active place so hopefully I'll be around pretty often The other forums I visit are not very busy. Cheers, J