Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

JamesW

Privileged
  • Joined

  • Last visited

Everything posted by JamesW

  1. Hmm it decided not to post my last response for some reason. Anyway, it worked perfectly and thanks for explaining the reasoning behind it also
  2. Didn't work unfortunately, I can't see what's going wrong here
  3. Hi, I'm trying to get the product title's from this xml file that is being returned by the Amazon Product Advertising API. You can see the XML here by clicking on the link at the top http://jamesrwhite.co.uk/testing/xml/ This is a small snippet of the code I'm trying to use at the moment: <?php // request $response = file_get_contents($request); // parse XML $pxml = simplexml_load_string($response); foreach($pxml->BrowseNodeLookupResponse->BrowseNodes->BrowseNode->TopItemSet->TopItem->Title as $title) { echo $title; } ?> I'm not great with XML so I'd really appreciate if anyone could point me in the right direction!
  4. JamesW replied to PlanetCreate's topic in Hardware
    Have a look at MAMP (http://www.mamp.info/en/index.html) it is the equivalent of Wamp/Xampp for Mac. Having switched from Windows 7 myself (which I thought was great) I can definitely recommend switching to Mac. It's just down to personal preference though.
  5. With the exception of CS5 that looks quite promising previous versions of Dreamweaver output very messy code which is less likely to be cross browser compatible in my experience. I use to have the same opinion then I learn't to hand code, if you are serious about a career in Web Design you definitely need to know HTML and CSS very well and be able to write them in your sleep Just my opinion though.
  6. I think that is just the style of the effect not a fault with your installation, either way there are other methods you could use to achieve a similar effect: A radial gradient A small circular brush with an outer glow added to it
  7. Yh keep working on your html and css skills using websites like http://w3schools.com. Practice building templates and if possible websites for friends/family/charity even if it's for free, its all good experience. It's a lot to learn but you'll get there if you put the work in
  8. JamesW replied to riggers's topic in Frontend
    You can quote and reply to someone elses post in the same post by the way, you don't need to use up several posts Good Luck.
  9. JamesW replied to riggers's topic in Frontend
    I made this the other day, not sure if it's a great example but from my testing it works in Firefox, Opera and Chrome flawlessly and with a few differences in IE7 and IE8. In IE6 it doesn't work at all.. http://jamesrwhite.co.uk/testing/css/dropdown Any tips on how I could improve on it would probably help both of us
  10. Awesome thanks, are those types of things called delimiters ? I need to read up on them. They look like they are really useful
  11. Just out of curiosity what does the "/K/d+%" do ?
  12. There are plenty of e-commerce plugins for both Drupal and Joomla out there which I'm sure allow for quite easy editing of the shops items, prices etc without having to manually change code.
  13. ^ Yh I would second either changing or removing your background image. Apart from that I think it's really nice and clean
  14. I stumbled across Light CMS the other day and after being sceptical at first I looked closer at it and recognized how it actually offered the potential to make a half decent profit if you used it for several clients. To make things clear I am in no way comparing it to Wordpress/Drupal which are great don't get me wrong but if it's just a simple 5-10 page 'static' site that you are making for a client it is a bit of a pain to integrate it into a complex CMS for such a small website. So you could either just code it as a normal html/css website or use some of the many free lightweight CMS out there such as Cushy and SimpleCMS which offer editing usually based on adding a class or comment tag around the content you want to edit. LightCMS still works off these principles by using it's own unique tag to define editable regions but how it's different is it's interface. Once you have set up your template the client can edit text just by clicking on a paragraph, drag and drop boxes around the page adding in complex forms is made easy and much more. And what I think possibly the best part about it is the site is hosted by LightCMS themselves so bandwidth is never an issue and they let you decide the prices to charge per month to your clients. How this works is basically LightCMS charge a fee of say for example $19 a month for their second lowest plan but what you can do is charge your client say $30 a month. LightCMS will bill the client, take their $19 and pay your the remanding sum which in this case is $11 every month. I'm sure as you can imagine if you had say 10 clients on the system it could prove to be quite profitable and you can still charge them for the original design of the site as well. I've never used it personally but I am considering using it on the next 'small' site I make for a client to see how it goes. What do you think ?
  15. With a contact form you will mainly be styling the 'label', 'input' and 'submit' buttons You can style label and input just like any other html element: <style> label {color:#333; font-weight:bold;} input {padding:3px; border:1px solid #ccc;} </style> You can also target individual input tags individually although it doesn't work in IE6, not sure about the newer versions of IE ? <style> input[type='text']{padding:3px; border:1px solid #ccc;} input[type='submit']{padding:2px; border:1px solid #999; background:#ccc;} </style> Hope that helps a bit
  16. JamesW replied to Sunlust's topic in The Google Forum
    Yh I think over time when more people sign up to it, it certain situations it has the potential to replace email. Also I have like 20 invites if anyone still needs one.
  17. It's definitely a huge improvement on your original design. However I think your Navigation could do with a slight re-design, try a really subtle gradient or the 1px lines effect ( see here ). Other than that nice work
  18. Some random ideas I've got: Effects of social media on journalism/business (Business might be more appropriate for you) How using Open Source software such as MySQL and PHP can help businesses keep their costs down The effect the web has had on business, some ceasing to be on high street and moving online e.g Dixons ? Hope that helps a bit
  19. Ok thanks for the advice, I'll give your method a try tomorrow. I'll try and adapt it for my YouTube requests as well as they are the ones which seem to take the longest to load. Will post back results tomorrow.
  20. Only just seen your post and have recently worked out an alternate solution using cookies. It worked fine on my local testing server but when I uploaded it to my server I got this message: I read up on the issue and somewhere someone mentioned that: I tried to change my file to adhere to these rules but I still get the same error message.. Here is all my source code: http://pastie.org/pr...khdtngvrjtodctq My cookies are being set on lines: 257, 258, 309 Edit: Thanks for writing that up, but my pages are unique to each user based on their location they get different results so I think using cookies is more appropriate. Correct me if I'm wrong of course.
  21. Hi, This is the page in question that I hope to apply caching too: http://fifasoundtrac...track/?s=fifa10 Let me explain what is happening, based on the users location I pull the song and artist names from my MySQL Database and then using these names I query the iTunes and YouTube API's to fetch download links and a video URL from YouTube which I use to provide a streaming link from inside my site. You can see all this happening when you go to the page I've mentioned above and usually it takes around 20seconds to 'load' around 40 songs. I've been working on this for ages as a personal project on my localhost server but I've just recently uploaded it online. I've got about 5 people to test the page and noticed the it used around 2.9mb of bandwidth just for these 5 people. I don't really know if that is a lot of bandwidth to be honest but I'd like to cache the pages anyway to imrpove on the loading times. I have been looking at this tutorial on php caching here: http://www.jonasjohn...php/caching.htm and I'm not sure it's exactly what I'm looking for. The part of the process that takes the most time is querying YouTube and iTunes, from what I understand the method above would just create a static copy of the page elsewhere on the server which it would fetch based on the expire limit that has been set. What I was thinking might be better would be to store the values of the iTunes download links and YouTube Video URL's as cookies on the users computer after they have run the page the first time and when they visit again just retrieve these values. Obviously the whole point of making this page dynamic is that thing like YouTube Videos available and iTunes songs can change over time so I would want to set a limit on how long the cookie lasted. So anyway if you've bothered to read all of that thank you and I hope I explained it well, just looking for people thoughts on whether this is possible/best method and maybe a few pointers in the right direction. Thanks again, James Edit: Here is a section of my messy source code: http://pastie.org/pr...as0pze80ugvce7a
  22. I very much doubt Facebook will start charging for use of the site, even they know better than that. Also they have just started to turn a profit from ad-based revenue.
  23. Yh I agree with the above, having the right hand side fade makes the content boxes seem like they are not aligned properly. I think the rest of it is perfect though
  24. input[type="submit"] { background:#ccc; border:1px solid #666; } Not sure if that's what you mean ?
  25. JamesW replied to PlanetCreate's topic in Hardware
    It's a simple setting you change in the control panel to configure either a Mouse or Laptop Scroll Pad to be able to right click. Also while on the topic of 'mice' (?), the new Magic Mouse is probably the best mouse ever made

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.