[MGNLSTK-40] Javascript in HTML head - now even simpler Created: 14/Oct/08  Updated: 23/Jan/13  Resolved: 19/Jan/09

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: Timo Wirth Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: frontend, javascript
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLSTK-18 1 instead of 13: Just one javascript ... Closed
relation
is related to MGNLSTK-169 Templates : only load necessary js Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Please update the <head> of all documents & get the latest scripts out of the js folder.
Just use this line of code: <script type="text/javascript" src="js/scriptloader.js"></script>
This only reference to JS - please delete the other links and the inline Code - not necessary anymore.

/TIMO



 Comments   
Comment by Magnolia International [ 14/Oct/08 ]

How does this work with regards to the flashcontent element? Now I don't even see how article.html knows what swf to load

Comment by Timo Wirth [ 14/Oct/08 ]

it's all in the behaviour.js - clean & tidy: one size for all flashes on an article page.

Comment by Magnolia International [ 14/Oct/08 ]

So is the intention that we have one single swf flash movie per page, and always the same? I'm guessing not - so we still need a way to tell swfobject which swf to load. The closer to the div the better (easier). Also if you have multiple movies per page, the id probably needs either to be "dynamic" (flashmovie-N) or to become a class.
wdyt ?

Generated at Mon Feb 12 07:23:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.