选择列表-vs-表 [英] Select Lists -vs- Tables

查看:51
本文介绍了选择列表-vs-表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




很抱歉,如果这是人们感到充满热情的问题之一,我会向你保证我不是在拖车而是通过表格结果集的网络浏览器演示,寻求关于走哪条路的指导




我是新手,不知道更好,但我立刻选择了选择

列表''cos A)有人告诉我:-)和b)''我不认为你可以

选择从每一行没有按钮单元格的表格(但是最近的帖子

Stephane'向我展示了这不是这样)


这些是我认为我现在应该去桌子的一些原因: -

1)我有专栏并且厌倦了使用非比例字体

排队。

2)我有列标题,并且不喜欢将选项[0]作为一个

标题,当thead和tfoot条目现在看起来像它们可以静态外部

滚动区域(tr是吗?)

3)你可以选择表行(true?)

4)插入和删除< tr> s并不比< optionsin a< select>

5)你见过什么微软最近对表做了什么?我不知道

多少是CSS或多少(< div TABNAM =" name">)是IE特定的但是

它真的看起来不错!点击向下展开整个表格或留下它是如何

并滚动浏览。


所以任何想法或建议淹没者的方向是什么

关于这个问题?


干杯理查德马赫

Hi,

Sorry if this is one of those issues that people feel passionate about and I
assure you I''m not trolling but rather seeking guidance on which way to go
with the web browser presentation of tabular result sets.

I''m a newbie and don''t know any better, but I immediately opted for Select
Lists ''cos A) someone showed me :-) and b) ''cos I didn''t think you could
select from a Table without a Button-cell on each row (but a recent post of
Stephane''s showed me this is not so)

These are some of the reasons I think I should now go to tables: -
1) I have columns and am sick of having to use a non-proportional font to
line up.
2) I have column headings and don''t like having to fudge option[0] as a
header when thead and tfoot entries now look like they can be static outside
the scroll area (true?)
3) You can "select" table rows (true?)
4) Inserting and removing <tr>s is no harder than <optionsin a <select>
5) Have you seen what Microsoft has done with Tables lately? I don''t know
how much is down to CSS or how much (<div TABNAM="name">) is IE specific but
it really looks good! Click down to expand tehh whole table or leave it how
it is and scroll through.

So any thoughts or advice on what direction drowsers are heading in with
regard to this issue?

Cheers Richard Maher

推荐答案

" ;理查德马赫 < ma ****** @ hotspamnotmail.com写信息

news:et ********** @ news-01.bur.connect.com.au .. 。
"Richard Maher" <ma******@hotspamnotmail.comwrote in message
news:et**********@news-01.bur.connect.com.au...




很抱歉,如果这是人们对此感兴趣的问题之一,并且
Hi,

Sorry if this is one of those issues that people feel passionate about and



I

I


向你保证我不是在拖钓,而是寻求指导方向去

带有表格结果集的网页浏览器。


我是新手,不知道更好,但我立即选择了选择

列表''cos A)有人给我看:-)和b)''我不认为你可以

从表中选择,每行没有按钮单元格(但是最近的帖子
assure you I''m not trolling but rather seeking guidance on which way to go
with the web browser presentation of tabular result sets.

I''m a newbie and don''t know any better, but I immediately opted for Select
Lists ''cos A) someone showed me :-) and b) ''cos I didn''t think you could
select from a Table without a Button-cell on each row (but a recent post




of


Stephane'告诉我现在不是这样)


这些是我认为我现在应该去桌子的一些原因: -

1)我有colu mns并且我不得不使用非比例字体来支付
排队。
Stephane''s showed me this is not so)

These are some of the reasons I think I should now go to tables: -
1) I have columns and am sick of having to use a non-proportional font to
line up.



[anip]


考虑一下:


< html>

< head>

< title> selectab.htm< / title>

< script type =" text / javascript" >

var opts =" \ n< option value =''0''> Row 0 ^^^^^^^^^^ Heading";

opts + =" \ n< option value =''0''> ----------------------" ;;

for(var i = 1; i< 10; i ++){

opts + =" \ n< option value =''" + i +"''>行" + i +" ^^^^^^^^^^ Details";

}

opts = opts.replace(/ \ ^ / g," ");

函数选择(那){

var valu = that.options [that.selectedIndex] .value;

if(值0)警报(值);

}

< / script>

< / head>

< body>

< form>

< select size =" 11" onclick =" pick(this)"

style =" font-family:Courier New"

< script type =" text / javascript" >

document.write(opts);

< / script>

< / select>

< / form>

< / body>

< / html>

[anip]

Consider this:

<html>
<head>
<title>selectab.htm</title>
<script type="text/javascript">
var opts = "\n<option value=''0''>Row 0^^^^^^^^^^Heading";
opts += "\n<option value=''0''>----------------------";
for (var i=1; i<10; i++) {
opts += "\n<option value=''" + i + "''>Row " + i + "^^^^^^^^^^Details";
}
opts = opts.replace(/\^/g," ");
function pick(that) {
var valu = that.options[that.selectedIndex].value;
if (valu 0) alert(valu);
}
</script>
</head>
<body>
<form>
<select size="11" onclick="pick(this)"
style="font-family:Courier New">
<script type="text/javascript">
document.write(opts);
</script>
</select>
</form>
</body>
</html>





" McKirahan" < Ne ** @ McKirahan.com写信息

新闻:Vt **************************** **@comcast.com。 ..
Hi,

"McKirahan" <Ne**@McKirahan.comwrote in message
news:Vt******************************@comcast.com. ..

考虑一下:
Consider this:



好​​的,我考虑过了。那里有什么东西我打算分开来看看你需要使用非比例字体排队吗?  


问候Richard Maher

OK, I''ve considered it. Is there something in there I''m meant to see apart
from you "having to use a non-proportional font to line up."?

Regards Richard Maher


" Richard Maher" < ma ****** @ hotspamnotmail.com写信息

news:et ********** @ news-01.bur.connect.com.au .. 。
"Richard Maher" <ma******@hotspamnotmail.comwrote in message
news:et**********@news-01.bur.connect.com.au...




很抱歉,如果这是人们对
充满热情的问题之一
Hi,

Sorry if this is one of those issues that people feel passionate about




and


I
I

向你保证我不是在拖车,而是寻求指导哪个方向
assure you I''m not trolling but rather seeking guidance on which way to



go

go


使用表格结果集的Web浏览器显示。


我是新手,不知道更好,但我立即选择了
with the web browser presentation of tabular result sets.

I''m a newbie and don''t know any better, but I immediately opted for



选择

Select


列表''cos A )有人告诉我:-)和b)''我不认为你可以

sele ct来自一个表,每行没有Button-cell(但是最近的帖子
Lists ''cos A) someone showed me :-) and b) ''cos I didn''t think you could
select from a Table without a Button-cell on each row (but a recent post




of


Stephane'告诉我这不是这样)


这些是我认为我现在应该去桌子的一些原因: -

1)I有列和我不得不使用非比例字体
Stephane''s showed me this is not so)

These are some of the reasons I think I should now go to tables: -
1) I have columns and am sick of having to use a non-proportional font




to


排队。
line up.



[anip]


考虑一下:


< html>

< head>

< title> selectab.htm< / title>

< script type =" text / javascript" >

var opts =" \ n< option value =''0''> Row 0 ^^^^^^^^^^ Heading";

opts + =" \ n< option value =''0''> ----------------------" ;;

for(var i = 1; i< 10; i ++){

opts + =" \ n< option value =''" + i +"''>行" + i +" ^^^^^^^^^^ Details";

}

opts = opts.replace(/ \ ^ / g," ");

函数选择(那){

var valu = that.options [that.selectedIndex] .value;

if(值0)警报(值);

}

< / script>

< / head>

< body>

< form>

< select size =" 11" onclick =" pick(this)"

style =" font-family:Courier New"

< script type =" text / javascript" >

document.write(opts);

< / script>

< / select>

< / form>

< / body>

< / html>


[anip]

Consider this:

<html>
<head>
<title>selectab.htm</title>
<script type="text/javascript">
var opts = "\n<option value=''0''>Row 0^^^^^^^^^^Heading";
opts += "\n<option value=''0''>----------------------";
for (var i=1; i<10; i++) {
opts += "\n<option value=''" + i + "''>Row " + i + "^^^^^^^^^^Details";
}
opts = opts.replace(/\^/g," ");
function pick(that) {
var valu = that.options[that.selectedIndex].value;
if (valu 0) alert(valu);
}
</script>
</head>
<body>
<form>
<select size="11" onclick="pick(this)"
style="font-family:Courier New">
<script type="text/javascript">
document.write(opts);
</script>
</select>
</form>
</body>
</html>



Richard Maher写道:
Richard Maher wrote:




对不起,如果这是其中之一人们感到充满激情的问题,我向你保证,我不是在拖钓,而是通过表格结果集的网络浏览器呈现来寻找指导方向。




我是新手,不知道更好,但我马上选择了选择

列表''是的A)有人给我看了:-)和b)''我不认为你可以

从表中选择,每行没有按钮单元格(但最近的帖子是

S. tephane''告诉我这不是这样)


这些是我认为我现在应该去桌子的一些原因: -

1)I有列和我不得不使用非比例字体

排队。

2)我有列标题,不喜欢有软糖选项[0]作为一个

标题当thead和tfoot条目现在看起来像是静态外面

滚动区域(是吗?)

3)你可以选择表行(true?)

4)插入和删除< tr> s并不比< optionsin a< select>

5)你见过什么微软最近对表做了什么?我不知道

多少是CSS或多少(< div TABNAM =" name">)是IE特定的但是

它真的看起来不错!点击向下展开整个表格或留下它是如何

并滚动浏览。


所以任何想法或建议淹没者的方向是什么

关于这个问题?
Hi,

Sorry if this is one of those issues that people feel passionate about and I
assure you I''m not trolling but rather seeking guidance on which way to go
with the web browser presentation of tabular result sets.

I''m a newbie and don''t know any better, but I immediately opted for Select
Lists ''cos A) someone showed me :-) and b) ''cos I didn''t think you could
select from a Table without a Button-cell on each row (but a recent post of
Stephane''s showed me this is not so)

These are some of the reasons I think I should now go to tables: -
1) I have columns and am sick of having to use a non-proportional font to
line up.
2) I have column headings and don''t like having to fudge option[0] as a
header when thead and tfoot entries now look like they can be static outside
the scroll area (true?)
3) You can "select" table rows (true?)
4) Inserting and removing <tr>s is no harder than <optionsin a <select>
5) Have you seen what Microsoft has done with Tables lately? I don''t know
how much is down to CSS or how much (<div TABNAM="name">) is IE specific but
it really looks good! Click down to expand tehh whole table or leave it how
it is and scroll through.

So any thoughts or advice on what direction drowsers are heading in with
regard to this issue?



您可能需要考虑完整的AJAX / RIA选项,例如:

http://www.yui-ext.com/deploy/ext -1 .... um-search.html


键入时出现的下拉菜单(尝试输入grid)是一个可移动的完全可配置的网格,可调整大小的列。 / examples目录下有很多其他例子...


http://www.yui-ext.com/deploy/ext-1.0-alpha3.zip


http://www.yui-ext的帮助论坛.com / forum / index.php


玩得开心,


动物

You might want to consider the full-on AJAX/RIA option like:

http://www.yui-ext.com/deploy/ext-1....um-search.html

The drop down which appears when you type (try entering "grid") is a fully configurable Grid with moveable, resizable columns. Lots of other example under the /examples directory there...

Download the library at http://www.yui-ext.com/deploy/ext-1.0-alpha3.zip

Help forum at http://www.yui-ext.com/forum/index.php

Have fun,

Animal


这篇关于选择列表-vs-表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆