![]() ![]() |
Thursday, 17. July 2003
philipp.moser,
July 17, 2003 3:01:34 PM CEST
New function Hallo everybody. I've writen a function (for personal use of course) to replace invalid chars with nothing and "spaces" with "underscores". I've added this to the global object.functions.js. I had Problems with different Browsers (on Linux :) when downloading files or images. Its simply a copy of the regexp found in buildAliasFromFile plus the replacement of "spaces" with "underscores". Look at the code:
function replaceinvalidchars(name) { Second I added param.alias = replaceinvalidchars(param.alias) ; to the image and file object.functions.js. In the global object.functions.js i replaced the regexp with line 459: It's very simple maybe somebody adds it to the antville code if needed. Maybe nobody needs it. Philipp |
![]() |
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 7141 Days
last updated: 1/4/11 10:22 AM ![]() ![]() ![]() Youre not logged in ... Login
![]() ![]() ![]() ... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home ![]() ![]() ![]() ![]()
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03 7:14 PM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03 4:12 PM)
![]() |