This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <rule name="www.example.com" stopProcessing="true"> | |
| <match url=".*" /> | |
| <conditions logicalGrouping="MatchAll"> | |
| <add input="{HTTP_HOST}" pattern="^www.example.com" /> | |
| <add input="{REQUEST_FILENAME}" matchType="IsFile" /> | |
| </conditions> | |
| <action type="Rewrite" url="/site-files/example_com/{R:0}" /> | |
| </rule> | |
| <rule name="Image Cache" stopProcessing="true"> | |
| <match url="^assets/cache/([0-9]+)/([0-9]+)/(.+)" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getFile() { | |
| var postData = "foo=bar&this=that"; | |
| var request = YAHOO.util.Connect.asyncRequest('POST', 'script.php', getFileCallback, postData); | |
| } | |
| getFileCallback = { | |
| success: function(o) { | |
| panel.setBody(o.responseText); | |
| }, | |
| failure: function(o) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DTS.control = { | |
| ... | |
| init: function() { | |
| if (placeEditor) { DTS.control.defaultEditor(placeEditor) }; | |
| if (loadBlocks) { DTS.control.refreshBlocks() }; | |
| }, | |
| defaultEditor: function(el) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function nextSlide() { | |
| myEditor.saveHTML(); | |
| window.setTimeout(function() { | |
| var current = YAHOO.util.Dom.get('currentslide').value; | |
| YAHOO.util.Dom.get(current).value = myEditor.get('textarea').value; | |
| myEditor.setEditorHTML(YAHOO.util.Dom.get('nextslideid').value); | |
| YAHOO.util.Dom.get('currentslide').value = 'nextslideid'; | |
| }, 200); // So that saveHTML has had time to run | |
| } |
NewerOlder