Comment On Classics Week: The Mentor

Today's Classic WTF was originally published on Wednesday, November 08, 2006. An interesting fact: this is actually the same Chris and the same Mentor from an earlier article, Mentors, the Freshmaker.   [expand full text]
« PrevPage 1Next »

Re: Classic's Week: The Mentor

2007-05-07 09:11 • by shambo
Let's see how many people will comment that they've read these before.

Re: Classic's Week: The Mentor

2007-05-07 09:12 • by Bill Thornton (unregistered)
How does setting the spacer element's height in the onLoad handler cause this effect: "No matter where the page was scrolled to,
the footer always showed up"

It seems that you would need to make an adjustment every time the page scrolled.

Unless, of course, you used frames, iframes, or CSS positioning, all of which could achieve the effect without numerous scripting calls.

ewww is right

Re: Classic's Week: The Mentor

2007-05-07 09:16 • by KattMan
Haven't I seen this before?

OMG TDWTF is going to end in a whimper! Aren't there any decent ones left without having to recycle?

How dare they take vacation!

Re: Classic's Week: The Mentor

2007-05-07 09:19 • by skztr
If you don't have an update to post, don't post an update. Posting old news for no reason? WTF?

Re: Classic's Week: The Mentor

2007-05-07 09:26 • by TheJasper
135246 in reply to 135245
skztr:
If you don't have an update to post, don't post an update. Posting old news for no reason? WTF?


<sarcasm>
yeah, that's like if a tv-network would give you a show with clips of old shows, or even just run a show they've done previously. If they don't do it, then why should the dailyWTF?
</sarcasm>

Re: Classic's Week: The Mentor

2007-05-07 09:27 • by TheJasper
135247 in reply to 135242
shambo:
Let's see how many people will comment that they've read these before.

Well, alot more now, thank you very much.


ahum.
<wood>
I've read this before. Isn't this old news?
</wood>

;}

Re: Classic's Week: The Mentor

2007-05-07 09:32 • by Coditor (unregistered)
What happened? The scheduled new article returned FILE NOT FOUND?

And what happened to the 50 pixels that were to be substracted from the spacerheight to allow for a 50 pixel footer..?

While we're reliving the past

2007-05-07 09:36 • by headshit (unregistered)
can the site be renamed to TheDailyWTF?

Re: Classic's Week: The Mentor

2007-05-07 09:41 • by by by by (unregistered)
I'd rather read an old post (selected and reposted for me) than have nothing to read at all.

Re: Classics Week: The Mentor

2007-05-07 10:12 • by Juan O. (unregistered)
Welcome to CSS...

.bottomBox {
clear:both;
bottom: 0%;
width:100%;
height:25%;
padding-top:5px;
overflow:hidden;
}

Re: Classics Week: The Mentor

2007-05-07 10:14 • by skztr
135254 in reply to 135251
by by by:
I'd rather read an old post (selected and reposted for me) than have nothing to read at all.


There's a defined interface for that already. Reposts are just useless overload, full of stupid.


As for the TV metaphor, I can only think of three reasons why that's completely broken and non-applicable.

Re: Classics Week: The Mentor

2007-05-07 10:18 • by savar
135255 in reply to 135246
TheJasper:
skztr:
If you don't have an update to post, don't post an update. Posting old news for no reason? WTF?


<sarcasm>
yeah, that's like if a tv-network would give you a show with clips of old shows, or even just run a show they've done previously. If they don't do it, then why should the dailyWTF?
</sarcasm>


sarcasm tags are frowned upon here...if the sarcasm is good enough, about 10% of the readers here will get it, the other 90% will obvliously post sardonic replies, and then the original 10% gets all the more satisfaction from it.

Re: Classics Week: The Mentor

2007-05-07 10:22 • by Nub (unregistered)
135256 in reply to 135242
what if you want it to scroll, eh eh?

Re: Classics Week: The Mentor

2007-05-07 10:47 • by Rich (unregistered)
Here's a slightly different take on it...
http://www.themaninblue.com/experiment/footerStickAlt/

Offtopic: Code SOD from russian QoD collector

2007-05-07 10:51 • by Arioch (unregistered)
There is a bash.org.ru site, borrowing the idea of bash.org
And today it had brought a gem, lost in translation... Erghmmm - better to say "in porting"
Guess, before replacing one function with likely-named another one, a coder could look into documentation about parameters meaning, but (remember interview tales?) - it was a bit too much work.

http://www.online-translator.com/url/tran_url.asp?lang=en&url=http%3A%2F%2Fvnaum.livejournal.com%2F9731.html&direction=re&template=General&cp1=NO&cp2=NO&autotranslate=on&psubmit2.x=42&psubmit2.y=13

PS: priests are "of Oracle" and eyes are "1px"

Re: Classics Week: The Mentor

2007-05-07 12:54 • by Derrick Pallas
The Real WTF is that the website software thinks that the "ss" in "classics" is the German letter ß, which it dutifully transliterates to B.

Re: Classics Week: The Mentor

2007-05-07 13:37 • by Joe (unregistered)
I'd love to see a live example of this.

Re: Classics Week: The Mentor

2007-05-07 15:35 • by Joseph Newton (unregistered)
Why use script at all?


.footer {
position: fixed;
bottom: 0px;
...
}

Re: Classics Week: The Mentor

2007-05-07 15:56 • by Chris (unregistered)
135309 in reply to 135257
Rich:
Here's a slightly different take on it...
http://www.themaninblue.com/experiment/footerStickAlt/


Not adequate -- the post wants a footer that stays at the bottom of the screen. That one stays at the bottom of the page.

If it's meant to do what the OP says, then it doesn't work.

Re: Classics Week: The Mentor

2007-05-07 16:49 • by The MAZZTer
Yeah like the posters above have noted, CSS is a better way to do this because then you still get the same effect on browsers that have JavaScript turned off. I myself like to avoid using JavaScript whenever I can do the same thing in CSS, and if I do use JavaScript I like it to be able to fall back to something that still looks nice and is functional when JavaScript is disabled, as opposed to broken and looking like a 5 year old made it.

Re: Classics Week: The Mentor

2007-05-08 00:20 • by usrben
Yawn.

It's a client-side script, that looped once for the number of pixels in the page. It had no danger of screwing up anyone's data or crashing anyone's modern computer setup.

It functions. It performs poorly, but it just doesn't matter, since it's not a big performance problem (like, say, doing something that's O(N^3) on a large amount of data).

Contemplating a little piece of JavaScript like this is akin to contemplating your navel.

Re: Classics Week: The Mentor

2007-05-08 04:36 • by Nonymous (unregistered)
135346 in reply to 135253
Juan O.:
Welcome to CSS...

.bottomBox {
clear:both;
bottom: 0%;
width:100%;
height:25%;
padding-top:5px;
overflow:hidden;
}


Or, welcome you to CSS! ;)

0 is the same as 0% or 0px or 0em, zero is zero.
Bottom has no effect on non-positioned elements.
Chances are the width is already 100% since it's likely you used a block level element like a div. And what's the purpose of the overflow hidden?

Now if you had added position: absolute; at least the bottom and width make sense...

Re: Classics Week: The Mentor

2007-05-08 08:48 • by Zecc (unregistered)
Loading the site on an old computer, however, has a rather odd effect of making the footer "fall" into place instead of just appearing there.

Maybe that was the whole point?
(I know it wasn't - probably - but hey!, it could be)

Oh, and I rather read an old post that I haven't read yet than being left dry without a reason.

Re: Classics Week: The Mentor

2007-05-08 15:29 • by Random (unregistered)
135461 in reply to 135273
Derrick Pallas:
The Real WTF is that the website software thinks that the "ss" in "classics" is the German letter ß, which it dutifully transliterates to B.


The real WTF is that he's presumably known about that bug forever (it has been there forever), but didn't bother fixing it (it's fixed in later articles) until ClaBics Week rolled around.

And let's not imagine the REAL real WTF that leads one to do both conversion of 'ss' to that character and an ascii transliteration that results it into a B, on the same string for the same purpose. I'd love to see that CodeSOD. I bet he added a special case for this rather than not making it do the transliterations.

Re: Classics Week: The Mentor

2007-05-09 13:47 • by Gus (unregistered)
135641 in reply to 135302
Joseph Newton:
Why use script at all?


.footer {
position: fixed;
bottom: 0px;
...
}


Because they needed to support IE 6, for which fixed positioning is b0rkn. Additionally, even in IE7 flash wigits will slide right over top of any fixed position object when you scroll (regardless of z-index).

Re: Classics Week: The Mentor

2007-05-09 21:02 • by amandahugginkiss
135689 in reply to 135246
TheJasper:
skztr:
If you don't have an update to post, don't post an update. Posting old news for no reason? WTF?


<sarcasm>
yeah, that's like if a tv-network would give you a show with clips of old shows, or even just run a show they've done previously. If they don't do it, then why should the dailyWTF?
</sarcasm>


Yeah, because when you flick on the TV, you can easily trawl through archived shows stored on their servers to find one you want to see.

Re: Classics Week: The Mentor

2008-11-28 21:10 • by 855 (unregistered)
部队货架
湖北货架
湖南货架
河北货架
新疆货架
昆明货架
合肥货架
安徽货架
江西货架
惠州货架
江门货架
江门货架
惠州货架
江西货架
安徽货架
合肥货架
昆明货架
新疆货架
河北货架
湖南货架
湖北货架
东莞货架
佛山货架
中山货架
深圳货架
广东货架
广州货架
江苏货架
辽宁货架
沈阳货架
山东货架
张家港货架
无锡货架
杨州货架
杭州货架
苏州货架
浙江货架
温州货架
上海货架
北京货架
南京货架
轻型货架
贯通货架
阁楼货架
模具货架
悬臂货架
货架厂
塑料托盘
重型货架
轻型货架
工业货架
库房货架制造
仓储货架
立体库货架
汽车4S店生产货架
移动式货架
贯通货架
阁楼货架
模具货架
悬臂货架
塑木托盘|塑
铁托盘
塑料托盘
钢托盘
托盘
中型货架
角钢货架
中型货架
货架
登高车
登高车
不锈钢手推车
铁板手推车
堆垛架
巧固架
折叠式仓储笼
仓储笼制造
仓储笼
物流台车
塑料托盘
载物台车
物流台车
料箱
塑料托盘
塑料托盘
料箱
置物架
置物架
置物架
油桶搬运车
储物柜
手动搬运车|
搬运车
手动平台车
搬运车
半电动搬运车
全电动搬运车
油桶车
工具车
移动工具车
工具车价格
工具车工具箱
南京工具柜
深圳工具柜
天津工具柜
液压搬运车
无人搬运车
液压油桶搬运车
油桶搬运车武汉
平板搬运车
平板搬运车
平板搬运车
电动托盘搬运车
搜索搬运车
液压搬运车
搬运车
手动液压搬运车
液压搬运车
搬运车
货架
无锡货架|无锡货架厂
扬州货架|杨州货架厂
杭州货架|杭州货架厂
苏州货架|苏州货架厂
浙江货架|浙江货架厂
温州货架|温州货架厂
上海货架|上海货架厂
北京货架|北京货架厂
上海货架 |上海货架厂
绵阳货架|绵阳货架制造
货架厂|货架公司
成都货架|成都货架制造
日照货架|日照货架制造
潍坊货架|潍坊货架制造
东营货架|东营货架制造
永嘉货架|永嘉货架制造
济南货架|济南货架制造
青岛货架|青岛货架制造
山东货架|青岛货架
海宁货架|海宁货架制造
永嘉货架|永嘉货架制造
南京货架制造
长兴货架|长兴货架制造
松阳货架|松阳货架制造
德清货架|德清货架
龙泉货架
宁海货架|宁海货架制造
富阳货架
瑞安货架
兰溪货架|兰溪货架制造
永康货架|永康货架制造
舟山货架|舟山货架制造
货架公司
舟山货架|舟山货架制造
温岭货架|温岭货架制造
义务货架|义务货架制造
台州货架|台州货架制造
金华货架|金华货架制造
临海货架|临海货架制造
嘉兴货架|嘉兴货架制造
湖州货架|湖州货架制造
绍兴市货架|绍兴市货架制造
宁波货架|宁波货架制造
仓储货架
温州货架|温州货架制造
杭州货架|杭州货架制造
江苏货架|江苏货架制造
靖江货架|靖江货架制造
金湖货架|金湖货架制造
滨海货架|滨海货架制造
吴江货架|吴江货架制造
泰兴货架|泰兴货架制造
常熟货架|常熟货架制造
库房货架
淮安货架|淮安货架制造
江阴货架|江阴货架制造
宜兴货架|宜兴货架制造
张家港货架|张家港货架制造
昆山货架|昆山货架制造
南通货架|南通货架制造
扬州货架|扬州货架制造公司
盐城货架|盐城货架制造公司
淮阴货架|淮阴货架制造|
云港货架|连云港货架制造公司
上海货架
镇江货架|镇江货架制造公司
常州货架|常州货架生产
徐州货架|徐州货架生产|
无锡货架|无锡货架
苏州货架|苏州货架生产
南京货架|
货架|
重型货架
中型货架
货架
货架公司
货架
工位器具
工具车
工具柜
垃圾车
登高车
物流台车
折叠式货箱
钢料箱
货箱
货架
折叠式仓储笼
仓储笼
柱式托盘
栈板
钢托盘
托盘
物料整理架
流利条货架
悬臂货架
阁楼式货架
货架
移动式货架
模具货架
贯通货架
搬运车
高空拣选车
全电动托盘搬运车
半电动托盘搬运车
电动托盘搬运车
油桶搬运车
圆桶搬运车
堆垛车
液压手动堆垛机
电动液压托盘搬运车
电动搬运车
手推车
搬运车
手动液压托盘搬运车
手推车
南京手推车
静音手推车
手推车
下沙货架
部队货架
仓库货架
长沙货架
湖南货架
安徽货架
江阴货架
南通货架
苏州货架
无锡货架
上海货架
诸暨货架
余姚货架
海宁货架
台州货架
绍兴货架
金华货架
宁波货架
杭州货架
浙江货架
阁楼货架
模具货架
重型货架
悬臂货架
中型货架
临安货架
芜湖货架
安徽货架
慈溪货架
萧山货架
句容货架
昆山货架
张家港货架
扬中货架
无锡货架
徐州货架
南通货架
南京货架
阁楼货架
模具货架
悬臂货架
重型货架
中型货架
轻型货架
轻型货架
苏州货架
无锡货架
台州货架
诸暨货架
温州货架
绍兴货架
宁波货架
杭州货架
上海货架
模具货架
悬臂货架
悬臂货架
阁楼货架
重型货架
中型货架
轻型货架
海安货架
昆山货架
江阴货架
无锡货架
淮阴货架
南通货架
苏州货架
南京货架
货架
诸暨货架
海宁货架
金华货架
台州货架
绍兴货架
宁波货架
杭州货架
浙江货架
上海货架
浙江货架
海安货架
昆山货架
江阴货架
无锡货架
常州货架
南通货架
徐州货架
苏州货架
南京货架
义乌货架
海宁货架
余杭货架
金华货架
台州货架
绍兴货架
宁波货架
上海货架
湖州货架
杭州货架
阁楼货架
模具货架
悬臂货架
重型货架
中型货架
轻型货架
仓储笼
无锡仓储笼
苏州仓储笼
镇江仓储笼
南通仓储笼
扬州仓储笼
盐城仓储笼
徐州仓储笼
常州仓储笼
江阴仓储笼
南京仓储笼
连云港仓储笼
仓储笼
无锡仓储笼
镇江仓储笼
苏州仓储笼
南通仓储笼
扬州仓储笼
盐城仓储笼
南京仓储笼
海宁仓储笼
慈溪仓储笼
台州仓储笼
湖州仓储笼
杭州仓储笼
泰州仓储笼
常州仓储笼
连云港仓储笼
淮阴仓储笼
徐州仓储笼
模具货架
模具货架制造公司
苏州重型货架公司
重型货架公司广州
重型货架石家庄
上海重型货架
横梁式重型货架
成都重型货架
重型货架北京
仓储悬臂重型货架
次重型货架价格
次重型货架
轻中型货架
中型货架天津
中型货架天津
中型货架宁波
广州中型货架
上海中型货架
深圳轻型货架材料
轻型货架厂
万能角钢货架
角钢货架厂
上海角钢货架
广州角钢货架
北京角钢货架
深圳角钢货架
万能角钢货架价格
万能角钢货架常州
角钢货架安装
北京轻型货架
角钢轻型货架
深圳市轻型货架
上海轻型货架
巧固架
折叠式仓储笼
仓储笼制造
仓储笼
塑木托盘
铁托盘
木托盘
塑料托盘
钢托盘
托盘
上海货架
上海货架
绵阳货架
德州货架
成都货架
青岛货架
聊城货架
山东货架
长兴货架
海宁货架
德清货架
龙泉货架
富阳货架
宁海货架
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
小游戏
激情电影
美容BB霜免费赠送
英语天地
手机游戏下载

设计之家
美容时尚网
美食在线
<p> 永康货架
兰溪货架
瑞安货架
舟山货架
舟山货架
温岭货架
义务货架
永康货架
舟山货架
义务货架
温岭货架
金华货架
台州货架
嘉兴货架
绍兴市货架
湖州货架
宁波货架
嘉兴货架
宁波货架
江苏货架
温州货架
靖江货架
滨海货架
太仓货架
泰兴货架
吴江货架
淮安货架
常熟货架
南京货架
无锡货架
常州货架
杭州货架
上海货架
轻型货架
浙江货架
宁波货架
温州货架
台州货架
二手货架
货架网
贯通货架
金属货架
货架型材
货架价格
超市货架
液压搬运车
料箱
上海货架
青田货架
义乌货架
瑞安货架
温岭货架
舟山货架
威海货架
安徽货架
合肥货架
芜湖货架
马鞍山货架
铜陵货架
宣城货架
巢湖货架
浙江货架
杭州货架
湖州货架
嘉兴货架
宁波货架
绍兴货架
台州货架
温州货架
金华货架
余杭货架
衢州货架
萧山货架
建德货架
临安货架
平湖货架
嘉善货架
海宁货架
奉化货架
余姚货架
慈溪货架
上虞货架
诸暨货架
张家港货架
江阴货架
吴江货架
太仓货架
仪征货架
句容货架
湖北货架
武汉货架
四川货架
陕西货架
西安货架
河南货架
山东货架
济南货架
青岛货架
浙江货架
轻型货架
中型货架
重型货架
悬臂货架
模具货架
阁楼货架
南京货架
镇江货架
苏州货架
南通货架
扬州货架
盐城货架
东台货架
徐州货架
淮阴货架
连云港货架
常州货架
无锡货架
丹阳货架
金坛货架
常熟货架
重型货架
载物台车
堆垛货架
巧固架
货架
货架
货架
固定小推车
手推车
双层静音推车
铁板手推车
手动液压平台车
提升机
单叉手动液压平台车
双叉手动液压平台车
多层框架车
登高车H1000
塑料托盘
登高车H1400
铁屑车
南京货架
货架
仓储货架
货架公司
货架厂
角钢货架
轻型货架
货架
南京货架
中型货架
重型货架
贯通货架
通廊货架
模具货架
抽屉货架
移动式货架
密集货架
立体货架
阁楼货架
悬臂货架
滚轮式货架
整理架
托盘
钢托盘
塑料托盘
仓储笼
上海仓储笼
江西仓储笼
料箱
钢制料箱
物流台车
登高车
工具柜
浙江工具柜
工具车
安徽工具车
工作台
整理柜
手推车
静音手推车
铁板手推车
搬运车
手动托盘搬运车
液压手动堆垛机
液压手推平台车
圆桶搬运车/油桶搬运车
电动托盘搬运车
高空拣选车
电动/电瓶叉车
库房货架
货架设计
轻型货架
角钢货架
中型货架
中量型货架
重型货架
重量型货架
托盘货架
贯通货架
通廊式货架
阁楼货架
悬臂式货架
模具货架
抽屉货架
辊轮式货架
移动式货架
网片
护栏
隔离网
工具柜
安全工具柜
工具车
移动工具车
置物柜
整理架
挂板架
工作台
线棒货架
输送轨道
输送轨道机
输送带
不锈钢制品
仓储笼
货架
货架
轻型货架
中A货架
中B货架
重型货架
悬臂货架
模具货架
阁楼货架
流利架
工具车
工具柜
工具车
工作台
周转用品
仓储笼
塑料托盘
钢制托盘
小推车
托盘搬运车
隔离网
轻型货架
中型货架
重型货架
悬臂货架
模具货架
阁楼货架
浙江货架
杭州货架
上海货架
常州货架
无锡货架
苏州货架
余姚货架
慈溪货架
上虞货架
诸暨货架
温岭货架
义乌货架
瑞安货架
永嘉货架
海宁货架
舟山货架
巢湖货架
芜湖货架
宣城货架
合肥货架
铜陵货架
山东货架
奉化货架
潍坊货架
青岛货架
安徽货架
仪征货架
武汉货架
湖北货架
上海货架
浙江货架
杭州货架
湖州货架
嘉兴货架
宁波货架
绍兴货架
台州货架
温州货架
丽水货架
金华货架
衢州货架
余杭货架
萧山货架
临安货架
富阳货架
平湖货架
模具货架
阁楼货架
南京货架
镇江货架
苏州货架
南通货架
扬州货架
徐州货架
淮阴货架
连云港货架
常州货架
无锡货架
丹阳货架
金坛货架
常熟货架
张家港货架
吴江货架
昆山货架
太仓货架
句容货架
轻型货架
中型货架
重型货架
悬臂货架
温岭货架
永嘉货架
青田货架
义乌货架
合肥货架
密集架
货架资料
部队货架
仓储货架
求购货架
湖北货架
货架
武汉货架
青岛货架
山东货架
巢湖货架
宣城货架
铜陵货架
马鞍山货架
芜湖货架
湖州货架
嘉兴货架
宁波货架
绍兴货架
台州货架
温州货架
金华货架
« PrevPage 1Next »

Add Comment