Primary Navigation
Javascript
When you update the editor, lines found inside an inline JavaScript block are doubled.
We have confirmed this by initially starting with 2 lines of JavaScript code.
Take a look at the spaces at different update stages (without even saving, just updating the text):
1
3 = 1*2 + 1
7 = 3*2 + 1
15 = 7*2 + 1
31 = 15*2 + 1
etc...
3 = 1*2 + 1
7 = 3*2 + 1
15 = 7*2 + 1
31 = 15*2 + 1
etc...
So that's why 43 lines of code can easily push the page over 63,000.
The work around
Save the javascript block of code into a javascript file and upload it into the community and reference it from the page (ex: <script type="text/javascript" src="http://support.igloosoftware.com/download-noauth/javascript/samplejs"></script>)
- 532 views
- 2 versions
- 0 comments
- 0 followers
Labels:
- Post Date:
- October 14, 2009
- Posted By:
- Kristy Cornell
- Versions:
- v.2
Viewed 532 times
Page Options
0 Comments
Would you like to comment?
You must be a member. Sign In if you are already a member.