RE: [WSG] functionality without JavaScript [WAS: returning to scroll position in a table inside a fixed hight div]

2009-06-15 Thread raven
Hi.

If a website client of yours hired 
you to manage an actual storefront and you 
arbitrarily slammed the door in the face of every 
100th, 200th, or even 1000th customer, how long 
do you think would you keep your job?
If some js feature bring me 100 costumers i can effort loose 1, which don't 
support js.
Another question that i try to keep all of them, if it's possible.

Graceful degradation is better than nothing, but progressive enhancement rocks.
ACK. It rocks.
Problem:
Often some js feature (AJAX for example) is key to the project.
Than first i develop server side scripts and front end, which depends on AJAX.
And after i finish, if there is enough time and budget is OK, i modify front 
end (if needed) and write additional server side scripts so user may work 
without js. 
If code is good — add such accessibility feature is not a problem.
But if you get project with low budget and where deadline was yesterday, than 
accessibility must first be sacrificed. If project stay alive — you may return 
to this question.
Yes, progressive enhancement rocks. But, if don't use it wisely, you'll starve.

Also I do support witches, but that's off-topic.
Sorry for my English. I need more practice. Much much more practice. :)

Regards.
Raven aka Silent Imp.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: Re: [WSG] functionality without JavaScript [WAS: returning to scroll position in a table inside a fixed hight div]

2009-06-15 Thread raven
Hi.

Out of curiosity, what sort of feature are you talking about that
can't be done server side (ie, *without* AJAX)?

As a matter of fact, you right. 
Without AJAX (in any form) server side scripting remains intact and matter 
disappears.

My front end development order:
1. XHTML coding of structure. Semantic and accessibility features fully 
included.
2. Adding style sheets for all devices i support (in external files).
3. Adding js (in external files).

There is just no sense to develop it in any other way a.f.a.i.k.

But, if there is AJAX, i must assess time and budget and decide: what type of 
communication with server side i must support primarily and do i have enough 
resources to support another.

Regards.
Raven aka Silent Imp.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: Re: [WSG] returning to scroll position in a table inside a fixed hight div

2009-06-14 Thread raven

raven - how do i get the scrollTop ?

Hi.

Information about how to manage scrollTop you may find in DOM.
Catch script example :)
It save scroll position of table container in cookie and restore it when page 
reloads.
http://nightfolk.net/portfolio/scroll_save/index.html

Regards. 
Raven aka Silent Imp. 


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] returning to scroll position in a table inside a fixed hight div

2009-06-14 Thread raven
 Keep in mind as always that a JavaScript solution will not work in 
 user agents not running JavaScript, 
which can include search engines, 
 mobile devices, assistive technology, browsers in certain corporate 
 contexts in which JavaScript is globally turned off or stripped out 
 of incoming pages by firewalls, old browsers, and modern browsers 
 used by folks who turn it off for whatever reason. 

Hmmm... what exactly problem can cause using of JavaScript *in this case* from 
SEO point of view?
Or what browser, *witch you really support*, don't support JS?
And what part of your target auditory even know how to disable JavaScript 
execution in their browsers?
Don't use common words! Give us facts, numbers, tests.

But graceful degradation is good idea. If you have enough time and budget big 
enough you may look for solutions for case when JavaScript is disabled.

P.S. In ordinar case if you can get functionality, you need, without JS — do 
it. 

Regards.
Raven aka Silent Imp.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



RE: [WSG] IE7 wraps lines in table for no apparent reason ?

2009-06-14 Thread raven
Hi.
If you want prohibit text wrap in column, you may use CSS rule.

td{
white-space: nowrap;
}

Regards.
Raven aka Silent Imp.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



RE: [WSG] returning to scroll position in a table inside a fixed hight div

2009-06-13 Thread raven
i'm trying to find a way to get back to the same position in a table
that is nested in a fixed height div.
only 4 lines of the table are showing and i need after post to the
server to get back to the selected line
any suggestions are welcome
You send to server scrollTop of div element or save it in cookie.
When you get server answer you may scroll to saved value.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



RE: [WSG] returning to scroll position in a table inside a fixed hight div

2009-06-13 Thread raven
i'm trying to find a way to get back to the same position in a table
that is nested in a fixed height div.
only 4 lines of the table are showing and i need after post to the
server to get back to the selected line
any suggestions are welcome
You send to server scrollTop of div element or save it in cookie.
When you get server answer you may scroll to saved value.
Sorry. .scrollTop of table in div element.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] What to do with buttons when a user copies text from a page.

2009-06-12 Thread raven
 I'm curious how others might approach this problem. The goal is elegant text
 selection.

Solution — good structure of content, so user may easily select only text he 
need. Wisely use spaces and problem disappears. 


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] PNG - how cross-browser standard reliable?

2009-04-27 Thread raven
 I’m looking at a whole bunch of icons to use in a new app I’m
 building, and rather than convert them all to gifs,   I was thinking
 of leaving them as the .png format they are now.They work on all
 the browsers I use, but I’m wondering what everyone else’s
 experience has been of using .pngs in web pages. 

Hi. You may freely use .png in your work.
Only browser, which can't work with .png — ie6. But using conditional
comments you may create separate stile sheet and using filter handle it.

 Last time I tried using a png, I found it worked ok in some
 browsers and not in others.   Is this still a relevant issue?
Exactly, what browser cause problems?




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Flash on top of Flash

2008-02-29 Thread raven
Hi.
To solve this problem you may set wmode as opaque for underlying flash and 
transparen for flash
menu.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re[2]: [WSG] PNG in IE6

2008-02-21 Thread raven
Hi all.

 Good solution.
Is this a good practice and good idea to use active component (i mean
js) where passive (css) could be used?

Is using library, which you don't write by you own (and, perhaps, don't
fully understand), which contain redundant potential, a good idea?

Is not using css fork (conditional comment for ie) is better solution?
Don't understand me wrong.
I interested in finding and using best solution also.
And now i am using conditional comment's to solve IE problem.
Where is the trick with them?

__

Raven.
nightfolk.net



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***