[WSG] CSS challenge: make a li stays same bg color when cursor moves to its siblings

2011-04-05 Thread tee
I am trying to achieve this via jQuery by adding a class as I don't think it's possible with CSS (but maybe one of the CSS3 selectors can doit?). http://jsbin.com/acori/15/ The menu is generated by the CMS system so there is restriction to adding new class directly to a specific menu item.

[WSG] Need to access parent content from iframe

2011-04-05 Thread Mahendran Venkatesan
Hi, In my website, I have a requirement like the iframe js should access the form fields of parent window. I tried with window.parent.document.forms, but it is not working. Is there any possibility to access the parent window content from iframe js? p.s. The iframe and parent window are

[WSG] Need to access parent content from iframe

2011-04-05 Thread Mahendran Venkatesan
In my website, I have a requirement where iframe js should access the form fields of parent window. I tried with window.parent.document.forms, but it is not working. Is there any possibility to access the parent window content from iframe js? p.s. The iframe and parent window are different

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread Elankeeran / இளங்கீரன் V
its your iframe url and parent window in same window? On Tue, Apr 5, 2011 at 3:34 PM, Mahendran Venkatesan venkatesan.mahend...@gmail.com wrote: In my website, I have a requirement where iframe js should access the form fields of parent window. I tried with window.parent.document.forms, but

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread David Dorward
On 5 Apr 2011, at 10:52, Mahendran Venkatesan wrote: In my website, I have a requirement like the iframe js should access the form fields of parent window. I tried with window.parent.document.forms, but it is not working. Is there any possibility to access the parent window content from

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread Mahendran Venkatesan
yes! 2011/4/5 Elankeeran / இளங்கீரன் V ekee...@gmail.com its your iframe url and parent window in same window? On Tue, Apr 5, 2011 at 3:34 PM, Mahendran Venkatesan venkatesan.mahend...@gmail.com wrote: In my website, I have a requirement where iframe js should access the form fields of

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread Elankeeran / இளங்கீரன் V
if both the page are in different domain and if your owning both page then you can add below line in the top of your both page window.domain=yourdomainname; On Tue, Apr 5, 2011 at 4:09 PM, Mahendran Venkatesan venkatesan.mahend...@gmail.com wrote: yes! 2011/4/5 Elankeeran / இளங்கீரன் V

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread Mahendran Venkatesan
hi David, Thanks for sharing! I thought the policy is applicable only for accessing the content from parent window to iframe. So, the access permission in both ways is not possible. Regards, Venkatesan M On Tue, Apr 5, 2011 at 4:04 PM, David Dorward da...@dorward.me.uk wrote: On 5 Apr

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread Mahendran Venkatesan
i tried with window.domain, it's not working. 2011/4/5 Elankeeran / இளங்கீரன் V ekee...@gmail.com if both the page are in different domain and if your owning both page then you can add below line in the top of your both page window.domain=yourdomainname; On Tue, Apr 5, 2011 at 4:09 PM,

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread David Dorward
On 5 Apr 2011, at 11:55, Mahendran Venkatesan wrote: I thought the policy is applicable only for accessing the content from parent window to iframe. So, the access permission in both ways is not possible. It applies to all cross origin communication - XHR, frames, etc, etc. -- David

Re: [WSG] Need to access parent content from iframe

2011-04-05 Thread David Dorward
On 5 Apr 2011, at 11:48, Elankeeran / இளங்கீரன் V wrote: if both the page are in different domain and if your owning both page then you can add below line in the top of your both page window.domain=yourdomainname; From: https://developer.mozilla.org/en/document.domain In the DOM HTML

RE: [WSG] Need to access parent content from iframe

2011-04-05 Thread Hayden O'Sullivan
You could implement this using cross-document messaging (http://dev.w3.org/html5/postmsg/). I'm not sure how many browsers support it though. From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Mahendran Venkatesan Sent: Tuesday, 5 April 2011 8:58 PM To:

Re: [WSG] CSS challenge: make a li stays same bg color when cursor moves to its siblings

2011-04-05 Thread Jon Reece
Not sure if this is exactly what you are looking for, but you can try adding another selector to this code: #nav .current, #nav a:hover, #nav a:focus { background-color:#fff!important; color:#333; } Like this: #nav .current, #nav a:hover, #nav a:focus, #nav ul li:hover a {

[WSG] CSS challenge: make a li stays same bg color when cursor moves to its siblings

2011-04-05 Thread Manny Blum
I tweaked the Javascript a bit and one line of CSS. I think this is what you were trying to accomplish? http://jsbin.com/acori/16/ Hope it helps. On Tue, Apr 5, 2011 at 6:38 PM, Jon Reece jon.re...@gmail.com wrote: Not sure if this is exactly what you are looking for, but you can try adding

[WSG] HTML/CSS reference

2011-04-05 Thread Andrew Staff
Hello all, I was wondering if anyone on this distribution list would have a recommendation for a great HTML/CSS reference bible? I've been web developing for over 10 years but only in the last 2 have I got heavier into the HTML and CSS side of things and I'd class myself as an intermediate in

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Russ Weakley
A lot of personal opinion here... but try these books: Stunning CSS3 by Zoe Gilenwater The CSS Anthology by Rachel Andrew Designing with CSS by Andy Clarke Transcending CSS by Andy Clarke http://www.transcendingcss.com/ The Ultimate CSS reference by Tommy Olsson Paul O’Brien Building your

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Jason Grant
Shameless! ;-) Sent from my iPad On 6 Apr 2011, at 00:20, Russ Weakley r...@maxdesign.com.au wrote: A lot of personal opinion here... but try these books: Stunning CSS3 by Zoe Gilenwater The CSS Anthology by Rachel Andrew Designing with CSS by Andy Clarke Transcending CSS by

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Jon Reece
They may be a little old comparatively, but Bulletproof Web Design and Handcrafted CSS (both by Dan Cederholm) helped me in a big way. - Jon On Tue, Apr 5, 2011 at 6:56 PM, Andrew Staff andrew.st...@zebraweb.com.au wrote: Hello all, I was wondering if anyone on this distribution list would

RE: [WSG] HTML/CSS reference

2011-04-05 Thread Andrew Cooper
Hey fellow Web Developer also named Andrew! The Ultimate HTML Reference (SitePoint) by Ian Lloyd - http://reference.sitepoint.com/htmlThe Ultimate CSS Reference (SitePoint) Tommy Olsson Paul O'Brien - http://reference.sitepoint.com/css (this is the one that Russ mentioned) You can get them

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Kevin Ireson
Oh come on. Surely you cannot dispute http://www.w3schools.com/ for the basics. Even after all of these years. The fundamental concepts work. Kev http://.hotels-london-hoteks.com From: Andrew Staff Sent: Tuesday, April 05, 2011 11:56 PM To: wsg@webstandardsgroup.org Subject: [WSG]

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Chris F.A. Johnson
On Wed, 6 Apr 2011, Kevin Ireson wrote: Oh come on. Surely you cannot dispute http://www.w3schools.com/ for the basics. Even after all of these years. The fundamental concepts work. I wouldn't trust w3schools.com (note that it has nothing to do with the W3C) after looking at their

RE: [WSG] HTML/CSS reference

2011-04-05 Thread Webb, KerryA
Chris wrote: On Wed, 6 Apr 2011, Kevin Ireson wrote: Oh come on. Surely you cannot dispute http://www.w3schools.com/ for the basics. Even after all of these years. The fundamental concepts work. I wouldn't trust w3schools.com (note that it has nothing to do with the W3C)

RE: [WSG] HTML/CSS reference

2011-04-05 Thread Chris F.A. Johnson
On Wed, 6 Apr 2011, Webb, KerryA wrote: Chris wrote: On Wed, 6 Apr 2011, Kevin Ireson wrote: Oh come on. Surely you cannot dispute http://www.w3schools.com/ for the basics. Even after all of these years. The fundamental concepts work. I wouldn't trust w3schools.com (note that it has

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Russ Weakley
I wouldn't trust w3schools.com (note that it has nothing to do with the W3C) after looking at their HTML tutorial: http://cfajohnson.com/torontowebdesign/w3schools/ There is also this site which takes issue with W3schools: http://w3fools.com/ Personally, I think the approach taken

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Hassan Schroeder
On 4/5/11 7:31 PM, Webb, KerryA wrote: You say (on that page): The alt attribute is mandatory, not just good practice. It's not, you know. For decorative images, it's not even recommended. via http://www.w3.org/TR/html401/struct/objects.html#edef-IMG -- src %URI;

RE: [WSG] HTML/CSS reference

2011-04-05 Thread Webb, KerryA
On 4/5/11 7:31 PM, Webb, KerryA wrote: You say (on that page): The alt attribute is mandatory, not just good practice. It's not, you know. For decorative images, it's not even recommended. via http://www.w3.org/TR/html401/struct/objects.html#edef-IMG -- src

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Thierry
There is also this site which takes issue with W3schools: http://w3fools.com/ Personally, I think the approach taken by w3fools is a little too aggressive and emotional. Though they have relevant concerns, they use phrases like the site lies, blatantly false etc. I agree The things is,

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Thierry
You say (on that page):       The alt attribute is mandatory, not just good practice. It's not, you know.  For decorative images, it's not even recommended. For decorative images authors should use empty alt text (alt=). Most screen-readers read the src value if they can't find a alt

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Thierry
I was wondering if anyone on this distribution list would have a recommendation for a great HTML/CSS reference bible? Not a great reference bible, but it may help to better understand CSS as it allows users to try things by themselves to figure out how things work. http://www.css-101.org

Re: [WSG] HTML/CSS reference

2011-04-05 Thread Josh Street
On 06/04/2011, at 3:09 PM, Thierry wrote: I was unable to find any contact information on that site... Without weighing in on the substance of what w3fools.com itself is saying, I'd suggest the substantialish list of twitter usernames under From at the top of the page might constitute a good