| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | Hide Dead Images with Javascript Hello, I have a page the gets images from a 3rd party and I want to use a script that will hide images that are not working. This site is not using php so I thought Javascript would be good. I can't seem to find anything?
__________________ Domain Name Coupon Codes for popular registers including: Mydomain coupons - Dotster Coupons - GoDaddy.com Coupons - Hosting Coupons ... more |
| |
| | #2 (permalink) |
| Senior Member | Hmm.. I'm not entirely sure if this is possible with Javascript, becuase it is a client side language. You could do with something server side like a cron job that say every hour would check the links and then if they do not exist or something.. delete them from the database, assuming you are using one.. |
| |
| | #3 (permalink) |
| NamePros Regular | ok I see, well it is on a database with ASP this site, just a very small site using an access database which is updated once a week.... But I do have this problem with other sites that use PHP & MySql when I use merchant datafeeds and there is often broken images in the datafeed. Yes I think I know what your getting at, I might have to come up with something that looks up the images in the database.
__________________ Domain Name Coupon Codes for popular registers including: Mydomain coupons - Dotster Coupons - GoDaddy.com Coupons - Hosting Coupons ... more |
| |
| | #5 (permalink) | |
| NamePros Regular | Quote:
__________________ Domain Name Coupon Codes for popular registers including: Mydomain coupons - Dotster Coupons - GoDaddy.com Coupons - Hosting Coupons ... more | |
| |
| | #6 (permalink) |
| NamePros Member | Simple and effective. Nice code cerebus
__________________ technfo.com - pick.pk - ajaxpro.es - gbt.es - jamones.cn - sqzd.com - geoinfo.net Free URL Redirection (for sale) (62,000+ subdomains and growing!!) Real IP / Proxy IP |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |