Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified to run JavaScript #8

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bce5001
permitted run javascript code after loading hinclude content
Oct 17, 2012
82af6fb
correct syntax readme text
Oct 17, 2012
4c2082e
fix, tad removed after executing code
Oct 17, 2012
398d013
removed line requires jquery library
Nov 13, 2012
6ccb9bf
renamed hincludejs with standard name tag javascript
Nov 13, 2012
de4c4a6
corrected text error
Nov 13, 2012
9d527f7
Merge pull request #1 from mnot/master
s7ntech Nov 13, 2012
8a0d4ae
correct execution and removal multiple tags script
Nov 13, 2012
c72761e
splitted check structure content, verification exist onload event int…
Jan 3, 2013
1924ccf
fix error no method 'hinclude_check_content' and control type defined…
s7ntech Mar 17, 2013
cac42cf
correct code indentation
s7ntech Mar 17, 2013
4eaa5c8
fix error move head condition
s7ntech Mar 19, 2013
874a7c1
allowed loading external javascript
s7ntech Mar 20, 2013
6628bd1
fix dependency js code included
s7ntech Mar 21, 2013
e058b17
fix remove tag js
s7ntech Mar 22, 2013
ee5760b
restored indentation, fix error XMLSerializer, add test
s7ntech Mar 29, 2013
b1d0d40
fix issue #23 Nested hincludes
s7ntech Apr 5, 2013
f15324c
fix conflict
s7ntech Apr 5, 2013
ee0666e
correction code for test jslint
s7ntech Apr 5, 2013
4141246
merge last commit and fix conflict
s7ntech Jun 1, 2013
9e52d90
verification loading library after inclusion
s7ntech Jun 1, 2013
b96306f
fix test media and sintax for jslint
s7ntech Jun 1, 2013
1502b94
small fix for compatibility with ie (bug innerHTML), related to the i…
s7ntech Sep 28, 2013
f5c585b
small correction forgetfulness :)
s7ntech Sep 28, 2013
e7dcac2
hinclude key verification, should solve the problem
s7ntech Oct 19, 2013
35e486c
fix sintax for jslint
s7ntech Oct 19, 2013
e13b13e
correction per dom serialization, generalized action
s7ntech Nov 13, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,23 @@ HInclude is declarative client-side inclusion for the Web; it allows easy
composition of Web pages using the browser -- making your pages more modular,
more cacheable, and easier to maintain.

You can run javascript code after loading 'hx:include' inserting the
javascript code inside the tag

<script> ... </script>

example..

<hx:include src="new">
//...//
<script>$('#sample').css('color': 'red');</script>
</hx:include>


in the particular case where the content has the JavaScript code that is
executed before 'hinclude' finish on its own, for example widget

See [the demo page](http://mnot.github.com/hinclude/) for documentation and
examples.

in the particular case where the content has the JavaScript code that is executed before 'hinclude' finish on its own, for example widget
Loading