Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Use g0v/laweasyread #21

Open
kong0107 opened this issue Jul 12, 2013 · 1 comment
Open

Use g0v/laweasyread #21

kong0107 opened this issue Jul 12, 2013 · 1 comment

Comments

@kong0107
Copy link
Owner

Time to use g0v/laweasyread instead of struggling with governmental official sites.

It's callback function is assigned by request get key "callback", for example:

LER.XXX && LER.XXX({
    "isSuccess":true,
    "ver":1,
    "article":{
        "passed_date":"1946-12-25",
        "content":"中華民國國民大會受全體國民之付託,依據孫中山先生創立中華民國之遺教,為鞏固國權、保障民權、奠定社會安寧、增進人民福利,制定本憲法,頒行全國,永矢咸遵。\n"
    }
});
kong0107 added a commit that referenced this issue Jul 13, 2013
`addIFrame` is discarded; a brand new `addPopup` functions very
differently.
Instead of appending iframes as siblings of links, MouseOver event
(assigned during parsing) now triggers a DIV element to show up, which
is appended as the last child of `document.body` and positioned by
`MouseEvent`.
It must be much easier to satisfy #21 and show other information hard to
display as iframes.
@kong0107
Copy link
Owner Author

Here it says:

When inserting a script dynamically, ... the order of execution is not guaranteed

For this issue, onload of SCRIPT element may be a solution. But I haven't found a way to implement even if script.onload really works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant