Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Thanked 0 Times in 0 Posts

    How can i change entries_url to load from local file

    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() {
    <b>What I want is to change this part;</b>;
    preview_url: "http://myflashtest.com/files/9083/preview.swf",
    base: "http://myflashtest/files/9083/"

  2. #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,668 Times in 2,637 Posts
    Despite the similar sounding names, Java is not the same as Javascript.
    Moving from Java forum to Javascript forum.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts