Hello Jiten, I agree with John and you too! Please see my reply to John.
Thank you for your reply. :-) Smiles, Emily Date: Tue, 29 Mar 2011 16:30:16 +0530 Subject: Fwd: [WSG] Horizontal Menu Bar Help Needed From: [email protected] To: [email protected] CC: [email protected] Agree with John. Thanks to John for such as wonderful and crisp reply.I too have implemented menus always as 1. Unordered list(html element ul ) 2. Each item as list items (li) and anchors ( a ) 3. Css styled them and added behavior using jquery and modifying the css dynamically on user interaction.. Emily there are a lot of free menu examples/samples with source on web and you can use them to build your menus. However I saw your site, and it shows the intended behavior on mouseovers and clicks. I guess you solved the problem. :) I am using chrome. On Tue, Mar 29, 2011 at 10:09 AM, John Unsworth <[email protected]> wrote: Hi Emily, Firstly the problem you describe might be your browser. I'm using Safari on a Mac and the desired effect appears to occur, whether I use the back button or click Home again. So this might be the reason your not getting the expected effect. Secondly, the standards group I would imagine are collectively having kittens seeing all that table based layout rendered by Dreamweaver. Whilst there is often some debate, on the whole most people employ a list for navigation rather than a table, however I'm assuming the whole page is a table layout and thus whilst I would encourage you to reconsider, I'm not going to go into an entire rewrite. I would then suggest to you it's time to learn some CSS. Your Dreamweaver behaviours are embedded Javascript(s), added to which all your presentation information, such as width and height are inline to boot. What you want to strive for is plain simple HTML, with externally linked CSS and JS files. This approach is sometimes referred to as 'three layers'. That being Content (HTML), Presentation (CSS) and finally Behaviours (Javascript). Presuming this is not just a practice piece of work and the error your getting is just within your browser, I don't think there is a simple bit of 'code' that will fix this. Moving forward I can only suggest you change your methods in line with the sentiments of the standards group. Personally if your starting out I can't recommend Ian Lloyd's 'Build your website the right way, using HTML and CSS' from Sitepoint, and 'HTML Dog, The best-practice guide to XHTML & CSS' by Patrick Griffiths enough. All the best, John Unsworth ******************************************************************* 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] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
