Securing Data - How To Change PDF Path
Oct 19, 2009
I want to secure my data, I have link to pdf file when click it give all path to pdf like this
http://192.167.1.13/data/0000/000/00...00-000-000.pdf
I want to change it
to be like this
http://192.167.1.13/xxxxxx
or any other
I want to change it start from /data.
View 3 Replies
ADVERTISEMENT
Oct 29, 2010
why my code not work, when I change path of xml?,
$.ajax({
type:"GET",
url:"testPathxml.xml",
dataType:"xml",
[Code]....
View 1 Replies
View Related
Jul 23, 2009
I need to delete the path from certain files using js.
For instance
Change: images/icons/picture1.png
To: picture1.png
View 1 Replies
View Related
May 25, 2007
I'm currently at http://www.domain.com/the-path.jsp, and I would like
to be able, with JavaScript--and possibly the click of a button, which
I will most likely attach to IE's toolbar--transport to
http://domain.dev.domain.com/the-path.jsp.
Here's the environment: My browser is set to the page http://www.domain.com/the-path.jsp
and I plan to add a button to IE's toolbar via the registry that I
would like to execute the JavaScript, which contain the code to
perform the aforementioned procedure.
My JavaScript knowledge is, as I'm sure you've already surmised,
limited.
Here's what I know (or what I think I know)
The .js file header:
oShell= new
ActiveXObject("WScript.Shell");
the object: window.location.replace [or href].
I have a feeling a "and if" statement is needed here. Am I correct?
BTW: As far as the registry button addition is concerned, I'm set on
how to do that.
View 2 Replies
View Related
Aug 27, 2010
What I'd like to do is change the path to images with the class .changsrc. Eventually I'll attach this to a link, but for now I only need it to happen on page load. I managed to change the entire image src using attr() but that doesn't work for multiple images with one class name. (maybe I'm missing something there)So... how can I change
img src="images/imagename.jpg"
to:
img src="images/alt/imagename.jpg"
View 7 Replies
View Related
Sep 3, 2010
I need some help with a path change. It works for just one image but when I use it for multiple images they all change to the same one. I need the src images/fr to change to images/en with a click.
[Code]...
View 3 Replies
View Related
Apr 8, 2010
Im looking at a pretty old table driven site for a client. Its an affiliate based site so affiliates of the company can use their booking engine. They want to be able for affiliates to change some of the hardcoded images so as to use their own coloured ones.Is it possible with Jquery to change the image path on all of the images. So for example from:[code]Unfortuntly due to the nature and size of the company I cant use htaccess or do any real code changes hence i thought a JQuery would do it
View 1 Replies
View Related
Apr 27, 2009
I'm using a script to include images into a slide show using direct URLs to the image files, but I am using fckeditor (PHP) for my users to edit their content. The script in the .js file that pulls the images into the slide show.The user's image file is going to be named something like, "userImage01.php". Inside that file would be their image location path ~ "images/user/image1.jpg".Therefore, I need the above javascript to pull-in "userImage01.php" INSTEAD OF the image's location path.
View 10 Replies
View Related
Feb 28, 2011
I'm having 2 select boxes, if i change the first one i would like a 2nd select box to change the content, everything is comming from a database. not xml because i want everything to be stored in a database for. is this possible with an onchange command or something?
View 3 Replies
View Related
Dec 30, 2002
Would this be ok to use???
<script>
src=data1.js language="javascript" type="text/javascript"
function newdata()
src=data2.js language="javascript" type="text/javascript"
</script>
<a href="javascript:newdata()">new data
View 2 Replies
View Related
Jun 18, 2010
I'm interested in learning how to do this. What I'm doing is I'm making a social networking site linked to a game called Habbo, and for the registration page, once they put in their Habbo Username, I want to be able to load the image next to it. [URL]...
That is the link to the image. So basically, once they enter a value into the textbox, I want to be able to use that value to replace the [TEXTBOX.DATA] part from the above link and use that as an image.
View 5 Replies
View Related
Sep 29, 2011
I am having a single row which repeat dynamically. My issue is i want to make alternate colors in rows. (i.e white n gray) I can put the class for the row. but when it repeats it get the same bg color. How can i do the alternate thing.?
View 5 Replies
View Related
Nov 3, 2011
where a user might change form data without first focusing on the form element. For instance, can it be counted on that an input field will be focused (onFocus) prior to its value being changed?
I know that it can't be counted on to be secure, but for general use by everyday users, can one assume an element's onFocus event will be triggered prior to the user changing form data? If not, in what scenarios isn't this the case?
View 1 Replies
View Related
Feb 27, 2010
I want to dynamically change the content of a container tag (DIV for example) with the data of another container tag present in a different HTML file placed in a different folder
My open HTML file is 'A.htm' placed in 'Folder A' and container id='old_data'
My required content is inside the tag with id='new_data' present in file 'B.htm' and placed in 'Folder B'
so, code in file A.htm may be
> document.getElementById('old_data').innerHTML = <<What Comes Here >>
View 2 Replies
View Related
Jun 4, 2010
How in Javascirpt can I make only the first data in an array the color green and the rest yellow?
example
var price=new Array (12, 15, 23, 25);
I want the first data in the array which is 12 to be the color green and the other data in the array (15, 23, 25) to be yellow.
View 2 Replies
View Related
May 31, 2011
I'm attempting to make a simple hover image gallery with a static large image which swaps with a thumb on hover. However, on hover what happens is the new image comes up as the large image and if I then hover over another thumb it replaces that thumb with the original bigpic image source.
View 2 Replies
View Related
Jul 23, 2005
Is there a javascript variable that contains the path of the file from which
it ran?
Something like this....?
alert('My path=' + MyURLPath);
Is this possible?
View 4 Replies
View Related
Apr 26, 2005
Can I subtract the filename form the location.pathname ex:
Before = 'file:///c:/afolder/awebsite.html'
After = 'file:///c:/afolder/'
Or is there any other way to get the directory without the name of the file being veiwed?
View 1 Replies
View Related
Jul 23, 2005
I have the following directory structure
index.jsp
a.js
b.js
|
|--/templates
|
|--/blah.jsp
Now blah .jsp is included INSIDE index.jsp.
In blah.jsp I have a button that calls a function inside b.js.
In index.jsp I have following code inside head tags:
<script src="a.js"></script>
<script src="b.js"></script>
and I figured since blah.jsp is included inside index.jsp, I should be
able to access the javascript methods with ease. But its not happening
that way. I get an error (object expected in the line that has button in
it). BTW, its not a problem in my JS or JSP code, because if I put the
js file's contents inside blah.jsp, then it works like a charm!
So what am I doing wrong?
I also tried moving my script import statements inside blah.jsp as:
<script src="../../a.js"></script>
<script src="../../b.js"></script>
But this doesn't seem to work either?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
View 3 Replies
View Related
Jun 30, 2006
i just wanted to retrieve path of a file residing on local client
system using javascript
View 5 Replies
View Related
Mar 21, 2011
I'm having an issue using .get and a callback. Basically, unlessI use a fully quantified path when I deploy my site the call doesn't work. When I'm developing on localhost, the site works fine. It's an ASP.NET MVC site. I'm fairly new to jQuery. If I replace the code with an absolute path, all seems fine. Obviously I'd rather use relative paths. I'd be grateful for any insight you could offer.
[Code]...
View 2 Replies
View Related
Mar 19, 2009
I can't figure out why I am not able to read the cookies sitewide, maybe it is the way I am setting the cookie but the cookie looks to be set correctly in the Firefox browser.
On the page that I set the cookie, it works. I can read the cookies I set on the same page as well.
If I move to another page to view the cookies it gives an undefined value when using the getCookie function.
IF the problem lies in the getCookie function, please explain the code a little to me so I can get an understanding what I missed.
Code:
View 1 Replies
View Related
Feb 17, 2009
I set the cookie with out the path. Is it OK to leave the path if you want the path to be "/"?
Code:
I see i firefox if I don't set the path , for path I get "/" ..Seems like default is "/" . Not sure if all browswe will set it to "/" by default?
View 1 Replies
View Related
Jul 16, 2009
i have this web application in which the user has to browse and select a folder but not file. i used <input type="file"> , which helps in retrieving only files.
View 3 Replies
View Related
Oct 7, 2009
I don't normally use Javascript apart from a few browser workarounds, but I have a requirement to set a country cookie and it was working when all my pages were in the same directory, but now that I've added subdirectories, it sets a new cookie for each directory instead of one sitewide.
Here's the code (which I edited from some found on the internet):
Then on the homepage links I use:
Then on the subdirectory pages, I have a reset button which allows you to return to the homepage and disable the redirect.
So I just need the path=/ to be added somewhere is that right? I tried changing the last line of the main code to:
View 4 Replies
View Related
Apr 16, 2007
1. I have some links that open with Javascript. The HTTP links work just fine, but I have one link that is supposed to open a picture in a new window. The picture is stored in the root/images folder. So it's supposed to be a relative path, but no matter what I do, I get an error page. (images/snailmail.jpg)
2. I have added a mouserollover funtion to change a small picture on the page. I am trying to add a second function to that function, to stop the scrollbar in the lower left corner as long as the mouse hovers over the picture. For the first picture, it works fine, but with the 2nd picture which allready has a mouseover function, I am not sure what to do.
View 3 Replies
View Related