Re: [WSG] Century Gothic for web

2011-12-11 Thread Steven Tan
hi Lara,

Century Gothic is not a free font: http://www.identifont.com/show?1N2

My suggestion is to find a similar font type to Century Gothic in Google Web 
Font (open source fonts) and embed the font from there: 
http://www.google.com/webfonts

cheers,
steven

On 12/12/2011, at 2:22 PM, Lara Atechian wrote:

 
 Hi,
 
  
 I am working on re-designing a website, and will be using Century Gothic for 
 headings. My question is: Is it ok to use Century Gothic or I have to buy 
 some sort of license that allows using on the web.   
 
 I checked many websites, there is nothing certain that says buy a licence or 
 it's a free generic font.
 
 
 
 Thanks,
 Lara
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-28 Thread Steven Tan
Also ran into an issue when i was using js templating with html5 tags. Html5 
shiv only ran once when the document loads. Either need call it again or use 
html4 tags. I am choosing html4 tags for now. Sigh.

Steven

On 28/09/2010, at 6:34 PM, Patrick H. Lauke re...@splintered.co.uk wrote:

 On 28/09/2010 07:12, David Dorward wrote:
 On 27 Sep 2010, at 22:46, tee wrote:
 Quote Hugo, It will create those elements for IE6-8 (and older browsers 
 with lack of HTML5 support) in DOM. I suppose DOM will still work in older 
 IEs when CSS is off yes?
 
 
 Yes
 
 To clarify though: the DOM will be messed up in IE without the JS training 
 wheels (document.createElement('header') etc) telling it that there's these 
 new elements. For instance, if I recall correctly, having something like
 
 headerblah/header
 
 will make IE think that there are a header element and a /header element, 
 so the DOM will look something like
 
 header
 textnode
 /header
 
 where the three are siblings, rather than
 
 header
 -- textnode
 
 where textnode is child of the header node
 
 P
 -- 
 Patrick H. Lauke
 __
 re·dux (adj.): brought back; returned. used postpositively
 [latin : re-, re- + dux, leader; see duke.]
 
 www.splintered.co.uk | www.photographia.co.uk
 http://redux.deviantart.com | http://flickr.com/photos/redux/
 __
 twitter: @patrick_h_lauke | skype: patrick_h_lauke
 __
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-28 Thread Steven Tan
No, it doesn't. But if you use html5 tags in your templating, then it might. 
Just something to watch out for.

One of my templates create a section and header for about 20 times. 

Steven

On 28/09/2010, at 8:49 PM, Rob Crowther robe...@boogdesign.com wrote:

 Steven Tan wrote:
 Also ran into an issue when i was using js templating with html5 tags. Html5 
 shiv only ran once when the document loads. Either need call it again or use 
 html4 tags. I am choosing html4 tags for now. Sigh.
 All the HTML5 shiv is doing is calling document.createElement against a list 
 of tag names, there's nothing to stop you running that same code before your 
 templating.
 
 Rob
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-28 Thread Steven Tan
Sure. :) 
The issue i am encountering is when I generate HTML on the fly using js 
templates. I have a couple of templates written with sections and headers tags. 
Because html5 shiv only create the elements on document loads, it will not work 
the html5 tags that gets appended to the document later. IE keeps throwing an 
object undefined error.  
I didn't realize this can be a bit of issue until i started work on it. I could 
modify the templating js to create the elements, but not sure whether it is 
worth the trouble at this stage. 

So watch out if you rely on js libraries that do something like this:
$(body).append(sectionsomething/section);
$(section).text(new something); // this line will throw an error in IE. 

Hope that makes sense. 



On 28/09/2010, at 11:55 PM, Rob Crowther robe...@boogdesign.com wrote:

 On 28/09/10 14:10, Steven Tan wrote:
 No, it doesn't. But if you use html5 tags in your templating, then it might. 
 Just something to watch out for.
 
 Sorry, I'm not sure what you're saying here: no it doesn't what?  It might 
 what?
 
 One of my templates create a section and header for about 20 times.
 
 I'm not sure why that would matter?  The main problem the html5shiv is trying 
 to solve is that IE doesn't allow CSS to be applied to elements it doesn't 
 recognise.  If you call document.createElement('section') and 
 document.createElement('header') then, from then onwards, IE will apply CSS 
 to section and header elements.  It doesn't matter how many elements of any 
 type there are.
 
 Can you be more clear about the problem you encountered?
 
 Rob
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-28 Thread Steven Tan
Nice setup. Thanks for explaining it better than I do. ;)

 
 Load html5shiv, use innerHTML to create element, change with jQuery (works in 
 IE8):
 http://www.boogdesign.com/examples/html5shiv-inner-jquery.html

Strange, I expected the innerHTML part to fail. Any idea why that works?

 
 So it looks like this is the broken part:
 
 $(body).append(sectionsomething/section);
 
 If you create the element with other methods, the next line works fine. 
 
 Rob
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] query on HTML5 nav tag

2010-09-28 Thread Steven Tan
#1 seems the most logical to me. Because I see them as different nav types, 
not as a whole site navigation.

You probably don't need to section the Archive page since there is only one 
section. 

steven

On 28/09/2010, at 11:26 PM, tee wrote:

 In a blog archive page, which is the best way?
 
 #1
 h1The Archives/h1
 nav
 h2last x number of posts /h2
 (ul list)
 /nav
 
 
 nav
 h2 By Categories/h2 
 (ul list)
 /nav
 
 nav
 h2 Yearly Archives /h2 
 (ul list)
 /nav
 
 
 or 
 #2 (I think this one is a better choice as they are all navigations.)
 h1The Archives/h1
 
 nav
 h2last x number of posts /h2
 (ul list)
 
 h2 By Categories/h2 
 (ul list)
 /nav
 
 
 Also, I am not sure if  section tag is needed  as it seems  redundant 
 because 'archives' is an individual page, similar to sitemap.
 
 
 section
 
 h1The Archives/h1
 nav
 h2last x number of posts /h2
 (ul list)
 /nav
 
 nav
 h2 By Categories/h2 
 (ul list)
 /nav
 
 /section
 
 
 Thanks!
 
 tee
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] javascript errors still

2010-08-03 Thread Steven Tan
Hi Marvin, 

As for your pasted code, unfortunately it's very difficult to debug without 
actually running the application and see how the error occurs. What you can do 
maybe is to try the IE8 Developer tools (I haven't used it much), and see if 
the error happens on a certain line number, then copy and paste the function 
where the line occurs and also any relating functions into here. 

There are a number of reasons that could have broke IE with Object expected. 
It usually means IE is looking for a function and it's not there. You might be 
able to see which line the error is pointing to, that will give you a good 
start for the debugging.

One more thing, also make sure the application you are running is from a web 
server (a local IIS), and not from your local file system. 

Hope this helps.

Steven


On 04/08/2010, at 1:34 PM, Marvin Hunkin wrote:

 hi.
 did any one take a look at my code.
 i sent yesterday?
 uninstalled internet explorer 8.
 then reinstalled it.
 went to the security zone.
 could not seem to set it to 40%
  
 and went to the custom link.
 made sure that previous active ex, did not need to prompt.
 and enabled it.
 went to the internet tools.
 and then to manage add-ons.
 and enabled the enable button.
 but i still get an error.
 saying an error was made and not able to add to my shopping cart.
 object explected.
 any one able to help.
 i have retyped the code a few times.
 for both pages.
 real frustrated.
 thank you.
 marvin.
  
   
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


Re: [WSG] javascript errors still

2010-08-03 Thread Steven Tan
Josh,

Mainly to rule out any problems that has to do with running scripts off the 
filesystem, since Marvin mentioned something about setting his security zone in 
IE. 
IE is quite picky about those things.

Steven

On 04/08/2010, at 3:01 PM, Josh Godsiff wrote:

 Hi Marvin
 
 I haven't had a chance to go through your code properly yet, but glancing 
 through it, I'll suggest that the jQuery javascript library could help in 
 making your code a great deal more simple, and less likely to have bugs.
 
 Also, Steven - why would a web-server be required, considering all he's 
 dealing with is HTML and CSS? or am I missing something?
 
 - Josh
 
 On 4/8/2010 2:38 PM, Steven Tan wrote:
 
 Hi Marvin, 
 
 As for your pasted code, unfortunately it's very difficult to debug without 
 actually running the application and see how the error occurs. What you can 
 do maybe is to try the IE8 Developer tools (I haven't used it much), and see 
 if the error happens on a certain line number, then copy and paste the 
 function where the line occurs and also any relating functions into here. 
 
 There are a number of reasons that could have broke IE with Object 
 expected. It usually means IE is looking for a function and it's not there. 
 You might be able to see which line the error is pointing to, that will give 
 you a good start for the debugging.
 
 One more thing, also make sure the application you are running is from a web 
 server (a local IIS), and not from your local file system. 
 
 Hope this helps.
 
 Steven
 
 
 On 04/08/2010, at 1:34 PM, Marvin Hunkin wrote:
 
 hi.
 did any one take a look at my code.
 i sent yesterday?
 uninstalled internet explorer 8.
 then reinstalled it.
 went to the security zone.
 could not seem to set it to 40%
  
 and went to the custom link.
 made sure that previous active ex, did not need to prompt.
 and enabled it.
 went to the internet tools.
 and then to manage add-ons.
 and enabled the enable button.
 but i still get an error.
 saying an error was made and not able to add to my shopping cart.
 object explected.
 any one able to help.
 i have retyped the code a few times.
 for both pages.
 real frustrated.
 thank you.
 marvin.
  
   
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***