Hello to all ...
I am very basic on this of javascript, so someone could help me how to resolve this issue.
I have a javascript (HTML internal), which fetches and executes a file in another web address...
but I do not want it to do that, i want this script to execute is function directly from my local disk (file location).
Here is the script;
What I want is to change this part;Code:<html> <head></head> <body> <div style="WIDTH: 984px; HEIGHT: 443px" ><script type="text/javascript"> var previewConfigs = [{ type: 'flash', preview_url: "http://myflashtest.com/files/9083/preview.swf", base: "http://myflashtest/files/9083/" }]; </script><span id="large_item_preview"> <object style="visibility: visible; Z-INDEX: 0; WIDTH: 590px; HEIGHT: 300px; TOP: -51px; LEFT: -27px; " id="large_item_preview_container" data="srcs-ff/preview.swf"></object> </span> <script type="text/javascript" src="srcs-ff/jquery.js"> </script> <script type="text/javascript" src="srcs-ff/preview.js"> </script> <script type="text/javascript"> if (typeof(previewConfigs) !== 'undefined') { for (var i = 0; i < previewConfigs.length; i += 1) { var preview = new ItemPreview(previewConfigs[i]); preview.display(); }; }; </script> <script type="text/javascript"> $(document).ready(function() { $("tr[data-accessor=source]").click(); }); </script> </div> </body> </html>
preview_url: "http://myflashtest.com/files/9083/preview.swf",
base: "http://myflashtest.com/files/9083/"



Hello to all ...
Reply With Quote
Bookmarks