I'm trying to lightbox a page containing a SWF via the nifty AJAX feature in Facebox (for jQuery). The trouble is that the paths now work relative to the main index page, not the directory that houses the flash page. Here's a directory breakd...
Okay, I have a JavaScript file with the following functions:  function AskReason() {     var answer = prompt("Please enter a reason for this action:", "");     if (answer != null)         DoReason(answer); }  function createXMLHttpReq...
I am in the process of testing a Magento 1.3 site using Magento 1.4. I am seeing very weird and inconsistent behavior. Instead of including the URL of my javascript files, Magento is creating tags with the full filesystem path of the js files, as so:...
I'm having trouble getting C# and JavaScript/jQuery to play nice here.  I have a knockout view model, plain old javascript object... one of its property/methods fires off an .ajax() call, and the url parameter is built using some of its other pro...
I was surprised by an experience with relative paths in Javascript today. I’ve boiled down the situation to the following:  Suppose you have a directory structure like:  app/    |     +--app.html    +--js/         |         +--app.js         +--dat...
Hello This is my folder Structure and i want to require/import the serverError.log file in app.js.  To require the config file i am using  "require(../../../../../config/db.js)" and its works fine for db.js.But whenever i am giving readFile(&...
<param name="source" value= "/ClientBin/Gantt_SL1.xap"/>   This involves HTML markup and Silverlight. Basically in the markup I have the line above. What I would like to do is use this relative path throughout my markup. I have...
I have a nodejs application using hapi.js and I'm trying to download an image from a url. Heroku is giving me errors with the pathing.  My code:  Request(uri).pipe(fs.createWriteStream(__dirname+'/../public/images/'+filename)).on('clo...
I exported an Excel sheet to a tab delimited file (.txt) and now try to batch-import it into a PDF-form via Acrobat Reader Pro DC. This works perfectly with an action, that imports said .txt, as long, as the path is absolute. Because I want to ship t...
These are my marker options  var markerOptions = {                 clickable: true,                 draggable: false,                 flat: true,                 map: map,                 icon: 'food.png',                 optimized: true,...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.