[WSG] Javascript help with Reg Exp required please
Good day all, Does anyone already get the following issue ? var str = "The Foo fooSz Fighers"; var rule = /foo\s/i; console.log(str.match(rule)); // returns Foo var str2 = "The Foo fooSz Fighers"; var txt = "foo"; var rule2 = eval('/' + txt + '\s/i'); console.log(str2.match(rule2)); // returns fooSz or did I miss something ? Thanks, Peter ------- Pierre-Henri Lavigne aka Åkeson Chihiro Frontend Developer, Fink Member http://my.opera.com/Akeson_Chihiro/ Découvrez les styles qui font sensation sur Yahoo! Québec Avatars. http://cf.avatars.yahoo.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] Understanding Apache Logs
Good day all, Do you know an online resource please where i can get informations to understand in a better way apache logs ? I've just read this odd stuff for example : 80.118.33.228 - - [28/Aug/2007:10:37:25 +0200] "GET /img/bg_body.gif HTTP/1.1" 404 14360 "-" "Mozilla/4.5 [fr]C-CCK-MCD (WinNT; I)" 80.118.33.228 - - [28/Aug/2007:10:37:26 +0200] "GET /img/bg_containerOuter.gif HTTP/1.1" 404 14360 "-" "Mozilla/4.5 [fr]C-CCK-MCD (WinNT; I) In the css : body { background:#fff url(../img/bg_body.gif) repeat-x top left; font-family:Arial, Helvetica, sans-serif; font-size:71%; color:#66; } #containerOuter { background:url(../img/bg_containerOuter.gif) no-repeat top center; min-height:684px; height:auto !important; height:684px; } I suppose it's an error with browsers that misunderstood the added by Typo3 ? Solution is using as usual absolute url in css file I suppose. About my previous post with select in IE 6, no solutions, and my try with line-height doesn't change anything. Regards, Pierre-Henri Faites des appels de PC à PC dans le monde entier ! Essayez le nouveau Yahoo! Québec Messenger avec Voix. http://cf.messenger.yahoo.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE : Re: [WSG] Height for the select markup in Internet Explorer
Yes exacly, I'm trying to avoid a higher select size while the option value are in upper case letters. While googling again, doesn't seem possible as Dusan told. Like similar issues with Mac OS browsers. Anyway I may try with line-height --- Stuart Foulstone <[EMAIL PROTECTED]> a écrit : > Do you mean something like: > > > .selectlist { > color: #00; > font: 1.1em bold Verdana, Arial, Helvetica, > sans-serif; > background-color: #cc; > } > > with, > > ... > > where changing the font-height also changes the > height of the select menu > dropdown box? > > > -- > Stuart Foulstone. > http://www.bigeasyweb.co.uk > BigEasy Web Design > 69 Flockton Court > Rockingham Street > Sheffield > S1 4EB > > Tel. 07751 413451 > > On Sat, August 25, 2007 11:49 pm, Pierre-Henri > Lavigne wrote: > > > > Good day, > > > > Does someone know a solution or a tip to set a > height for the select tag > > in form, especially with Internet Explorer ? I've > just got the case with a > > design that set an input and a select in the same > line, and the select has > > every option in upper case letters. > > > > Thanks for your feedack, > > > > Regards, > > > > Peter > > > > > > > > Faites des appels de PC à PC dans le monde > entier ! Essayez le > > nouveau Yahoo! Québec Messenger avec Voix. > > http://cf.messenger.yahoo.com/ > > > > > > > *** > > 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] > *** > > Faites des appels de PC à PC dans le monde entier ! Essayez le nouveau Yahoo! Québec Messenger avec Voix. http://cf.messenger.yahoo.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] Height for the select markup in Internet Explorer
Good day, Does someone know a solution or a tip to set a height for the select tag in form, especially with Internet Explorer ? I've just got the case with a design that set an input and a select in the same line, and the select has every option in upper case letters. Thanks for your feedack, Regards, Peter Faites des appels de PC à PC dans le monde entier ! Essayez le nouveau Yahoo! Québec Messenger avec Voix. http://cf.messenger.yahoo.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re : [WSG] Background images not changing
Hi, If you floated your list items, try to add a clearfix class on the mainImage for example instead of using a padding-top. Regards to your code, I guess you can probably debug while googling about background position in IE 6. Regards, Åkeson Chihiro Some exist through what they do... We exist through what we are - Message initial De : Martyn Clark <[EMAIL PROTECTED]> À : wsg@webstandardsgroup.org Envoyé le : jeudi 2 août 2007, 12 h 57 min 08 s Objet : [WSG] Background images not changing Hi all, This is my first post here, although I have been reading the post's for quite a while and find them very helpful. I have a problem with IE 6 not applying the new background image to pages, basically I have a different main picture for every category in the tabbed navigation, only in IE 6 the first three will work ok and the picture changes as expected, but the last three do not change and it displays the same picture for all these pages, which is the home page picture here is the code I have: Contact Us About us Useful Links Relocation Services Moving Services Home Where the class rule is changed to reflect the page category. Css is: div#wrapper div#mainImage { background: url(../images/header_home.jpg) no-repeat 100% 0%; padding-top: 15em; } div#wrapper div#mainImage.movingServices { background: url(../images/header_moving_services.jpg) no-repeat 100% 0%; } div#wrapper div#mainImage.relocationServices { background: url(../images/header_relocation.jpg) no-repeat 100% 0%; } div#wrapper div#mainImage.tracking { background: url(../images/header_tracking.jpg) no-repeat 100% 0%; } div#wrapper div#mainImage.aboutUs { background: url(../images/header_about_us.jpg) no-repeat 100% 0%; } div#wrapper div#mainImage.usefulLinks { background: url(../images/header_useful_links.jpg) no-repeat 100% 0%; } div#wrapper div#mainImage.contactUs { background: url(../images/header_contact_us.jpg) no-repeat 100% 0%; } This works in all other browsers fine just not IE 6, any help and advise on this would be appreciated. Thank's Chainy.. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Découvrez ce qui fait jaser les gens ! Visitez les groupes de l'heure sur Yahoo! Québec Groupes. http://cf.groups.yahoo.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re : [WSG] Safari now on Windows
The staff members of your enterprise in charge of selling services / web sites can use the following text as an argument to not support IE Mac: http://www.microsoft.com/mac/products/internetexplorer/internetexplorer.aspx?pid=internetexplorer You can easily hide css by using the @import url('single_quote_hack.css'); About OS 9 users, from some tests I did at work, Mozilla has a better rendering than IE 5 Mac. (Not objective tests) Due to lack of interests, mozilla stopped it at the version 1.2. I guess you can easily find it thanks to google - keyword : mozilla-macos9-1.2.1-stub.bin . It has been removed from the official archives on mozilla.org since they recommend iCab : http://www.mozilla.org/download.html#os9 Regards, Åkeson Chihiro Some exist through what they do... We exist through what we are Tel: +33 (0)6.18.75.32.67 - Message initial De : Michael MD <[EMAIL PROTECTED]> À : wsg@webstandardsgroup.org Envoyé le : mardi 12 juin 2007, 04 h 21 min 05 s Objet : Re: [WSG] Safari now on Windows >I recommend it to all those developers that are stuck in a Windows >environment - I have already fixed a few bugs I would have had to use my >bosses Mac to >find! >My only concern is that at the moment, I can get away with "It might not >look 100% in Safari, but it still works..." With Safari on Iphone, >something which is >almost guaranteed to be a raging success, I'm pretty >sure I wont be able to use that defense forever. I bought a second-hand Mac G4 from a friend last year so I could test with Mac browsers. On most things I checked I did not see much difference in the rendering of pages in Safari compared to Firefox... I normally have much more trouble with IE. iPhone might be a different thing altogether .. just because a page renders nicely in Safari on a desktop machine doesn't necessarely mean it is going to be very usable on a tiny screen! (I haven't yet seen an iPhone but I assume the screen would be small like a mobile phone screen...?) Speaking of Mac browsers - a friend called me on the weekend and said he can't find anything newer than IE5 for OS9 but won't upgrade to OSX because it would be way too slow on his G3. (and he doesn't have the money to buy a new machine) now that is something to think about! Combattez les méchants pourriels... Le filtre SpamGuard vous aide à lutter efficacement contre les pourriels sur le Tout-nouveau Yahoo! Courriel http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=cf *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] Caching / preloading images
Good day all, I am seeking informations about rendering a fluid site visit, I mean avoiding the most possible "waiting time / loading animation". For an online shop which will contain 4 "modules" on the same page : * Long list menu with a window decorate image for every text link rollover * manual carousel for the products , 3 products shown, one highlighted * customizable items per product * real-time preview with a zoom tool At this step to resume about what I know with the basic analysis / technical specification : * Everything on the client side (Green card for full Ajaxx, no alternative without javascript) * The menu itself should be available as the document is ready. So I am considering to preload the 50 hundred images maybe more * About the other, I am considering to first launch the current product and the items available for it only. Add a visual effect per images or images group to avoid the rendering " slowly loading step by step pictures " (I mean from a visitor point of view). * After all of this, decide about the required library I was just wondering about the methods to consider truely the problem ? Reports, articles, advises, statistics or just web developer experiences are welcome... to avoid the kernel panic junior webdev I believed the discuss is more about testing and DOM and Ajaxx subjects so I apologize for allowing myself to post to the two lists, Evolt and WSG. Best regards, -- Wcube . eQuesto Pierre-Henri LAVIGNE Web developer xhtml - css - dom 33, rue des Jeûneurs - FR 75002 Paris [EMAIL PROTECTED] Phone: +33(0)1 42 47 83 83 www.wcube.fr / www.equesto.fr *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***