Thanks: [WSG] More on spam traps
Thanks folks. I know nothing about server-side validation, so that's more learning for me . . . (or some carpentry, maybe :-) Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] More on spam traps
Hi All, I have recently attempted to 'trap' spammers who use autofilling tactics on the site at www.gwelanmor-internet.co.uk. This is written in html5 and uses a mixture of simple tests to validate the form. However, yesterday I recvd a mail thus: a.. name a.. igmgrtasel a.. email a.. a.. hidden a.. -9 a.. comments a.. CaWePF a href=http://ipdszgwutyvp.com/;ipdszgwutyvp/a, [url=http://fkpbtvpaxitv.com/]fkpbtvpaxitv[/url], [link=http://rtcdalwdjrkb.com/]rtcdalwdjrkb[/link], http://xsejahukjzdr.com/ a.. send a.. send message . The script I used to validate the form is this: script type=text/javascript function validateForm() { var x=document.forms[contact][email].value; var atpos=x.indexOf(@); var dotpos=x.lastIndexOf(.); if (atpos1 || dotposatpos+2 || dotpos+2=x.length) { alert(This is Not a valid e-mail address); return false; } // var y=document.forms[contact][hidden].value; if (y==null || y==) { return true;} else { alert(I think you are a machine) return false; } } !--// -- function check(node) { var re = new RegExp('[\[\\]]', 'g'); document.getElementById('send').disabled = re.test(node.value); } /script and it works locally and online. However the mail I quote from above is completely unaffected. Does this mean I give up trying, or what? Any thing? Thanks, Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] how to force a cache bypass?
OK, this isn't about standards, but it's more interesting than knowing that folk are not in the office . . . How can I make a web page appear as the latest version in all browsers, i.e., perform a cache bypass? And I don't mean for me - I mean for all visitors to the page? Is it possible? ?? Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] which tag to use for link to reference?
In what way is sup more presentational than p? Bob - Original Message - From: Kevin Rapley To: wsg@webstandardsgroup.org Cc: Teddy Knoy Sent: Monday, July 02, 2012 12:27 PM Subject: Re: [WSG] which tag to use for link to reference? I would go with David Dorwood’s suggestion, this seems the most logical. I would try and avoid the sup tags, as these are for superscript, which is really presentational and should be handled by CSS if this is the style that is required. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] cross-browser or vendor-specific CSS
- Original Message - From: David Hucklesby huckle...@gmail.com To: wsg@webstandardsgroup.org Cc: Kevin Erickson kevinlerick...@gmail.com Sent: Friday, June 29, 2012 5:06 PM Subject: Re: [WSG] cross-browser or vendor-specific CSS Start with a simple design for mobile and old browsers. Add advanced CSS inside @media queries or qualified by :root. qualified by :root? can you give us an example here? Thanks, Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] AOL mail problems?
Has anyone encountered problems with AOL mail such as this: A friend of mine has a website for his business and he has a domain. I set it for him so that his domain mail redirects to joeblo...@aol.com (he doesn't want his mail published here, so I made that name up :-) However, he informs me that mail does not arrive from his domain address, but it does from his ail mail. Am I missing something? Thanks, Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] AOL mail problems?
Thanks, Dan,for your comprehensive answer! I have tried everything you mention and I can't see anything wrong - it's driving me potty! I've done this several+ times over the years and not had a problem . I was beginning to wonder about AOL not allowing domains not owned by them to be redirected . . . or something. I have not been able to check that mail sent to the domain address can be accessed in the mail box even if not redirected, as the customer simply doesn't understand what to do and wouldn't do even if I gave him full complete instructions! Thanks again. Bob - Original Message - From: Danny Vose To: wsg@webstandardsgroup.org Sent: Friday, June 15, 2012 11:29 AM Subject: Re: [WSG] AOL mail problems? Hi Bob I have had this problem several times over the years with customers wishing to have their mail redirected. The first things to check are the obvious ones (not a sop on your ability but computers make us brain dead at times!) Does his account with the hosting company have any restrictions on the amount of POP3 redirects as many do? Or two with the same address such as admin@ and admin@-redirect? Most host providers use third party email clients and for some unknown reason I have at times simply deleted all the mail accounts on the domain, then refreshed and redone and they have worked? Have you actually tested that mail sent to the domain address can be accessed in the mail box even if not redirected? Finally, it's extremely easy to make a minor miss-spell when doing web work. A water test I always use with these problems is to quickly setup a temp Hotmail or yahoo address and redirect there and see if it arrives. If it does than the problem is with his AOL mail account. If not, its domain side. If you have checked all these Bob then you can't do anymore and it's up to the domain support to sort out as you don't have backend access. Dan - Original Message - From: coder To: wsg@webstandardsgroup.org Sent: Friday, June 15, 2012 9:49 AM Subject: [WSG] AOL mail problems? Has anyone encountered problems with AOL mail such as this: A friend of mine has a website for his business and he has a domain. I set it for him so that his domain mail redirects to joeblo...@aol.com (he doesn't want his mail published here, so I made that name up :-) However, he informs me that mail does not arrive from his domain address, but it does from his ail mail. Am I missing something? Thanks, Bob *** 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 ***
[WSG] More on forms
Hi all, I've been looking at stuff like this (check for these chars and disable submit button if present): function check(node) { var re = new RegExp('[\?\\[\\]]', 'g'); document.getElementById('sub').disabled = re.test(node.value); } What I'm asking now is, is there an equivalent function using words instead of characters? I would like to make words such as 'ranking' 'SEO' 'search' 'engine' etc disable the submit button. I've looked, but can't find anything. As you'll have guessed, I'm no good at JS! Thanks, Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] minimal use of modernizr?
I have a very simple html5 contact form which I'd like to keep that way. However, the 'pattern' attribute isn't recognised by IE and I feel that it surely must be possible to just use a bit of modernizr to make it work. Example is: label for=email accesskey=EEmail/label input name=email id=email placeholder=Enter your Email Address pattern=^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$ required type=email I'm not a javascript person and I wonder if it is possible to just use a bit of extracted code from jquery/modernizr without having to link to the whole script, much of which is surplus code - i.e., just put a small amount of script right in the page. Sorry if I haven't expressed this very well. ?? Thanks Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] list heading - best practice?
Come on Steve, tell us why not then? Bob - Original Message - From: Steve Green steve.gr...@testpartners.co.uk To: wsg@webstandardsgroup.org Sent: Wednesday, March 07, 2012 12:31 PM Subject: RE: [WSG] list heading - best practice? -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Oliver Boermans Sent: 07 March 2012 11:20 To: wsg@webstandardsgroup.org Subject: Re: [WSG] list heading - best practice? On 6 March 2012 09:20, Dan Freeman dan.free...@lexi.com wrote: How about in HTML5? section headerSome Title/header ul liItem 1/li liItem 2/li liItem 3/li /ul /section OR: section h?Some Title/h? ul liItem 1/li liItem 2/li liItem 3/li /ul /section How do people feel about a definition list instead for this? dl dtSome title/dt ddItem 1/dd ddItem 2/dd ddItem 3/dd /dl Ollie -- Nooo!!! *** 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] list heading - best practice?
ul li class=title strongQuick links/strong /li li a href=noticeboard.html title=news and Notices Noticeboard /a /li li a href=site/sitemap.html title=A list of site contents, with links Sitemap /a /li li a href=site/sitepolicy.html Site policy /a /li li a href=site/links.html title=further information Useful links /a /li /ul?? Works for me!Bob- Original Message - From: David Dorward da...@dorward.me.uk To: wsg@webstandardsgroup.org Sent: Friday, March 02, 2012 5:28 PM Subject: Re: [WSG] list heading - best practice? On 2 Mar 2012, at 17:07, Hanspeter Kadel wrote: looks like back in 1984 people could use LH for the job. No, they couldn't. It was proposed for HTML 3, but that spec was ditched in favour of documenting the then current state of the browser wars. how to do it in 2012? h? before the list. -- David Dorward http://dorward.me.uk *** 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: tabs - was[WSG] Expected behaviour of links to external websites
- Original Message - From: Patrick H. Lauke re...@splintered.co.uk To: wsg@webstandardsgroup.org Sent: Friday, December 30, 2011 8:39 PM Subject: Re: tabs - was[WSG] Expected behaviour of links to external websites Again, let me turn this discussion around once more. Explain to us WHY you feel that it's important that your site open links in new tabs, [snip] Or, then again...can we just let this discussion die? P -- Patrick H. Lauke __ I believe that as the internet increasingly spreads in usage, the percentage of what might be called 'computer literate' users goes down and down. It's an inevitable fact of life. So the more varied the experience of the audience for a web site, the more the users won't know about how to navigate to their own best advantage. Given the above, whatever I do with links means that the choice is actually made by me, not the user, since the user doesn't have a choice if he thinks there is only one option. Whichever route I adopt, including doing nothing, it could be said that I am deciding for my user. So, short of designing an elaborate system . . . As to why/when : sometimes it is preferable if the link destination appears 'separately' and a classical case (already mentioned by someone) is in the use of pdf's. One site I am concerned with uses several forms and much as pdf can be a horrible medium it is the best one in the case of forms which have to maintain a rigid layout, be printed out and posted back (using stamps!) However, if I make the choice of opening a pdf in a new window/tab, I always inform the user that this will happen (as I said earlier in this discussion): CSS: a[rel=external] { padding-right: 13px; background: url(outofit.gif) no-repeat right top; } With this code: a href=../sjp.html rel=external onclick=window.open(this.href); return false; title=opens in a new windowLINK/a I'm not arrogant enough to declare for sure that this is the best practice, which is why I value the various responses. But you're probably right Patrick, we have now said enough . . . !!! :-) Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Expected behaviour of links to external websites
Brilliantly put Janice! Bob - Original Message - From: Janice Schwarz jan...@geekartist.net To: wsg@webstandardsgroup.org Sent: Thursday, December 29, 2011 8:28 PM Subject: Re: [WSG] Expected behaviour of links to external websites There are still many people that have not used the Internet. Or barely use it. Not everyone works in an office. Not everyone has been able to afford a home computer for 20 years, or 10, or even 5. Not everyone even likes to be in front of a computer. There are many who absolutely loathe using them. Everyone that uses the Internet is not you. It is not *us*. We are very different from most site visitors. They think nothing like us. I work with those people every day, in a variety of settings. I've been working in this field since '98 and I *still* meet people who are using the Internet for the very first time. My personal take is: design functionality based on your target demographic. If it's a saavy demographic, then work with that. If it's the general population, then about half of them can't use a computer, or just barely can, and work around that. Internet access and usage varies by country, province, state, economic and educational brackets, age, and so on. Every demographic will interact differently with a website. Users surprise us often in how they will approach a site. -- Janice Schwarz GeekArtist Web Solutions, LLC www.geekartist.com Phone: (214) 302-7575 Twitter: GeekArtist *** 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: tabs - was[WSG] Expected behaviour of links to external websites
I just wonder what the view of some 'anti-new windows' folk is towards using tabs? I would have thought that tabs are the new 'new windows'?? And doesn't the popularity of tabs imply that users do like to have more than one page 'on the go' instead of doing a lot of back and forwarding? I am genuinely interested in your thinking on this. Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: tabs - was[WSG] Expected behaviour of links to external websites
- Original Message - From: Rob Crowther robe...@boogdesign.com To: wsg@webstandardsgroup.org Sent: Friday, December 30, 2011 2:40 PM Subject: Re: tabs - was[WSG] Expected behaviour of links to external websites On 30/12/2011 12:32, coder wrote: I just wonder what the view of some 'anti-new windows' folk is towards using tabs? I would have thought that tabs are the new 'new windows'?? They're still *my* tabs. I'll open a new one when I want to, not when you want to. Rob You just aren't getting this, are you Rob. We're talking about what you do if you don't know there are options. Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Expected behaviour of links to external websites
- Original Message - From: Patrick H. Lauke re...@splintered.co.uk To: wsg@webstandardsgroup.org Sent: Thursday, December 29, 2011 11:54 AM Subject: Re: [WSG] Expected behaviour of links to external websites Can I just turn this around? To those on this discussion so adamant that popping up a new window is a good thing...explain WHY! Is it the age-old but if I link out of my site, users won't know how to get back to my site...I don't want to lose visitors stance? P -- Patrick H. Lauke Patrick: I don't say having windows all over the place is something great per se, but I do say that for most applications on a PC it is a emvery/em tidy and very convenient way of handling masses of data which is related (like my analogy of a web page in Dreamweaver or similar - I have my markup in one window, my CSS in another, my file list in another frame and my output in a browser etc etc etc.) Similarly, with mail, I sometimes want to compare different mails so I need two (or more)open in their own windows, whilst my 'list' of mails is displayed in another frame as indeed are my contacts. And so it goes on. So, to move to your specific point, it is needed sometimes to have a separate window - as a pdf, for example. In these cases, the less PC literate amongst us (who outnumber the literate by a great deal) have to be catered for - I do this by making sure that if a new window is needed, they know this because it tells them before they click. We on this list are all clever little boys and girls who know about right-clicking to select a new window or not, and indeed we probably all use tabs anyway. I repeat that most people don't know any of this. Most people don't even know what a back button is! Someone recently asked me a question as they were having a problem. As I wasn't in front of her screen I asked her what her browser was. I had an awful job getting her to understand what I was asking, but eventually she explained : I use my e. This was subsequently clarified by the explanation that she meant the small blue thing at the bottom of the screen. Let me add that this lady sits in front of her PC, at work, using the internet 5 days a week, all day, and has done for 10 years that I know of. Do you think she knows about the back-button? right-click? tabs? Come on!!! :-) Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Expected behaviour of links to external websites
What fascinates me (still) is that a PC (laptop, whatever) works by displaying many windows. Hell fire, the OS is called 'windows' . . . (unless you are a fruit fan). All the common programs employ 'several' windows to make their functionality easier to handle (just look at Dreamweaver or any other web design program of that ilk!) So, why do some folk think that's OK, but if you are using a browser it's awful? Are these folk still using DOS with one screen at a time? Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Expected behaviour of links to external websites
SO you mean that mr Dreamweaver programmer, or Mr outlook, etc etc . . . shouldn't do it either? Bob :-) - Original Message - From: Benjamin Hawkes-Lewis bhawkesle...@googlemail.com To: wsg@webstandardsgroup.org Sent: Wednesday, December 28, 2011 11:17 AM Subject: Re: [WSG] Expected behaviour of links to external websites On Wed, Dec 28, 2011 at 9:39 AM, coder co...@gwelanmor-internet.co.uk wrote: What fascinates me (still) is that a PC (laptop, whatever) works by displaying many windows. Hell fire, the OS is called 'windows' . . . (unless you are a fruit fan). All the common programs employ 'several' windows to make their functionality easier to handle (just look at Dreamweaver or any other web design program of that ilk!) So, why do some folk think that's OK, but if you are using a browser it's awful? Strawman. Being able to open multiple browser windows is great! Having Joe Random Site Author decide when that should happen is not. -- Benjamin Hawkes-Lewis *** 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] Expected behaviour of links to external websites
In one sense, this argument is fallacious, because whatever the web designer does decides what happens when a user just 'clicks a link'. In my experience, most folk 'out there' don't know about right clicking. To say 'it is the user's choice' is mainly untrue, because he/she doesn't know they've got a choice, and what happens depends upon what the designer has coded. Bob - Original Message - From: Rob Crowther robe...@boogdesign.com To: wsg@webstandardsgroup.org Sent: Wednesday, December 21, 2011 11:11 AM Subject: Re: [WSG] Expected behaviour of links to external websites On 20/12/2011 23:44, Chris Price wrote: One advantage I can see in opening a new window (on a larger screen at least) is you can dismiss the page by closing that window rather than feeling you are being taken somewhere you don't want to go. Is this context sensitive? Yes it is context sensitive, and the context which is important is the user's. Since the designer can't know in what context (or for what reason) the user is clicking on any given link it is the user who should be deciding whether to open the link in a new window or not. 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] Expected behaviour of links to external websites
I have used this CSS : a[rel=external] { padding-right: 13px; background: url(outofit.gif) no-repeat right top; } With this code: a href=../sjp.html rel=external onclick=window.open(this.href); return false;THIS/a is a link to a new window or, for html5: a href=../sjp.html rel=external target-_blankTHIS/a is a link to a new window I have also used a variant for pdf, and one for mail links too. No-one has complained (Though Felix might, now . . .) Bob - Original Message - From: David Hucklesby huckle...@gmail.com To: wsg@webstandardsgroup.org Sent: Wednesday, December 21, 2011 5:14 PM Subject: Re: [WSG] Expected behaviour of links to external websites Excellent points. If your reason for wanting to open a new window or tab is to be helpful, I suggest telling your visitors about the right-click option right there on your web page. If a link does open a new window, say so. A case could be made for opening PDFs in a new window. But this always breaks the back button, and I doubt there are many who don't know about that browser feature. :) -- Cordially, David *** 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] What's wrong with this page??
Michael Kear wrote: Ive looked and Ive looked, and I cant see whats the matter here.. When this page loads in IE, the body content of the page doesnt appear. However when you put another window over the top and come back to it, there the content is. Its loading ok, as a vew source will testify, but it doesnt display. Can anyone see whats wrong? The page validates as xhtml1.0 strict and the CSS validates too. Ive tinkered around with the divs and nothing seems to fix the problem. I suspect its another one of those stupid little things that stares me in the face but I just cant see it. Anyone? The page is at http://mezzanines.com.au/aboutus.htm Cheers Mike Kear AFP Webworks Windsor, NSW, Australia http://afpwebworks.com hi michael just want to confirm that i'm getting the same problem with your page. IE6, WinXP SP1 justin * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *