Click here to Skip to main content
15,885,782 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Problem connecting to WCF Rest service Pin
Wjousts8-Aug-11 4:41
Wjousts8-Aug-11 4:41 
Questionjson object in repeater row click Pin
fififlowertot3-Aug-11 0:16
fififlowertot3-Aug-11 0:16 
AnswerRe: json object in repeater row click Pin
fififlowertot7-Aug-11 9:29
fififlowertot7-Aug-11 9:29 
QuestionHow to set user control property using Jquery Pin
josehidalgor27-Jul-11 12:15
josehidalgor27-Jul-11 12:15 
AnswerRe: How to set user control property using Jquery Pin
Gerben Jongerius27-Jul-11 20:29
Gerben Jongerius27-Jul-11 20:29 
GeneralRe: How to set user control property using Jquery Pin
Not Active28-Jul-11 1:04
mentorNot Active28-Jul-11 1:04 
GeneralRe: How to set user control property using Jquery Pin
Gerben Jongerius28-Jul-11 19:47
Gerben Jongerius28-Jul-11 19:47 
QuestionHow can i change entries_url to load from local file Pin
CyberPath27-Jul-11 4:33
CyberPath27-Jul-11 4:33 
Smile | :) 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;

<html><br />
  <head></head><br />
  <body><br />
      <div style="WIDTH: 984px; HEIGHT: 443px" ><pre><script type="text/javascript"><br />
    var previewConfigs = [{<br />
      type: 'flash',<br />
      preview_url: "http://myflashtest.com/files/9083/preview.swf",<br />
      base: "http://myflashtest/files/9083/"<br />
    }];<br />
                </script></pre><span id="large_item_preview"><br />
                  <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><br />
          <script type="text/javascript" src="srcs-ff/jquery.js"><br />
          </script><br />
          <script type="text/javascript" src="srcs-ff/preview.js"><br />
          </script><br />
          <script type="text/javascript"><br />
    if (typeof(previewConfigs) !== 'undefined') {<br />
      for (var i = 0; i < previewConfigs.length; i += 1) {<br />
        var preview = new ItemPreview(previewConfigs[i]);<br />
        preview.display();<br />
      };<br />
    };<br />
          </script><br />
          <script type="text/javascript"><br />
    $(document).ready(function() {<br />
      $("tr[data-accessor=source]").click();<br />
    });<br />
          </script><br />
    </div><br />
  </body><br />
</html>


What I want is to change this part;;
preview_url: "http://myflashtest.com/files/9083/preview.swf",
base: "http://myflashtest/files/9083/"
AnswerRe: How can i change entries_url to load from local file Pin
twseitex27-Jul-11 10:34
twseitex27-Jul-11 10:34 
Questionuser should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
yogesh8926-Jul-11 1:26
yogesh8926-Jul-11 1:26 
AnswerRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Roman_wolf26-Jul-11 3:10
Roman_wolf26-Jul-11 3:10 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Not Active26-Jul-11 14:01
mentorNot Active26-Jul-11 14:01 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Roman_wolf26-Jul-11 22:30
Roman_wolf26-Jul-11 22:30 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Not Active27-Jul-11 0:58
mentorNot Active27-Jul-11 0:58 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Roman_wolf27-Jul-11 2:24
Roman_wolf27-Jul-11 2:24 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Not Active27-Jul-11 2:58
mentorNot Active27-Jul-11 2:58 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Roman_wolf27-Jul-11 3:31
Roman_wolf27-Jul-11 3:31 
AnswerRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Not Active26-Jul-11 14:00
mentorNot Active26-Jul-11 14:00 
AnswerRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Shameel27-Jul-11 1:05
professionalShameel27-Jul-11 1:05 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Not Active27-Jul-11 2:03
mentorNot Active27-Jul-11 2:03 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Shameel27-Jul-11 2:20
professionalShameel27-Jul-11 2:20 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Not Active27-Jul-11 2:57
mentorNot Active27-Jul-11 2:57 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Shameel27-Jul-11 5:21
professionalShameel27-Jul-11 5:21 
GeneralRe: user should have to enter 4 numbers in textbox after 4 numbers textbox should not take any number Pin
Not Active27-Jul-11 6:33
mentorNot Active27-Jul-11 6:33 
QuestionHow use javascript code for loading bar a .swf file Pin
nima_pw24-Jul-11 5:38
nima_pw24-Jul-11 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.