Re: [WSG] pdf graphics
Or you could open PDF files in Adobe Photoshop. The quality should be the same. Dmitry jackie reid wrote: Bruce If you own a copy of Adobe Acrobat and open the file in there you can extract/export images as jpgs. if not do screen shots. Its a pain... just like getting all the images required for a website embedded in a word doc aagh jackie - Original Message - From: Bruce [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Friday, January 13, 2006 8:15 PM Subject: [WSG] pdf graphics Hi all, I was pleased recently to get a rather large project. It was also nice that they were sending the graphics for the site design. Today I got them, in pdf format! Now, perhaps I live on another planet, or a rank amature, but in the last ten years online I have known no-one who uses pdf for graphics. I have no clue what to do with them, especially after client stating the time he put into making them. I wish all pdf files would get lost, feel they have no place on the web. I really hope that standards aren't moving in this direction!!! What do you do in a situation like this? I need them for the design, menu items and backgrounds... Bruce Prochnau BKDesign ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** __ NOD32 1.1365 (20060114) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS or JavaScript flyout menu
Hi Taco,If you will do everything in _javascript_, then your menu will lost its semantic. Take a look how it is done on http://www.optuszoo.com.auThere is _javascript_ for delay, CSS for drop-downs and ulli for semantic. best regards,Dmitry
Re: [WSG] Show Hide by Class
Hi Stuart, I think it would be much easier if your JavaScript will change only id of the categories container. Example: CSS: .topiclist { some rules } #toggled .topiclist { display: none; } HTML: div id=forToggle div class=categorya class=activate href=# onclick=return toggleIt()/a/div div class=topiclist!-- Show Hide This -- div class=topic/div div class=topic/div /div ... /div and JavaScript: function toggleIt() { var Div = document.getElementById(forToggle); if (Div) { Div.id = toggled; } else { var Div = document.getElementById(toggled); if (Div) Div.id = forToggle; } return false; } This is much shorter and should work everywhere, where CSS is supported. Best regards, Dmitry Stuart Sherwood wrote: Hi All. I hope someone can help me with my problem but it isn't exactly on topic so replies off list are encouraged. The markup below is far from semantic but necessary for floating elements and alignment. It will come out of a publishing system and may repeat any number of times. For each category, the list of topics must be hidden until clicked. div class=categorya class=activate/a/div !-- Toggle Show Hide for this category -- div class=topiclist!-- Show Hide This -- div class=topic/div div class=topic/div /div div class=categorya class=activate/a/div !-- Toggle Show Hide for this category -- div class=topiclist!-- Show Hide This -- div class=topic/div div class=topic/div /div div class=categorya class=activate/a/div !-- Toggle Show Hide for this category -- div class=topiclist!-- Show Hide This -- div class=topic/div div class=topic/div /div I have this code from the following thread: http://www.webmasterworld.com/forum91/1729.htm !-- //Create an array var allPageTags = new Array(); function doSomethingWithClasses(topiclist) { //Populate the array with all the page tags var allPageTags=document.getElementsByTagName(*); //Cycle through the tags using a for loop for (i=0; iallPageTags.length; i++) { //Pick out the tags with our class name if (allPageTags[i].className==topiclist) { //Manipulate this in whatever way you want allPageTags[i].style.display='none'; } } } -- But there are problems with above javascript that I don't understand 1. The loop counter, i, should be a local var (a little more efficient). 2. Some versions of IE5 accept getElementsByTagName but return null when given the '*' argument. A quick check - and switch to the all collection if needed would make it disaster proof. Suggestions Is it possible to pick out all elements with class=activate and then make the function apply to the instance of class=topiclist that immediatly follows it? ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] FOUC Safari 2.0
Lea de Groot wrote: On Wed, 15 Jun 2005 19:23:12 -0700, Chris Kennon wrote: Has anyone any idea if the FOUC in Safari 2.0 is remedied with similar methods to IE? You see it too? I thought it was an oddity of my setup! No, I haven't found a way to get rid of it :( Lea Sorry, what is FOUC? ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] valid javascript code
Bruce Gilbert wrote: Hello, I just tried to validate a page against an XHTML strict DTD with javascript code and received these errors: there is no attribute language required attribute type not specified I am calling the JS code externally and thought it was correct. the syntax in question is: script language=javascript src=/javascript/rollover.js/script what am I doing wrong?? TIA Well, right code is: script type=text/javascript src=/javascript/rollover.js/script And yes, there is no attribute language and script required attribute type. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Character encoding
Vaska.WSG wrote: For some reason, I feel I have to escape every character that is not a letter or number. I was feeling the same, and working on it, when this thread arrived. At the time it appeared I was looking up numeric entity lists in Cyrillic and adapting them to a conversion_map function (for PHP). I was arriving at the conclusion that it was completely crazy to go this route...because Chinese was on the horizon. Thanks...v I think it could be done easily. That what I am trying to do in my tiny typograph (http://siter.com.au/dmitry/typo) ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] why doesn't this validate with w3c.org and what to do about it
Bruce Gilbert wrote: I have some comments within my CSS to let me or anyone else know what is controlling what eg: /*aligns list in middle of page*/ p.middle{test-align:center} validation doesn't like this.is there a fix? or should I just ignore??? TIA May be it should be "text-align" instead of "test-align"?
Re: [WSG] apostrophes, and the like.
I have written my little typograph in JavaScript. It is not tested enough, but it can do all this things plus add nbsp after short words (like a, an, the, on, of, etc). http://siter.com.au/dmitry/typo/ Hope it will help someone ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Web calendar
Hi, You could check my version also. It is JavaScript based calendar with heaps of options. Fully CSS supported. Could be inline or pop-up. http://siter.com.au/dmitry/cal.html -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] a required field marker in forms
Hi Peter, I am not shure about asteri, but I think it is not very usable that if I click on the text near checkbox, checkbox doesn't change its state. On 4/22/05, Peter Ottery [EMAIL PROTECTED] wrote: I've set up a base standard form layout to use as a starting point for projects requiring a form - with text input boxes, check box's, radio buttons, a select menu, and a text area that could all be swapped in or out or duplicated relatively easily. here's the page: http://skunkworks.farcrycms.com/wsg/forms.html 2 questions, 1) I'm curious if the use of an asterix to indicate a required field, and the way I've done it, is ok accessibility-wise or if theres anything else i could/should do...? 2) theres also an error message placement that would flick on if you've missed a required field: http://skunkworks.farcrycms.com/wsg/forms_error.html the error message seems to be displaying fine across a wide range of browsers (courtesy of browsercam: http://www.browsercam.com/public.aspx?proj_id=157477) except good ol mac ie5. if anyone can see an easy fix for mac ie5 that'd be most welcome. cheers, pete ~~ Peter Ottery ~ Senior Designer Daemon Pty Ltd 17 Roslyn Gardens Elizabeth Bay NSW 2011 www.daemon.com.au ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] safari list question
Is it possible to create effect of clickable checkbox title in Safari? Looking at Peret's example I find out that labels behaviour is different in Safari. On 4/22/05, Drake, Ted C. [EMAIL PROTECTED] wrote: Is there a filter for Safari? I'd like to define no-repeat for the rest of the browsers and hide it from safari. Thanks Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Wittenbergh Sent: Wednesday, April 20, 2005 8:26 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] safari list question On 21 Apr 2005, at 12:58 am, Drake, Ted C. wrote: However, in Safari, the bullet is appearing, as it should, on a list and then immediately above bullet is a half bullet. This is really odd. It is repeating the background image. Here's the style: ul li {list-style-type:none; background: url(bg-bullets.png) no-repeat 0 5px; padding-left:12px;} Safari has problems with background-repeat:no-repeat. A problem that is *not* fixed in the latest release (1.3) and will probably be there in the 2.0 version of OX X Tiger (10.4). A similar problem is seen here (hover should move the image). http://dev.l-c-n.com/safari/background-hover.php The problem is *less* pronounced if you move the image horizontally. A solution is to space out the fragments of your sprite more, or put them in an horizontal row. Philippe ---/--- Philippe Wittenbergh now live : http://emps.l-c-n.com/ code | design | web projects : http://www.l-c-n.com/ IE5 Mac bugs and oddities : http://www.l-c-n.com/IE5tests/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Accessible dropdown menus
Hi, I am not shure is my menu realisation fit to your requierments, but you could take a look: http://siter.com.au/dmitry/dyn-3-menu/index.html On 4/14/05, Roger Johansson [EMAIL PROTECTED] wrote: Hi all, I have a client that insists on having a dropdown menu. I have tried talking them out of it, but no. So I have to implement one of the web gadgets that I detest most of all. Fortunately only a basic single level vertical dropdown is needed. I've looked at some techniques but haven't found one that I'm completely happy with. Here are the requirements: * Semantic markup (i.e. nested unordered lists) * Graceful degradation when support for CSS and/or JavaScript is missing * Keyboard navigable, preferrably with optionally expandable menus. * Top level menu items should be real links * Menus drop down on hover (obviously) Some of the techniques I've looked at: Suckerfish http://www.htmldog.com/articles/suckerfish/dropdowns/ Neat, but not keyboard friendly Ultimate Drop Down Menu http://www.brothercake.com/dropdown/ Fully featured, but s-l-o-w. Overkill for this simple menu. YADM http://www.onlinetools.org/tools/yadm/ Close, but when tabbing through the menu the currently focused link can't be seen unless you first expand the menu. Easymenu http://www.easymenu.co.uk/ Also close, but menus are expanded automatically, forcing keyboard users to tab through all links. Neither of these techniques seem to get it all right. At least as far as I can tell. So, have any of you implemented a horizontal, single level dropdown menu that you are completely happy with when it comes to accessibility? /Roger -- http://www.456bereastreet.com/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] JavaScript and escaped quotes
You have 3 options: 1. use rsquo; instead of apos; 2. call you function as myfunction('Don\'t Look Now') 3. myfunction(unescape('Don%27t Look Now')) On 4/14/05, John Horner [EMAIL PROTECTED] wrote: [Maybe a little off-topic but I thought you'd be likely to know] I have page titles which sometimes require single quotes, i.e. Don't Look Now The titles also need to appear in a javascript onClick function like this: a href=foo.htm onclick=myfunction('Don't Look Now') as you can guess, that breaks the JavaScript because of the quote in Don't so I escaped the quotes and now I have this: myfunction('Donapos;t Look Now') but it still breaks in FireFox, and the JavaScript console comes up with an error which points to the apos; as if it were a quote: Error: missing ) after argument list myfunction('Don't Look Now') ^ anyone got an explanation? Am I missing something obvious? It's the same if I use #39; instead. Have You Validated Your Code? John Horner(+612 / 02) 9333 3488 Senior Developer, ABC Online http://www.abc.net.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] JavaScript and escaped quotes
but this text is coming out of a CMS, and the same string needs to be used both on the page and in the JavaScript. In this case put body of the function into inline script block - not a attribute value and use double quotes. Or another super hack is to put this text into hidden span under the A tag like a href=foo.htm onclick=myfunction(this.getElementsByTagName('SPAN')[0].innerHTML)span class=hiddenDon't Look Now/spanlink text/a -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] more on flashish stuff: SVG
I have developed some projects on SVG (http://siter.com.au/dmitry/Pie/pie.html , http://siter.com.au/dmitry/Composer/Composer.html , http://siter.com.au/dmitry/MaxControl/index.html , etc.) It is very powerfull thing, but there are few companies that interested in SVG development. Flash rules, dispite that SVG is standard. On Apr 12, 2005 6:52 AM, Jan Brasna [EMAIL PROTECTED] wrote: as far as I know, mozzilla is the only browser to have any built-in support Opera 8 will have it too. Has anyone here actually done any development with SVG? Development not, design yes. (It's quite good vector format, AFAIK Quartz and latest KDE use it.) -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] more on flashish stuff: SVG
Well, yes, I used embed, but it was done 2 years ago, so may be it doesn't work in Opera now. But it definitely works in IE after Adobe plug-in installation. On Apr 12, 2005 9:33 AM, Kornel Lesinski [EMAIL PROTECTED] wrote: On Tue, 12 Apr 2005 00:02:52 +0100, Dmitry Baranovskiy [EMAIL PROTECTED] wrote: I have developed some projects on SVG (http://siter.com.au/dmitry/Pie/pie.html , http://siter.com.au/dmitry/Composer/Composer.html , http://siter.com.au/dmitry/MaxControl/index.html , etc.) It is very powerfull thing, but there are few companies that interested in SVG development. Flash rules, dispite that SVG is standard. I'm using Opera 8b3, which has SVG1.1 Tiny support built-in, but on your site I only see empty boxes marked Plug-in content. That might be because you're using embed instead of object and serve .svg as text/plain, not image/svg+xml... or maybe Opera's SVG support isn't mature enough yet... -- regards, Kornel Lesiski ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] ID conflicts
Hi Tee, ID should be unique. That's it. Change IDs to be diferent or use classes instead On Apr 5, 2005 12:37 PM, tee [EMAIL PROTECTED] wrote: Hi, I have a menu in my site that I use class ID for each link with different menu button. It was validated until I added body#ID for persistent page indicator. Before persisten page indicator: .lia href=index.htm id=home title=home accesskey=1 /a/li After page indicator: .li id=homea href=index.htm id=home title=home accesskey=1 /a/li If I remove the ID in the a href, my button disappears. Now my page no longer validated. http://www.lotusseeds.com/simplified.html http://validator.w3.org/check?uri=http://www.lotusseeds.com/simplified.html How can I solve this? Thanks! tee ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Browser support for javascript CDATA regions
No worries, just put some extra symbols there: script type=text/javascript !--//![CDATA[ ... //]]-- On Fri, 18 Mar 2005 15:47:11 +1300, Sigurd Magnusson [EMAIL PROTECTED] wrote: Untitled DocumentI am wanting to get some inline javascript to validate to xhtml1.1, which can be done via cdata regions. What's browser support for these like? Is this another area of brainnumbing hacks and problems? Siggy script type=text/javascript ![CDATA[Lots of juicy symbols.]]/script ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Cool css box idea
Yeah, round corners is something. I did it this way (http://siter.com.au/dmitry) -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] quot; or in copy?
Actually is an inch symbol. For quotes we should use #147; and #148; in normal text. -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] IE fixed: PNG transparency working like Firefox???
There is no need to use JavaScript for PNG in IE. I am using empty GIF and CSS like this: #CaptionImage img { background: url(i/title.png); background: expression('none'); filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/title.png', sizingMethod='crop'); height: 115px; width: 400px; } It works everywhere. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **