Re: [WSG] Javascript web standards was How to send two values to javascript

2007-11-15 Thread Kit Grose
No sweat. Basically the whole concept of the standards-based web is to build up the site in *layers*. You have the content layer defined in XHTML, often generated through server-side scripting languages such as PHP. Without any further enhancement, this should display fully readable and

Re: [WSG] How to send two values to javascript

2007-11-14 Thread Kit Grose
The issue is that selects themselves don't have values. You notice the value is on the option tag, not the select. So you can't just get the .value of the element with ID 'subcategory'; you need to get the value of the currently selected item OF that select box. That can be done as an

[WSG] Re: [css-d] Box Issue

2007-10-30 Thread Kit Grose
'clear: both' which means pull the item underneath any other floated items. Hope that helps! Kit Grose Frontend Engineer [EMAIL PROTECTED] *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http

Re: [WSG] Toggle L2 menu items (within WCAG)

2007-10-28 Thread Kit Grose
used), I'm very interested to hear! Cheers, Kit Grose *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] How to make DHML cover flash

2007-10-17 Thread Kit Grose
Mike, The drop-down menus drop down over the Flash for me in Safari 2.0.4 (on OS X v10.4.10), but not at all smoothly: the slide-down animation appears to flicker (especially noticeable on the stock service one). The flicker problem is an issue that happens a lot for Safari 2 users (but

Re: [WSG] How to make DHML cover flash

2007-10-17 Thread Kit Grose
The reason for using wmode was to fix the problem that existed before. All I wanted was to make sure the dhtml drop down menu came down on top of the flash movie not underneath it. Is that not the best way ? I believe he's referring more to your use of wmode = transparent (rather than

Re: [WSG] How to make DHML cover flash

2007-10-16 Thread Kit Grose
Michael, A couple of things to make it work cross-browser: - Set the Flash element to have wmode set as opaque or transparent (if you use SWFobject, it's addParam('wmode','opaque');). - Position a transparent IFRAME behind the menus (really not simple if it's not functionality written into

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Kit Grose
I like your suggestion of including the file size, but just as an aside: Kb stands for Kilobit, not Kilobyte (which you probably mean). Both letters should be in caps to mean Kilobytes/Megabytes. I'd think (as a user) if you use the terminology 'download' for the link, the PDF should be

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Kit Grose
On 17/10/2007, at 1:05 PM, Chris Knowles wrote: heres a generic javascript function I wrote to open links in a new window based on class name. It's only a partial solution to the pdf issue but maybe someone will find it useful anyway. just call it on dom load or window load with the class name

Re: [WSG] Jquery and/or Yahoo UI

2007-10-14 Thread Kit Grose
You're right; innerHTML is much, much, MUCH faster to execute (see http:// www.quirksmode.org/dom/innerhtml.html for numbers). It's also quicker to code and to implement. However it leaves you with less handles on the elements you're inserting, and 'feels' wrong (in the same way that

Re: [WSG] Catch 22 list problem

2007-10-11 Thread Kit Grose
I'm in the 'Invalid code' camp here. Of course it matters what your target market is too, and whether it would be an issue if the numbers just didn't show up for IE users (likely the case). To my mind, the numbers in a list are inherently content and should not be passed off to the

[WSG] Load Javascript early or on-demand?

2007-10-09 Thread Kit Grose
that particular page of the site. In essence, is it more important to optimise the initial load time, or load-time per subsequent page? Cheers, Kit Grose Frontend Developer iQmultimedia [EMAIL PROTECTED] *** List Guidelines: http

Re: [WSG] Load Javascript early or on-demand?

2007-10-09 Thread Kit Grose
Hi Frank, addLoadEvent is one of my essential includes on every project! I've made my own minor modifications, but it's a great piece of code. Cheers, Kit *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm

Re: [WSG] Load Javascript early or on-demand?

2007-10-09 Thread Kit Grose
Hi Karl, For the site in question, I ended up deciding to load the JS (minified, of course) on just the page it is required on, but I was never really happy with the performance (since a page that was designed to be flashy and impressive ends up being delayed by the download of

Re: [WSG] Safari problem

2007-09-27 Thread Kit Grose
: auto', and set the internal div to have a strict width, an auto height and overflow: hidden. The outside div will get the scrollbars when they're needed, and the strict width on the inside div will stop it from triggering horizontal scrollbars. Cheers, Kit Grose iQmultimedia

Re: [WSG] safari display issue : help please!

2007-08-23 Thread Kit Grose
property doesn't work at all in any version of IE. Check out http:// www.quirksmode.org/css/display.html#table for more info. Cheers, Kit Grose iQmultimedia *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm

Re: [WSG] When to use image replacements?

2007-08-05 Thread Kit Grose
., but not for logos or images that you require to be able to be printed by a grandmother. Cheers, Kit Grose *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm

Re: [WSG] designing for handheld

2007-08-05 Thread Kit Grose
So which emulators (simulators) are correct? As John said, phone browsers vary as much (actually, more) than their desktop counterparts. On the phone, there are a few different environments I'd test in: 1. Safari (WebKit is the primary browser on Nokia S60 devices, as well as the iPhone

Re: [WSG] vCard File

2007-08-01 Thread Kit Grose
as a better alternative to a text signature. If you're considering including vCards, it might be worth checking out microformats (http://microformats.org/) while you're at it. Kit Grose On 02/08/2007, at 12.51 PM, Joyce Evans wrote: I think there may have been a discussion regarding