View Full Version : How can i change entries_url to load from local file

07-27-2011, 03:11 PM
:) 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;

<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/"
<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 type="text/javascript" src="srcs-ff/preview.js">
<script type="text/javascript">
if (typeof(previewConfigs) !== 'undefined') {
for (var i = 0; i < previewConfigs.length; i += 1) {
var preview = new ItemPreview(previewConfigs[i]);
<script type="text/javascript">
$(document).ready(function() {

What I want is to change this part;
preview_url: "http://myflashtest.com/files/9083/preview.swf",
base: "http://myflashtest.com/files/9083/"