Couple of minor Image Path Problems. - Ext JS

本文讨论了在本地运行Paging Grid时遇到的问题,包括不正确的文件路径设置导致的404错误,以及默认Ext空白图片URL配置不当。作者解释了如何正确配置Ext空白图片URL,并解决了CSS文件放置不当的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I'm running the paging grid locally and was watching the network traffic.

I noticed that a file s.gif is being requested from your domain.

http://www.yui-ext.com/s.gif

I also noticed that one files path isn't being set correctly in my setup and is returning a 404.

All the other images go to a url like the following:

http://localhost/PagingTest/resource...dd/drop-no.gif

This one that 404's looks like this:

http://localhost/resources/images/de...andle-dark.gif

It's missing the subdirectory under the localhost.

Just thought I'd point them out.

Thanks!
Reply With Quote
  #2  
Old 03-11-2007, 03:36 AM
Default

http://www.yui-ext.com/s.gif is the default Ext.BLANK_IMAGE_URL which you need to configure.

I don't know what you are saying about the rest. Are you saying the image path in the css is wrong, or are you saying it doesn't work in your setup?
Reply With Quote
  #3  
Old 03-11-2007, 08:07 AM
Default

Ah, didn't realize that I needed to configure the blank image url.

The other one was my fault, had the grid-examples.css in the wrong place ... sorry.
Reply With Quote
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值