Comments (9)
Hi
I can't repoduce this issue.
Witch version of prototype did you use?
(See also: http://code.google.com/p/hyphenator/issues/detail?id=7&can=1)
thanks
Original comment by [email protected]
on 15 Dec 2008 at 6:01
from hyphenator.
I use the latest Prototype 1.6.0.3 and HyphenatorBeta10. The attached html
reproduces
the issue.
Thanks for your reply.
Original comment by [email protected]
on 16 Dec 2008 at 8:23
Attachments:
from hyphenator.
Thanks
the attachment helped: I was able to reproduce the issue, but only on Firefox
(OS X, 3.0.4) and Opera (OS X,
9.60).
Safari (OS X, 3.2.1) and IE7 (XP) are working as exspected, here.
Original comment by [email protected]
on 16 Dec 2008 at 12:48
- Changed state: Accepted
- Added labels: Priority-High
- Removed labels: Priority-Medium
from hyphenator.
You are right, my formerly attached issue.zip works well in Safari 3.2.1 OSX
and IE7
WinVista.
But, unfortunately, I am developing a rather complex html/css/js structure.
Including
Hyphenator within this structure only works in Safari 3.2.1 OSX, but fails in
all
other browsers (OSX: Firefox 3.0.4, WinVista: IE7/Firefox 3.0.4, WinXP:
IE6/Opera
9.63). Sorry.
Original comment by [email protected]
on 16 Dec 2008 at 3:04
from hyphenator.
I see. The problem is the DOMContentLoaded-Event, I use. Prototype does
something with this, too. But I did
not completely understand what it does...
The same problem exists with other frameworks like jQuery.
I made a quick fix for prototype.js (Revision 250:
http://hyphenator.googlecode.com/svn/trunk/Hyphenator.js)
Nevertheless, I will have to rethink everything. I can't include an exception
for every possible library.
Original comment by [email protected]
on 16 Dec 2008 at 7:09
- Changed state: Started
from hyphenator.
Fantastic, thanks a lot, the fix works for me.
At the same time I'm sorry for you that you will have to modify the script.
Anyway, keep up the good work!
Original comment by [email protected]
on 17 Dec 2008 at 9:05
from hyphenator.
You're welcome!
There's nothing to be sorry about: I need these feedbacks to bring my script to
perfection - and there will alway
be something to modify...
Keep looking for updates.
Thanks so long,
Regards, Mathias
Original comment by [email protected]
on 17 Dec 2008 at 12:32
from hyphenator.
The issue isn't as difficult to solve as I thought:
The problem is the runOnContentLoaded-function I copied from
http://javascript.nwbox.com/ContentLoaded/: It checks a var document.load, this
var has been set by
prototype, too.
I changed the runOnContentLoaded to store the information in a local var
documentloaded, instead of global
document.loaded.
I also created a testcase
(http://hyphenator.googlecode.com/svn/trunk/testsuite/test28.html) to check the
compatibility with jQuery and prototype.
Other frameworks will be tested later...
Original comment by [email protected]
on 19 Dec 2008 at 7:18
from hyphenator.
test28 is testing for compatibility of all libraries hosted by google
(http://code.google.com/intl/de-
DE/apis/ajaxlibs/; as of 19.12.2008).
There is currently no incompatibility.
Therefore I mark this issue as fixed.
Original comment by [email protected]
on 19 Dec 2008 at 8:02
- Changed state: Fixed
from hyphenator.
Related Issues (20)
- Multi language document? HOT 5
- strange behaviour when changing the hyphenchar HOT 2
- Memory leak: elements removed from DOM are still not removed from the ElementCollection HOT 9
- same file of merged hyphenator doesn't work on one forum, while perfectly working on other one HOT 2
- 'orphancontrol' option does not affect output in paragraphs without </p> HOT 3
- Responsive Issue HOT 1
- hyphenator 4.2.0 hangs on Wikipedia page HOT 2
- Hyphenator breaks searching, when using "selection for searching". HOT 2
- Setting 'urlhyphencar' to 'soft hyphen' HOT 3
- Spaces between words in Safari HOT 1
- Links need to be clicked twice on iphone/safari HOT 2
- No SSL-Connection on fallback HOT 2
- "undefined value" error in Konqueror 4.8.4 on debian wheezy HOT 5
- onFinish Callback HOT 7
- Eigene Wortbrechungen definieren HOT 10
- Hyphens not showing up in Opera. HOT 1
- multiple classes HOT 5
- Local storage gives an exception in Safari Private mode HOT 1
- How to remove hiding? HOT 6
- make hyphenator bower compatible HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyphenator.