Image path when pushup.js doesn't exist
-
stuartloxton
Would a / path be useful to start from the domain base?
http://pushup.lighthouseapp.com/...
Has a similar problem + fix
-
Nick Stakenburg
- State changed from new to invalid
It's not possible to change the name of pushup.js. The filename is searched for to get the correct image path. If you rename it, you'll need to change the regexp inside pushup.js to match the new name, I recommend not changing the name at all though.
-
Sébastien Grosjean - ZenCocoon
If you check at http://villasthalassa.com for example you will see that all my JS are MERGED (there inside, prototype, scriptaculous, swfobject and plenty more), there's then no reason to get my merged JS named pushup.js
Is there no way to just use the relative path from the JS itself ? Without having to parse the DOM the hack it!
Anyway fixing the absolute path problem ( #4 Abolute images path ) would allow great flexibility already.
Hope that helps making even better script,
Sebastie Grosjean - ZenCocoon
-
Nick Stakenburg
By doing that you render scriptaculous ability to use scriptaculous.js?load=effects useles. Pushup uses a similar technique, there's no other way to do this.
-
Sébastien Grosjean - ZenCocoon
I see that you took the same approach as scriptaculous and personally do not use scriptaculous.js?load mechanism but load the libs right aways.
Anyway that look to be the only way to have relative path and absolute path are comfortable enough so...
Let's test the absolute path solution ;-)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.