Re: [WSG] utf8 character display problem

2009-07-08 Thread Nick Roper

Many thanks Andrew

Nick

Andrew Cunningham wrote:
Richard Ishida's i18n checker is a useful tool for this type of case. 
Available at



http://rishida.net/tools/i18nchecker/index.php



Rimantas Liubertas wrote:


Here's the issue:

We are working on a site that incorporates Russian text. It displays 
OK on
our development server, but when transferring the files to the live 
server

we get garbled output.


…
 
However, the same file uploaded to the live server displays the last 
menu

item incorrectly:

http://www.imperial-russian-dating.com/utf8-test.php

The file has been saved as utf8 encoded in the editor (Komodo) and then
uploaded to each server.

Any ideas ?



There are headers sent by your live server:
Connection:close
Content-Length:862
Content-Type:text/html; charset=ISO-8859-1
Date:Tue, 07 Jul 2009 16:22:43 GMT
Server:Apache/2.2.3 (CentOS)
X-Powered-By:PHP/5.1.6

Take a look at Content-Type header: it specifies charset as 
iso-8859-1. Charset

specified in HTTP has preference over charset in META. If you have
access to your
server configuration look for AddDefaultCharset directive in Apache
config. You can either
change it to UTF or comment it out.

Regards,
Rimantas
--
http://rimantas.com/


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

  




--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: nro...@logical.co.uk
phone: +44 (0)1749 676798
mobile: +44 (0)7590 538686
web: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34, Chamberlain St, Wells, Somerset, BA5 2PJ, UK
---

IMPORTANT This communication is to be treated as confidential and the 
information in it may not be used or disclosed except for the purpose 
for which it has been sent. If you have reason to believe that you are 
not the intended recipient of this communication, please contact the 
sender immediately. Any views or opinions expressed in this email may 
not be those of Logical Elements.


WARNING Computer viruses can be transmitted by E-Mail. The recipient 
should check this E-Mail and any attachments for the presence of 
viruses. Logical Elements accepts no liability for any damage caused by 
any virus transmitted by this E-Mail. This E-mail and any attachments 
may not be copied or forwarded without the express permission of Logical 
Elements. In the event of any unauthorised copying or forwarding, the 
recipient will be required to indemnify Logical Elements against any 
claim for loss or damage caused by any viruses or otherwise.



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



[WSG] utf8 character display problem

2009-07-07 Thread Nick Roper

Hi All,

Not sure if this is the correct group to post this to, so feel free to 
point me elsewhere.


Here's the issue:

We are working on a site that incorporates Russian text. It displays OK 
on our development server, but when transferring the files to the live 
server we get garbled output.


For example, the following test file on the development server 
incorporates Russian text into a menu:


http://dev.logical.co.uk/imperial-russian-beta/utf8-test.php

However, the same file uploaded to the live server displays the last 
menu item incorrectly:


http://www.imperial-russian-dating.com/utf8-test.php

The file has been saved as utf8 encoded in the editor (Komodo) and then 
uploaded to each server.


Any ideas ?

Thanks,

Nick



--
Nick Roper
partner
logical elements

logical elements, 34, Chamberlain St, Wells, Somerset, BA5 2PJ, UK
---




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



Re: [WSG] utf8 character display problem

2009-07-07 Thread Nick Roper

Hi Rimantas,

Ah, very useful to know, many thanks for that. The problem is that the 
site is on a shared server, so we may not be able to edit the Apache 
config file, but maybe I can use PHP to send a header instead?


Regards,

Nick

Rimantas Liubertas wrote:

Here's the issue:

We are working on a site that incorporates Russian text. It displays OK on
our development server, but when transferring the files to the live server
we get garbled output.

…

However, the same file uploaded to the live server displays the last menu
item incorrectly:

http://www.imperial-russian-dating.com/utf8-test.php

The file has been saved as utf8 encoded in the editor (Komodo) and then
uploaded to each server.

Any ideas ?


There are headers sent by your live server:
Connection:close
Content-Length:862
Content-Type:text/html; charset=ISO-8859-1
Date:Tue, 07 Jul 2009 16:22:43 GMT
Server:Apache/2.2.3 (CentOS)
X-Powered-By:PHP/5.1.6

Take a look at Content-Type header: it specifies charset as iso-8859-1. Charset
specified in HTTP has preference over charset in META. If you have
access to your
server configuration look for AddDefaultCharset directive in Apache
config. You can either
change it to UTF or comment it out.

Regards,
Rimantas
--
http://rimantas.com/


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




--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: nro...@logical.co.uk
phone: +44 (0)1749 676798
mobile: +44 (0)7590 538686
web: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34, Chamberlain St, Wells, Somerset, BA5 2PJ, UK
---

IMPORTANT This communication is to be treated as confidential and the 
information in it may not be used or disclosed except for the purpose 
for which it has been sent. If you have reason to believe that you are 
not the intended recipient of this communication, please contact the 
sender immediately. Any views or opinions expressed in this email may 
not be those of Logical Elements.


WARNING Computer viruses can be transmitted by E-Mail. The recipient 
should check this E-Mail and any attachments for the presence of 
viruses. Logical Elements accepts no liability for any damage caused by 
any virus transmitted by this E-Mail. This E-mail and any attachments 
may not be copied or forwarded without the express permission of Logical 
Elements. In the event of any unauthorised copying or forwarding, the 
recipient will be required to indemnify Logical Elements against any 
claim for loss or damage caused by any viruses or otherwise.



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



Re: [WSG] utf8 character display problem

2009-07-07 Thread Nick Roper

Hey Rimantas,

I added a line of PHP code as follows:

?php header(Content-Type:text/html; charset=UTF-8); ?

and it works fine now.

I also installed Live Headers in FF for future debugging.

Many thanks for that.

Cheers,

Nick

Rimantas Liubertas wrote:

Here's the issue:

We are working on a site that incorporates Russian text. It displays OK on
our development server, but when transferring the files to the live server
we get garbled output.

…

However, the same file uploaded to the live server displays the last menu
item incorrectly:

http://www.imperial-russian-dating.com/utf8-test.php

The file has been saved as utf8 encoded in the editor (Komodo) and then
uploaded to each server.

Any ideas ?


There are headers sent by your live server:
Connection:close
Content-Length:862
Content-Type:text/html; charset=ISO-8859-1
Date:Tue, 07 Jul 2009 16:22:43 GMT
Server:Apache/2.2.3 (CentOS)
X-Powered-By:PHP/5.1.6

Take a look at Content-Type header: it specifies charset as iso-8859-1. Charset
specified in HTTP has preference over charset in META. If you have
access to your
server configuration look for AddDefaultCharset directive in Apache
config. You can either
change it to UTF or comment it out.

Regards,
Rimantas
--
http://rimantas.com/


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




--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: nro...@logical.co.uk
phone: +44 (0)1749 676798
mobile: +44 (0)7590 538686
web: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34, Chamberlain St, Wells, Somerset, BA5 2PJ, UK
---

IMPORTANT This communication is to be treated as confidential and the 
information in it may not be used or disclosed except for the purpose 
for which it has been sent. If you have reason to believe that you are 
not the intended recipient of this communication, please contact the 
sender immediately. Any views or opinions expressed in this email may 
not be those of Logical Elements.


WARNING Computer viruses can be transmitted by E-Mail. The recipient 
should check this E-Mail and any attachments for the presence of 
viruses. Logical Elements accepts no liability for any damage caused by 
any virus transmitted by this E-Mail. This E-mail and any attachments 
may not be copied or forwarded without the express permission of Logical 
Elements. In the event of any unauthorised copying or forwarding, the 
recipient will be required to indemnify Logical Elements against any 
claim for loss or damage caused by any viruses or otherwise.



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



Re: [WSG] utf8 character display problem

2009-07-07 Thread Nick Roper

Hi David,

Nice one - I'll give that go too.

Cheers,

Nick

David Dixon wrote:
you should also be able to add/edit a .htaccess file on the shared web 
space and add the following:


AddDefaultCharset utf-8

most hosts, even shared hosts should allow this (and it saves adding php 
headers to every page)


Thanks,

David

On 7/7/09 18:46, Nick Roper wrote:

Hey Rimantas,

I added a line of PHP code as follows:

?php header(Content-Type:text/html; charset=UTF-8); ?

and it works fine now.

I also installed Live Headers in FF for future debugging.

Many thanks for that.

Cheers,

Nick

Rimantas Liubertas wrote:
  

Here's the issue:

We are working on a site that incorporates Russian text. It displays OK on
our development server, but when transferring the files to the live server
we get garbled output.
  

…


However, the same file uploaded to the live server displays the last menu
item incorrectly:

http://www.imperial-russian-dating.com/utf8-test.php

The file has been saved as utf8 encoded in the editor (Komodo) and then
uploaded to each server.

Any ideas ?
  

There are headers sent by your live server:
Connection:close
Content-Length:862
Content-Type:text/html; charset=ISO-8859-1
Date:Tue, 07 Jul 2009 16:22:43 GMT
Server:Apache/2.2.3 (CentOS)
X-Powered-By:PHP/5.1.6

Take a look at Content-Type header: it specifies charset as iso-8859-1. Charset
specified in HTTP has preference over charset in META. If you have
access to your
server configuration look for AddDefaultCharset directive in Apache
config. You can either
change it to UTF or comment it out.

Regards,
Rimantas
--
http://rimantas.com/


***
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
***


--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: nro...@logical.co.uk
phone: +44 (0)1749 676798
mobile: +44 (0)7590 538686
web: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34, Chamberlain St, Wells, Somerset, BA5 2PJ, UK
---

IMPORTANT This communication is to be treated as confidential and the 
information in it may not be used or disclosed except for the purpose 
for which it has been sent. If you have reason to believe that you are 
not the intended recipient of this communication, please contact the 
sender immediately. Any views or opinions expressed in this email may 
not be those of Logical Elements.


WARNING Computer viruses can be transmitted by E-Mail. The recipient 
should check this E-Mail and any attachments for the presence of 
viruses. Logical Elements accepts no liability for any damage caused by 
any virus transmitted by this E-Mail. This E-mail and any attachments 
may not be copied or forwarded without the express permission of Logical 
Elements. In the event of any unauthorised copying or forwarding, the 
recipient will be required to indemnify Logical Elements against any 
claim for loss or damage caused by any viruses or otherwise.



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



Re: [WSG] AJAX short courses london

2008-05-22 Thread Nick Roper

Hi Paul,

We can book you on an online course:

Building Rich Internet Applications With PHP 5 and AJAX

If that's of any interest? Price is about right and it runs over 6 
3-hour sessions with live instructor tuition and 2-way chat. All 
sessions are recorded so you can play back at your convenience.


Email me off-list if you are interested.

Cheers,

Nick


Paul Collins wrote:

Hi all,

I hope this is on topic. I'm trying to find a short course on AJAX in
london and having troubles finding one that is of a reasonable price
(IE- less than £300 for a half day). Could anyone recommend me one or
possibly a good school to look into?

Thanks for any help,
Paul


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Preventing copying of text from web page.

2007-12-21 Thread Nick Roper

Dear All,

Many thanks for all the feedback on this question. It really serves to 
back up my own opinions and the message that I have been trying to 
convey to the client.


As someone mentioned - the client is sure that they had 'seen it done 
somewhere'. My own view is along the lines of others - if the content is 
on a web page then someone can copy it one way or another, and this just 
has to be accepted. The client is intending to make the data available 
on a subscription basis, so that at least restricts access to paying 
customers.


Thanks again for all the input - I will summarise and present to the client.

Have a great Christmas one and all.

Nick


Chris Taylor wrote:

From: Joe Ortenzi
Sent: 21 December 2007 07:32



Why not simply make people register for it? Then you
have their details and if you make the registration
process intelligent, they will be aware they are being
tracked and more likely to behave. All sorts of benefits
and if the discussion forum is inside there as well then
you can even claim some web 2.0-ness as an added benefit
of registration!


This to me seems like a good option, and by registering someone you could then give them 
a doctored version of the data including unique information to tie that 
particular view of the data with their session. That unique ID could be in a table cell, 
in the title of the page, as a footer etc. If you found a copy of that data with the 
unique session ID anywhere you could trace it back to a date, time, IP address and 
registered user.

Of course the problem there is that anyone with a bit of HTML skill could 
remove the unique ID from the page. Still, it may help to deter casual copiers.

Chris


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Preventing copying of text from web page.

2007-12-20 Thread Nick Roper

Hi,

We have been asked by a client whether it is possible to any extent to 
prevent/deter users from copying content from a particular web page.


The page will comprise two main areas:

1) Selection options in the form of select lists, check boxes etc.

2) Once the criteria have been selected then a 'Search' button will 
initiate a script that will query the database and display resulting 
text records in tabular format.


The requirement is that the the user should be able to view the 
resulting output, but not to be able to copy/paste to other applications.


Is this possible to achieve in a way that is standards-compliant - or 
indeed in any way at all? One suggestion has been to apply a transparent 
image over the results table - but not sure if this could be done with 
CSS etc?


If this is considered off-topic then I would welcome suggestions for 
more appropriate forums.


Many thanks in anticipation.

Regards,


--
Nick Roper
partner
logical elements



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Popup 'box' on hover

2007-08-23 Thread Nick Roper

Hi,

A client would like functionality similar to that used on 
istockphoto.com - i.e. that a 'popup' window is displayed with a larger 
image and some text when the user hovers over a thumbnail image. e.g.


Can I do this with CSS in a standards-compliant and works cross-browser 
way? Any pointers or references to example code gratefully received.


Thanks,

Nick

--
Nick Roper
partner
logical elements



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Popup 'box' on hover

2007-08-23 Thread Nick Roper
That's cool, but I wanted to try and avoid having to use 'real-estate' 
on the page. A popup allows the larger image to display without having 
to allocate permanent space for it in the layout.


Thanks for the link, as I'm sure that will come in handy anyway.

Spirit Q.9 Gaming wrote:

http://www.cssplay.co.uk/menu/gallery_click

Can you use this?

On 8/23/07, *Nick Roper*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi,

A client would like functionality similar to that used on
istockphoto.com http://istockphoto.com - i.e. that a 'popup'
window is displayed with a larger
image and some text when the user hovers over a thumbnail image. e.g.

Can I do this with CSS in a standards-compliant and works cross-browser
way? Any pointers or references to example code gratefully received.

Thanks,

Nick

--
Nick Roper
partner
logical elements



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Popup 'box' on hover

2007-08-23 Thread Nick Roper

Thanks guys - excellent stuff.

Nick

Barney Carroll wrote:

Spirit Q.9 Gaming wrote:
  http://www.cssplay.co.uk/menu/gallery_click
 
  Can you use this?

Stu Nicholls has done a few :hover lightboxes:

http://www.cssplay.co.uk/menu/lightbox.html

If you want to be really flash (without flash, naturally)...

http://www.cssplay.co.uk/menu/image_magnifier2.html


Regards,
Barney


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Nick Roper
partner
logical elements


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Target 1st item in list

2007-07-26 Thread Nick Roper
I need to target the 1st item in a list. However, to make things 
complicated I can't assign a class or id to it. This is because of the 
way that the code is generated.


So, given the following example code:

h3 class=someClassHeading Text/h3
ul class=someOtherClass 
liItem 1/li
liItem 2/li
liItem 3/li
liItem 4/li
/ul

Is there a way that I can target the li for Item 1 without it having a 
specific id or class assigned to it?


Thanks in anticipation.


--
Nick Roper
partner
logical elements



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] H1 font not set in IE

2007-07-18 Thread Nick Roper


Thanks to everyone who has sent suggestions. I have tried different 
quotes, no quotes, reloading, etc, etc - but still no joy.


This just seems to be an issue on FF/Windows and the really weird thing 
is that the font works in one area of the page - the menus - but not for 
the headings. The font is specified in exactly the same way for both 
components in the CSS, but the headings refuse to play ball.


Nick



Nick Cowie wrote:

Raena wrote:

No, either doubles or singles are correct.
http://www.w3.org/TR/REC-CSS1#font-family

Double quotes might be correct in the specs and for all browsers that 
follow the specs including surprisingly IE6. Except for FF on windows, 
it does not want to play by the rules it needs single quotes not double 
quotes, I found this out the hard way last week.


Nick

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] H1 font not set in IE

2007-07-18 Thread Nick Roper

Hi Naveen,

I'm om FF 2.0.0.4 as well - can you confirm that tou see the ampersand 
character styled in 'Gates  Railings' the same way on both the heading 
and the menus ? I see different - with the menu being more stylised.


Thanks,

Nick

[EMAIL PROTECTED] wrote:

Hi...

Your styles works perfectly in my system inboth IE6 and FF 2.0.0.4.Even
I also tried removing your inline styles for the H! tag.. still it
works


naveen


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Nick Roper
Sent: Wednesday, July 18, 2007 2:04 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] H1 font not set in IE


Thanks to everyone who has sent suggestions. I have tried different 
quotes, no quotes, reloading, etc, etc - but still no joy.


This just seems to be an issue on FF/Windows and the really weird thing 
is that the font works in one area of the page - the menus - but not for


the headings. The font is specified in exactly the same way for both 
components in the CSS, but the headings refuse to play ball.


Nick



Nick Cowie wrote:

Raena wrote:

No, either doubles or singles are correct.
http://www.w3.org/TR/REC-CSS1#font-family

Double quotes might be correct in the specs and for all browsers that 
follow the specs including surprisingly IE6. Except for FF on windows,



it does not want to play by the rules it needs single quotes not
double 

quotes, I found this out the hard way last week.

Nick

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Nick Roper
partner
logical elements


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] H1 font not set in IE

2007-07-17 Thread Nick Roper

Hi,

We are making some changes to an existing site for a client - basically 
converting to CSS as far as possible. I'd appreciate it if someone could 
take a look at this page:


http://dev.logical.co.uk/castlewelding/final/gates_railings.php

The font for the h1 should be Garamond - as it is for the menus at the 
left. However it refuses to render in FF/Windows - although it is fine 
on FF/Mac. The other weird thing is that FF/Windows renders Garamond for 
the menus but not the h1.


I have stared at it until I can't see wood for trees any more. I even 
tried adding an inline style attribute into the H1 tag - but that didn't 
work either. Am I missing something startlingly obvious?


Thanks,

Nick

PS - image replacement will be made more
--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] H1 font not set in IE

2007-07-17 Thread Nick Roper

Hi Tony,

But the weird thing is that it renders OK for the menus, which also 
specify italic.


Nick

Tony Crockford wrote:


On 17 Jul 2007, at 11:40, Nick Roper wrote:



I have stared at it until I can't see wood for trees any more. I even 
tried adding an inline style attribute into the H1 tag - but that 
didn't work either. Am I missing something startlingly obvious?


assuming windows actually has the font installed, you are also 
specifying italic - maybe windows doesn't have an italic version?




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] H1 font not set in IE

2007-07-17 Thread Nick Roper

Hi Nick,

Thanks for that. The weird thing is though that Garamond does render for 
the menus. So, on the same machine/browser, the menus render in Garamond 
- so the font is there OK - but the headers don't.


Nick



Nick Gleitzman wrote:


On 17 Jul 2007, at 8:40 PM, Nick Roper wrote:


http://dev.logical.co.uk/castlewelding/final/gates_railings.php

The font for the h1 should be Garamond - as it is for the menus at the 
left. However it refuses to render in FF/Windows - although it is fine 
on FF/Mac. The other weird thing is that FF/Windows renders Garamond 
for the menus but not the h1.


I have stared at it until I can't see wood for trees any more. I even 
tried adding an inline style attribute into the H1 tag - but that 
didn't work either. Am I missing something startlingly obvious?


Umm... possibly that a font won't render if it's not present on the 
machine? I see Verdana for both H1 and the LH menu, because I don't have 
Garamond in my default set of fonts; I'd have to activate it with 
Suitcase if I want it.


It would be a good idea to specify a family of fonts in your css, 
instead of just the one - that way you're supplying a fallback style for 
those that don't have Garamond. Choose fonts that are present on most 
OSs for best results. Maybe Palatino, or Georgia?


See http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html for a 
handy list of common fonts for both 'doze and Mac.


HTH
N
___
omnivision. websight.
http://www.omnivision.com.au/



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] H1 font not set in IE

2007-07-17 Thread Nick Roper

Hi James,

Yup, as I say, it works fine for both headers and menus on FF/MAc, but 
only for the menus on FF/Win.


What I'm trying to figure out is why the menus render in Garamamond but 
the headings don't on FF/Win


Nick




James Jeffery wrote:

Im using FireFox on a Mac and it works fine.

:P

On 7/17/07, *Nick Roper* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi Nick,

Thanks for that. The weird thing is though that Garamond does render
for
the menus. So, on the same machine/browser, the menus render in Garamond
- so the font is there OK - but the headers don't.

Nick



Nick Gleitzman wrote:
 
  On 17 Jul 2007, at 8:40 PM, Nick Roper wrote:
 
  http://dev.logical.co.uk/castlewelding/final/gates_railings.php
 
  The font for the h1 should be Garamond - as it is for the menus
at the
  left. However it refuses to render in FF/Windows - although it
is fine
  on FF/Mac. The other weird thing is that FF/Windows renders Garamond
  for the menus but not the h1.
 
  I have stared at it until I can't see wood for trees any more. I
even
  tried adding an inline style attribute into the H1 tag - but that
  didn't work either. Am I missing something startlingly obvious?
 
  Umm... possibly that a font won't render if it's not present on the
  machine? I see Verdana for both H1 and the LH menu, because I
don't have
  Garamond in my default set of fonts; I'd have to activate it with
  Suitcase if I want it.
 
  It would be a good idea to specify a family of fonts in your css,
  instead of just the one - that way you're supplying a fallback
style for
  those that don't have Garamond. Choose fonts that are present on
most
  OSs for best results. Maybe Palatino, or Georgia?
 
  See http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html for a
  handy list of common fonts for both 'doze and Mac.
 
  HTH
  N
  ___
  omnivision. websight.
  http://www.omnivision.com.au/ http://www.omnivision.com.au/
 
 
 
  ***
  List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
http://webstandardsgroup.org/mail/guidelines.cfm
  Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
  Help: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  ***
 
 

--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
phone: +44 1749 676798
www: www.logical.co.uk http://www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ

---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Accessible headline 'scroller'

2007-07-14 Thread Nick Roper

Hi All,

A customer has asked for a region of a page to display 'scrolling' news 
headlines. The example site that they have given is:


http://www.imeche.org/

They would like something similar but with the following modifications:

1) Slower rate of traverse
2) Less vertical space so that only one headline is read at a time.
3) Headline pauses momentarily to allow reading and clicking of link.

$64K question: is there a way of doing this that is accessible and 
compliant? I know the specs say to avoid scrolling text, but thought I'd 
ask anyway.


I'm sure this has come up before so please refer me to previous 
posts/articles if appropriate.


Many thanks.

Nick


--
Nick Roper
partner
logical elements
---


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] force download a media file

2007-06-13 Thread Nick Roper
was just going to say that you could set a header with PHP, but then 
noticed that you don't have it.


Nick

Gary Menzel wrote:
The choice on how to handle any MIME type is in the hands of the 
downloading application and cannot be controlled by the source site.  If 
it was not for this, it would be too easy for a site to infect any 
target operating system with malicious intent.


Regards,
Gary

[that is - if you find a way to do it, it is a fault in the browser]


On 6/13/07, *SJL*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Hi all,

I have this problem where i want to force download and mp3 and mp4
format file, but by default the browsers are handling it.
I actually want the save as window to appear and give the choice
to the viewer.

I have goggled and tried a lot of them, but nothing worked, as my
server doesnt support asp/php.

can it be done using javascript/ajax?

Kindly advice.

Thanks and regards,
Sijo Louis

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
*** 




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Back to the Future

2007-06-12 Thread Nick Roper

Hi Chris,

I actually junked my set of Windows 3.1 floppy disks the other day and 
wondered if anyone is still using it...


Info on CSS support at:

http://www.w3schools.com/css/css_reference.asp

Good luck!!

Nick


Chris Taylor wrote:

Well, there isn't a look yet, as I haven't designed it. It needs to be as
simple as possible, so there's no really advanced stuff required and the
design will reflect that. It's an intranet system, so only available to
users with valid logins, hence it needs to work in a wide spread of
browsers.

My initial tests show that NN4.03 handles some CSS (float, background,
border, font etc) but not some important things (list-style, margin and
padding on lists). Is there a source for information about CSS support on
old browsers?

Thanks

Chris


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of David Dorward
Sent: 12 June 2007 17:09
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Back to the Future


On 12 Jun 2007, at 17:04, Chris Taylor wrote:

I've been asked to write a website that MUST work in Netscape 4.03 and
IE 3 for Windows 3.1. When you've stopped laughing I'm afraid I  
have to
say I'm serious, and there's no chance at all that the people  
connecting

to the site will upgrade.

So, any tips to do this without reverting all the way back to 1996
tables and spacer gifs? Or am I doomed to non-standards hell?


Does 'work' really mean 'look the same'?




--
Nick Roper
partner
logical elements


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Use of PDFs - Accessibility issues

2007-06-08 Thread Nick Roper
Many thanks to everyone for posts and personal replies on this thread. I 
appreciate you all taking the time to respond.


The opinions that most people have kindly put forward are very similar 
to my own, but I guess that I wanted to make sure that I wasn't about to 
give an inappropriate 'knee-jerk' response to the client, or was unaware 
of options that might be appropriate. I intend making a counter-proposal 
along the lines that have been suggested and will let you know what happens.


Regards,

Nick

Andrew Maben wrote:


On Jun 7, 2007, at 6:16 PM, Nick Gleitzman wrote:


Nick Roper wrote:

Just to confirm, the recommendation from the agency is to replace 
existing html content with PDF version, not to provide PDFs as an 
additional alternative.


Nick, you've made it fairly clear that your question is about 
accessiblity in PDFs, rather than whether or not it's a good idea to 
use them - but I'm afraid the most common answer you're likely to get 
is going to be: don't rely on them exclusively.


The web is for HTML; the ability to deliver other file types is 
possible, but not the best option if accessiblity is desired. As 
printable alternatives, sure, I guess (but what's wrong with a good 
print style sheet?) - but I'm thinking of a number of Aust Govt sites 
which insist on delivering critical info as PDFs and even Word docs, 
which I find astonishingly short-sighted, as well as probably an abuse 
of accessiblity guidelines, if not legislation. What if I don't have 
Word installed (and why should I?)?


The site may certainly need an IA overhaul, if it's been mangled over 
time by too many cooks - but that's no reason to stop using HTML in 
favour of PDF, surely. I think the site owners should have it pointed 
out to them that the agency's recommendations are simply out of touch 
with what's needed.


 From WCAG Samurai Errata:

*We ban most PDFs*: PDFs that should be HTML are banned unless they are 
accompanied by HTML. All other PDFs have to be tagged.


Andrew

 


109B SE 4th Av
Gainesville
FL 32601

Cell: 352-870-6661

http://www.andrewmaben. http://www.andrewmaben.com/net
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

/In a well designed user interface, the user should not 
need //instructions./




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Use of PDFs - Accessibility issues

2007-06-07 Thread Nick Roper
First of all, please let me know if this post is inappropriate for this 
list. If so then please point me elsewhere.


We have a client for whom we created a website some 7 years ago. The 
site has developed over the years, and now comprises approximately 140 
pages across a dozen or so categories. The customer is a 
hotel/leisure/golf resort in the UK and has two main types of site visitor:


1) Club members (approx 5000)
2) Non members that are looking for weekend breaks, golf venues, wedding 
venues, dining, conference facilities etc.


The current site uses 99.9% html for content, with a server-based CMS 
that we developed and put in place at the outset, and which is used to 
update the site several times a day with news of results, events, etc, etc.


Anyway, to get to the point, the customer has now been advised by a 
marketing agency that the site should be reduced in size to approx 45 
key pages, and that the majority of content for things such as 
conference room specification and rates, bedroom specs and rates, menus, 
events, golf rates, membership rates etc, should be made available in 
PDF form instead of the html pages that are on the current site.


I am aware that recent versions of Adobe allow more accessible PDF 
content to be created, but I would be grateful for thoughts on the use 
of PDF content instead of html content. Just to confirm, the 
recommendation from the agency is to replace existing html content with 
PDF version, not to provide PDFs as an additional alternative.


I have researched articles on various sites, and the general advice 
seems to be that PDFs have their place when specific layout or 
functionality requires, but that these are generally considered to be 
fairly exceptional cases, such as legal forms that must be delivered in 
an original format, or multi-columnar information that cannot be 
degraded to an acceptable single column layout.


I know that the customer will quite possibly consider any representation 
from us to avoid going down this path as an attempt to protect our 
interests in redevelopment proposals, so I would be very grateful for 
feedback and recommendations from others.


Many thanks,


--
Nick Roper
partner
logical elements



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Content Management issue ?

2007-05-29 Thread Nick Roper

Hi Mark,

Have you looked at Karova?

www.karova.com

It is XML/XSLT based, so that may be an issue if you want a PHP based 
solution, but you can get in and edit the XSLTs and of course CSS, so it 
is pretty flexible and compliant. Not sure about the Protx support. One 
thing to be aware of is that it is a hosted solution, and not available 
to install on your own server as far as I know.


It has been used for some large clients such as World Wildlife Fund (not 
our client unfortunately), and we used it to build a store at the 
following URL if you want a look:


http://retailstore.haptic.co.uk

I think they were working on a PHP-based version, and are working on 
more friendly URLs - so might be worth a look.


Cheers,

Nick

--
Nick Roper
partner
logical elements

Mark Hedley wrote:

Keeping an eye on it myself. Just a shame their doesn't seem to be
support for non-native Commerce yet.

Hopefully development will grow for UK and other territories soon : )

Mark Hedley
Web Development Manager
Mayborn Baby  Child Division


http://www.tommeetippee.com

Jackel International Limited is a company registered in England  Wales
(registered number 1894022). Our registered office is at Dudley Lane,
Cramlington, Northumberland, NE23 7RH.  Tel (0191) 2501864, Fax (0191)
2501727. Sangenic International Limited is a company registered in
England  Wales (registered number 1308939). Our registered office is at
Dudley Lane, Cramlington, Northumberland, NE23 7RH. Tel (0191) 2501864,
Fax (0191) 2501727. Jackel International and Sangenic International are
part of the Mayborn Group

This transmission and any attachments are confidential and are intended
solely for the named addressee(s). If you are not the addressee, please
do not read, copy, use or disclose this transmission and notify us
immediately by telephone (0191) 2501864 or by reply.  Please then delete
this transmission from your system.  You should also be aware that all
incoming e-mails are monitored for system security purposes.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tate Johnson
Sent: 29 May 2007 01:47
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Content Management issue ?

On Tue, 29 May 2007 10:50:15 +1200
Robin Gorry [EMAIL PROTECTED] wrote:



I have head very good things about silver stripe
http://www.silverstripe.com/home/
This is an open source cms writen in php which you are able to
cusomise and manipulate.

Simple. Intuitive and user-friendly
Flexible. MVC framework 
Scalable. From 1 page to a million 
Fast. As responsive as a desktop app thanks to native Ajax support
Standards Compliant. Fully XHTML compliant 
Modular. Easy to extend 
Template Freedom. No restrictions on the look and feel of your site 
Open source. It's free in every sense of the word! (BSD)

Cross platform (Windows/Linux/Mac) and easy to install (PHP based


Silverstripe is fantastic. It's relatively new in relation to other
CMS's, but it sure has a lot of potential. Primarily, it's developed by
a NZ company and was originally a closed source, proprietary CMS. It's
extremely flexible for developers/designers to create custom
templates/sites. The community is growing larger, and the SS staff are
quite helpful. They provide a forum and IRC channel for support and
discussion. More importantly, it's easy for clients/content writers to
create pages, the interface is quite intuitive. 


There are a few quirks here and there, no official blog/news module
exists, but there is a guide/tutorial for how to create one. The next
release  (v2.1) will feature a tonne of improvements and those extra
modules too. It's exciting times ahead for Silverstripe, and I
certainly encourage you all to keep your eye on it.

I'm actually developing a web site using Silverstripe at the moment,
first time :)

Cheers,

Tate Johnson


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***







***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] RE: Error help

2007-05-23 Thread Nick Roper

Hi Mike,

When you say it crashes, what exactly happens? any error messages for 
example?


Nick



michael (SydneyWeb) wrote:
 

 


Hi can anyone help with this customer question

Im not sure if its because this client is always complaining or whether 
we have missed something in development


This is the site

www.theweddingshow.com.au http://www.theweddingshow.com.au/  The 
client went with the cheapest hosting company which we advised against!


R

Mike

 

 

I have had several clients today complaining that their internet browser 
keeps crashing only whilst viewing The Wedding Show. I also have 
encountered several crashes while using the admin area, home page and 
search supplier facility on the front end.


 

I thought it was my browsers but then got suppliers phoning up informing 
me of this problem. I was also on a sales call to a potential client and 
guess what happened she told me her browser crashed and funny enough 
right at the same time my browser crashed as I was giving her a tour of 
the wedding show.


 

Can someone there check what this means or why this is happening and 
contact me urgently. It seems to have started since you guys have added 
the Content Management system??


 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Form layout issue

2007-05-13 Thread Nick Roper

I'd be grateful if someone could take a look at the following draft form:

http://dev.logical.co.uk/test/add-user.php

It renders OK in FF, Safari and Opera, but the input elements don't 
align correctly in IE6 (haven't tried 7 as yet)


I'm sure it's something obvious, but it's been a long night and I'm not 
seeing wood for trees at the moment.


Thanks in anticipation.

Nick

--
Nick Roper
partner
logical elements
---
There are 10 kinds of person. Those who understand binary, and those who 
don't!



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Form layout issue

2007-05-13 Thread Nick Roper

Hey Scott,

Yup, that's made IE play nice!

Good point regarding the layout if styles are turned off.

Thanks for that.

Cheers,

Nick


Scott Swabey wrote:

Nick Roper wrote:

I'd be grateful if someone could take a look at the following draft form:

http://dev.logical.co.uk/test/add-user.php

It renders OK in FF, Safari and Opera, but the input elements don't 
align correctly in IE6 (haven't tried 7 as yet)


Hi Nick

I would suggest placing a br after each input, and apply a clearing 
class to the br. This will force IE to play, and has the added bonus 
of retaining some semblance of formating if styles are turned off.


br class=clear

.clear {
  clear: both;
  height: 1px;
  display: block;
}

Regards


--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
   www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587

logical elements, 34 Chamberlain Street, Wells, Somerset, BA5 2PJ
---
There are 10 kinds of person. Those who understand binary, and those who 
don't!



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Simple to use page layout 'tool' ?

2007-03-12 Thread Nick Roper

Apologies if this is slightly off topic, but I'm happy to re-post elsewhere.

A client wants to be able to create some draft page layouts that they 
want achieved. Basically, they want a simple piece of software that they 
can use to drag  drop things like buttons, lists, input fields etc onto 
a page in order to create an initial draft requirement. No functionality 
is needed - just the ability to create a draft layout and annotate 
things. For example there might be an arrow pointing to a button with a 
note that says 'the user clicks this to display a list of products'


They can then submit it to us as a starting point.

I hesitate to suggest anything like Dreamweaver. Does anyone know of 
anything fairly lightweight and foolproof?


Thanks,

Nick


--
Nick Roper
partner
logical elements



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Simple to use page layout 'tool' ?

2007-03-12 Thread Nick Roper
Many thanks to all for the suggestions, I'll check them out. Actually my 
preference would probably be the pen and paper approach as well, but the 
client insists that they want a *proper* tool for the job.


Thanks again folks.

Nick

Dwain Alford wrote:
then i agree with your earlier post.  i did not find it snarky.  it was 
true what you said.


dwain

On 3/12/07, *Chris Williams*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


I **was** the early poster…

 




*From:* Dwain Alford
*Subject:* Re: [WSG] Simple to use page layout 'tool' ?


i agree with an early poster about the pencil and paper layout tool.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
*** 





--
dwain alford
p.o. box 145
winfield, alabama  35594
u.s.a.

tele:  205.487.2570
cell:  205.495.5619
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Use of Enter key to naviagte between form fields

2007-02-27 Thread Nick Roper

Hi,

A customer has requested that they should be able to navigate between 
input fields on a form by using the Enter key - i.e. to replicate the 
action of the Tab key.


I've seen examples of Javascript code to do this, but I'd be interested 
in any feedback on whether there are any issues with this and what the 
best approach is to implement.


Thanks,

Nick

--
Nick Roper
partner
logical elements



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Use of Enter key to naviagte between form fields

2007-02-27 Thread Nick Roper
Many thanks to all for the feedback so far. The general consensus 
certainly seems to be that use of the Enter key is not a good idea, and 
I totally accept the reasons put forward.


Just to clarify things a bit, this is indeed and intra/extranet based 
application. In fact the project is to convert an existing Access 
database application to a web-based PHP/MySQL application that can be 
accessed remotely via a secure login. A few admin users will be able to 
enter  update data via forms, whilst others will be able to select/view 
information and reports. It would only be the admin users that would 
possibly have the facility to use the Enter key - which is what they do 
with the current system.


As Chris points out, the use of the Enter key is quite common in 
data-centric applications (which this is) and the users are used to 
using the Enter key for that purpose.


I probably should have made all this clearer in my original post. Would 
the group consider the request more reasonable in these circumstances - 
perhaps if it is made clear that this is non-standard behaviour that 
should only be introduced on the non-public areas, or are there still 
strong reasons for avoiding? If so, then I'm quite happy to tell the client.


Nick


Chris Williams wrote:
How about the fact that many data entry programs use enter to move 
between fields?  It is actually quite common in very heavy data-centric 
applications.



*From: *Andrew Maben [EMAIL PROTECTED]
*Subject: *Re: [WSG] Use of Enter key to naviagte between form fields

But perhaps your customer has some convincing rationale for wanting to 
do this? If so, I'm sure we'd all be fascinated to hear it.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php  mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
 www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Use of Enter key to naviagte between form fields

2007-02-27 Thread Nick Roper
Very many thanks indeed to everyone who has contributed to this thread, 
and to Nick F and others who have contributed examples. I have a meeting 
with the client next week and will make sure that the various points 
that have been raised are discussed and considered before making any 
decisions.


I'm going to be away for a couple of days now, so will follow up on any 
further posts when I'm back.


Thanks again.

Nick Roper



Nick Fitzsimons wrote:

On 27 Feb 2007, at 18:49:34, Nick Roper wrote:

Just to clarify things a bit, this is indeed and intra/extranet based 
application. In fact the project is to convert an existing Access 
database application to a web-based PHP/MySQL application that can be 
accessed remotely via a secure login. A few admin users will be able 
to enter  update data via forms, whilst others will be able to 
select/view information and reports. It would only be the admin users 
that would possibly have the facility to use the Enter key - which is 
what they do with the current system.


As Chris points out, the use of the Enter key is quite common in 
data-centric applications (which this is) and the users are used to 
using the Enter key for that purpose.





This is, in fact, one of the few cases when it can be worth doing this. 
Have a look at


http://www.nickfitz.co.uk/tests/javascript/entertest.html

which should do something similar to what you want.

Some notes:

0. It uses a window.onload handler, so that would need to be integrated 
with any existing/later code.


1. It uses DOM Level 0 event handler properties, rather than mucking 
about with attachEvent/addEventHandler and so forth.


2. This assumes (in the window.onload handler) that the form has an id 
attribute of testForm; change that as needed.


3. It also assumes that every text input has an id attribute; note that 
these must be unique (within the page).


4. It only sets event handling for text input fields (input 
type=text); you can remove or modify the check in the function 
getInputFieldIds if you want, though I haven't tested across browsers 
what will happen with other kinds of input field.


5. It tries to avoid creating closures over DOM elements, in order to 
prevent memory leaks, particularly in IE. (As to whether or not it 
succeeds...)


6. It makes no assumptions about the number of elements in the form, nor 
about the form of the element ids, other than that they exist and are 
unique within the page.


7. It doesn't set any handler on the last field; this means that, when 
Enter is pressed in that field, the form is submitted.


The last can be changed to switch focus to a submit button if the test 
in getInputFields is modified and the button comes after the other 
fields, as is usually the case.


The script would be better off in a separate file rather than being in 
the page, but it's just a quick demo :-)


Tested in Firefox 1.5.0.10/Mac, Safari 2.0.4/Mac and IE6/Win.

HTH,

Nick.
--Nick Fitzsimons
http://www.nickfitz.co.uk/





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Nick Roper
partner
logical elements


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***