Re: [WSG] Semantic syntax highlighting of PHP-code

2006-09-26 Thread Keryx webb
Niels Fröhling wrote: This should help: http://pear.php.net/package/Text_Highlighter And Jan Brasna also chipped in with a couple of PHP-packages. I am thankful for any tip, but my question was not about how I should go about implementing the highlighting in PHP. My question is what would

Re: [WSG] Semantic syntax highlighting of PHP-code

2006-09-26 Thread Jan Brasna
See the output of the classes. I kind of like the classnames like .php-var .html-tag .html-quote .html-entity .css-class .css-id .java-comment .java-preproc .js-out .js-num .sql-option etc. ... However I don't have a particular opinion on the possible improvement of the whole concept. --

Re: [WSG] Disappearing LI

2006-09-26 Thread John Faulds
Try removing the width from #cleaning-categories li p a. On Tue, 26 Sep 2006 18:39:58 +1000, Taco Fleur [EMAIL PROTECTED] wrote: Hi all, I have a page (valid HTML) http://www.redlandscleaningsolutions.com.au/cleaning-product-categories.cfm when moving the mouse over the li the numbers

Re: [WSG] Image replacement menu that works with images off

2006-09-26 Thread Christian Montoya
On 9/26/06, Kim Kruse [EMAIL PROTECTED] wrote: Hi, I'm looking for a good solid img replacement menu that works well with images off. Suggestions welcome. Thanks Kim For want of more information, I'll give you the best answer I can: img src=menu_item_1.png alt=Item description for images

Re: [WSG] Image replacement menu that works with images off

2006-09-26 Thread Mike at Green-Beast.com
Kim Kruse wrote: I'm looking for a good solid img replacement menu that works well with images off. Hello Kim, You might want to check out this technique [1]. It gives a masthead-type image as an example, but it could be easily adapted to a menu. I've just recently started playing around

[WSG] Image replacement menu that works with images off

2006-09-26 Thread Kim Kruse
Hi, I'm looking for a good solid img replacement menu that works well with images off. Suggestions welcome. Thanks Kim *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe:

RE: [WSG] Validates only EN?

2006-09-26 Thread michael.brockington
I don't think that there is anything wrong in what you are suggesting here. Apart from the fact that no normal browser is going to do anything with your modified DTD. Some browsers will behave differently depending on what DTD you specify, but I do not know of any that actually bother to

[WSG] Disappearing LI

2006-09-26 Thread Taco Fleur
Title: Website design - Pacific Fox Hi all, I have a page (valid HTML) http://www.redlandscleaningsolutions.com.au/cleaning-product-categories.cfm when moving the mouse over the li the numbers disappear, would anyone know what causes that? Thanks in advance. Kind regards,Taco Fleur

[WSG] OnClick - not valid

2006-09-26 Thread John 'Max' Maxwell
Hi All, just working on a design - finishing up and going through validation etc - see: http://82.110.105.29/crownstorage.com/professional-services.htm on the right there are some expandable titles using javascript. The page is valid CSS and WAI but the 'OnClick' command fails to validate

Re: [WSG] OnClick - not valid

2006-09-26 Thread David Dorward
On Tue, Sep 26, 2006 at 05:18:13PM +0100, John 'Max' Maxwell wrote: the 'OnClick' command fails to validate as XHTML - is there another way? XHTML has a lot of gotchas, and using it probably won't give you any advantages over HTML, while running the risk of causing you problems in places you

Re: [WSG] OnClick - not valid

2006-09-26 Thread RobS
Hi, John 'Max' Maxwell wrote on 26-09-2006: on the right there are some expandable titles using javascript. The page is valid CSS and WAI but the 'OnClick' command fails to validate as XHTML - is there another way? 'onclick' I believe... i.e. all lowercase. Best regards Rob

Re: [WSG] OnClick - not valid

2006-09-26 Thread Roberto Gorjão
Olá Max, You have two different alternatives: 1- to use onclick instead of OnClick 2- to separate behaviour and structure, which is probably preferable. Try googling on this or this article from PPK: http://www.digital-web.com/articles/separating_behavior_and_structure_2/ HTH... Roberto

Re: [WSG] OnClick - not valid

2006-09-26 Thread Kim Kruse
Use onclick instead... lowercase for xhtml :) Kim John 'Max' Maxwell skrev: Hi All, just working on a design - finishing up and going through validation etc - see: http://82.110.105.29/crownstorage.com/professional-services.htm on the right there are some expandable titles using

RE: [WSG] OnClick - not valid

2006-09-26 Thread Kepler Gelotte
http://82.110.105.29/crownstorage.com/professional-services.htm on the right there are some expandable titles using javascript. The page is valid CSS and WAI but the 'OnClick' command fails to validate as XHTML - is there another way? Welcome back from Portugal Max. I checked the HTML

Re: [WSG] Validates only EN?

2006-09-26 Thread Niels Fröhling
I note that you did mention an SGML parser in your message - was that relevant? (IE, Firefox, Safari are not SGML parsers.) Hmm, it was only meant as hint, that HTML was born out of SGML, and there is a plenty of (completely useless and missleading) conventions and definitions from

Re: [WSG] Validates only EN?

2006-09-26 Thread Niels Fröhling
Please name me a reason why that is invalid! OK, this falls under the heading of SGML stuff that doesn't matter unless you start playing with non-standard code, and I don't mess with that sort of thing, but I think: If you serve it with an XML content-type, it should AFAIK, be fine. If

Re: [WSG] Validates only EN?

2006-09-26 Thread Jan Brasna
But anyway, all of this is very constructed, I only wanted to show that in my opinion an official DTD declared to be spanish doesn't make the doctype or DTD-definition invalid, and also by no means should confuse a browser or validator. You can file a validator bug then, maybe? -- Jan Brasna

Re: [WSG] Semantic syntax highlighting of PHP-code

2006-09-26 Thread Niels Fröhling
I am thankful for any tip, but my question was not about how I should go about implementing the highlighting in PHP. My question is what would be the best possible markup in the result, semantically speaking. ... The makers of HTML did some groundwork. They gave us the tags var, code,

Re: [WSG] Image replacement menu that works with images off

2006-09-26 Thread Kim Kruse
Hi, Maybe I should extend my question a bit. Here on this page http://geekministry.com/yeah/index.php I'm currently using Dan Cederholm/Pixi's solution http://www.simplebits.com/notebook/2003/09/30/accessible_imagetab_rollovers.html which works very well with images on. The obvious problem

Re: [WSG] Image replacement menu that works with images off

2006-09-26 Thread Mike at Green-Beast.com
John Faulds wrote: It should be pointed out that this method has problems when you resize the text (unless you've since found a way to fix that Mike). I did, John, as seen on the site I just used it on: http://myrnamunroe.org/. Basically what I did is 1) allowed lots of room for growth and 2)

Re: [WSG] Image replacement menu that works with images off

2006-09-26 Thread John Faulds
Maybe I'm missing something but you've got an image in your HTML. That's not really an image replacement method in that case. On Wed, 27 Sep 2006 08:17:03 +1000, Mike at Green-Beast.com [EMAIL PROTECTED] wrote: John Faulds wrote: It should be pointed out that this method has problems

Re: [WSG] Image replacement menu that works with images off

2006-09-26 Thread John Faulds
I wrote an article about styling a horizontal nav with the IR technique I mentioned previously: http://www.tyssendesign.com.au/articles/css/single-image-replacement-rollovers-with-suckerfish-dropdowns/ It also includes a bit on how to combine it with Suckerfish Dropdowns, but the first part

Re: [WSG] OnClick - not valid

2006-09-26 Thread Micky Mourelo
Whether it validates or not, you should not hardcode events on the HTML. Try this: element.onclick = function() { // thing to be done on the click } Set this on the onload event. If you want to add various things on

[WSG] The usability of a frame-style layout

2006-09-26 Thread Andreas Boehmer [Addictive Media]
There was a time when lots of websites utilised frames, to provide the advantage of a static menu that is always available on the screen, no matter what area of the page the user looks at. I am sure we covered the topic enough to agree that frames are not the way to go, as they carry

Re: [WSG] The usability of a frame-style layout

2006-09-26 Thread Christian Montoya
On 9/26/06, Andreas Boehmer [Addictive Media] [EMAIL PROTECTED] wrote: ... However, with css we now have the ability to imitate frames in an accessible and search-engine friendly way for browsers that support it. So the question comes back to usability (and maybe aesthetics): wouldn't it be more

RE: [WSG] The usability of a frame-style layout

2006-09-26 Thread Andreas Boehmer [Addictive Media]
-Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Richardson Sent: Wednesday, 27 September 2006 9:40 AM To: wsg@webstandardsgroup.org Subject: RE: [WSG] The usability of a frame-style layout There is nothing to stop you from

RE: [WSG] The usability of a frame-style layout

2006-09-26 Thread Andreas Boehmer [Addictive Media]
-Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Christian Montoya Sent: Wednesday, 27 September 2006 9:43 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] The usability of a frame-style layout On 9/26/06, Andreas Boehmer [Addictive

Re: [WSG] Image replacement menu that works with images off

2006-09-26 Thread John Faulds
Hi Mike, Sorry, I've had a closer look now and see how you've done it. My only problem with that method would be that you've needed to apply overflow: hidden to a block level element above the block level element that holds the anchor and span. This is probably OK for something like a

RE: [WSG] The usability of a frame-style layout

2006-09-26 Thread Samuel Richardson
Well if your concern is always having the menu on the screen for the user to find then just use JavaScript to position it according to the view-port. If the user has JavaScript turned off then it will always appear at the top and not move. The user has a number of ways of navigating back to the

Re: [WSG] The usability of a frame-style layout

2006-09-26 Thread Michael Yeaney
... The benefit from frames didn't come from the fact that the menu was in the same place on every page, the benefit was that there was less content to load as the navigation page never had to be reloaded. In the age of ADSL and Cable this is somewhat redundant. ... Don't know about anyone

RE: [WSG] The usability of a frame-style layout

2006-09-26 Thread Geoff Pack
I agree with your sentiments, but frames are not needed anymore - all recent browsers will allow you to add the nav content via the object tag. E.g. object id=nav data=nav.html type=text/htmlFallback navigation here.../object Combine with 'position:fixed' ('position:absolute' for IE) on the

RE: [WSG] The usability of a frame-style layout

2006-09-26 Thread Kepler Gelotte
I agree with your sentiments, but frames are not needed anymore - all recent browsers will allow you to add the nav content via the object tag. E.g. object id=nav data=nav.html type=text/htmlFallback navigation here.../object Combine with 'position:fixed' ('position:absolute' for IE) on