Downloaded All Of The Pages And Rebuilt It On Server?
Nov 13, 2009
been trying to maintain a memorial website that we had created when my sister passed away. It was hosted somewhere but the person who made it couldn't maintain it anymore, so I downloaded all of the pages and rebuilt it on my linux server. Heres the site:If you poke around on there you will see some pages that have text that says click here for more pictures, like on the growing up page, and the baby pictures page.Thats my problem, the links dont work. The pages were created with Freeway, and alot of javascript in there that I dont understand. I have all of the pictures in the directory , no clue why they wont load?ll post the javascript that I think is the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Baby Pictures</title>
[code]....
View 7 Replies
ADVERTISEMENT
Mar 8, 2005
Does anyone know of a handy way to disable a user from downloading javascript when they save a page?
Here is my problem. I have javascript that disables right clicks on a page. However the user could just "save" the page to there desktop and remove the function that disables right clicks.
Anyone know of a good work around? I've heard of other complex ways, but I was looking for a simple solution.
View 4 Replies
View Related
Oct 17, 2011
I'm just starting to learn jQuery actually.. I downloaded the starterkit, unpacked it and also downloaded the latest jQuery file from this website.. all referenced to with the right path in the file but for some reason it doesn't work! I also tried the link to the jQuery file on Google but still the same problem.. I know the path is right because when I view source and click on the link, the right file opens.
If I click the 'Run Code' button on the homepage here it does what it's supposed to do, just on my own computer nothing works?
View 3 Replies
View Related
Aug 31, 2011
load external pages (from a different server) into a lightbox, without using a iframe.
View 6 Replies
View Related
Jul 23, 2005
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!
With gzip compress, it comes down to 91Kb, much more modem-friendly!
After about 30 minutes of googling, I haven't yet found a way of serving this page up like this.
I can't send headers as no php or .htaccess is allowed.
And please don't suggest I move to a "proper" web host! It's for a friend with a one-off need for a small website for about 2 months, and the freebie 10Mb is fine.
View 3 Replies
View Related
Mar 23, 2009
I am working on implementing a carousel-style switcher (using a pre-built script dependent on the MooTools library) on the home page of one of my Web sites. The script displays a series of thumbnail images. When the user clicks on one of those thumbnails, an AJAX request returns the following items, which are then switched out using javascript:A background image (usually between 50 and 100 kilobytes)A foreground image (usually between 10 and 20 kilobytes)A header for the promotional item (strictly text)The body text of the promotional item (text and HTML code, generally no more than 200 characters of text)I have all of that working properly.
When the user clicks on the thumbnail, the AJAX function executes. Then, I use javascript to invoke a new Image() object to load the background image. Once that's completed, I invoke another Image() object to load the foreground image. Once both requests are fully loaded, I switch out the information. While they are working, I display an animated gif that indicates the information is loading. However, if at all possible, I would like to implement a progress indicator rather than just a simple animated gif. Because of the size of the background images, it can sometimes take between 10 and 15 seconds to load on a dial-up connection (even longer if the user's connection is especially slow or overloaded).
That's a long time to sit and stare at a "loading" image, especially if there's no way to indicate whether it's going to actually do anything or if it's just completely stalled. I am already sending the filesize of the background image and the foreground image to my javascript using the AJAX request, so if I need to use that somewhere in my script, I can easily do that. However, I've hit a roadblock in trying to figure out if there's a way to determine how much the user has actually downloaded successfully. From most of my research, it does not seem possible (due to security issues) to determine any sort of file size on the user's local computer using javascript.
However, the majority of the information I've found on the subject seems to relate to the opposite type of situation (users uploading files rather than downloading). The few examples I've been able to find for "download indicators" seem to simply count the total number of images being loaded, then divide 100 by that count. Then, for each image that loads, it adds that percentage to the indicator. Since I will always be loading two images, that means that my download indicator would always display 0%, 50% or 100%, which isn't much more helpful than the animated "loading" gif I'm already using. Is there any way to use javascript to determine how much (percentage-wise or in bytes) of a file a user has downloaded from the server into their cache?
View 4 Replies
View Related
May 12, 2011
I have a small function that replaces an image with that of a clicked thumbnail (and updates some text). Is it possible to display a loader whilst the new image is being downloaded?code...
View 4 Replies
View Related
Sep 15, 2011
I don't know if anyone here has downloaded the dev edition of windows 8 yet (it was released last night 5:00p, est)I am trying to get jquery to work, but it just wont... I tried simple stuff, but I was hoping someone here knew how.
View 2 Replies
View Related
Jun 17, 2009
How to detect if the file has downloaded completely?
View 6 Replies
View Related
May 10, 2004
is there a way to check if a picture has downloaded completely?
What I (read: my boss) want to do is open the index-page with a picture, and after it's downloaded, reload the website to index2.php after say 4 seconds.
Is it enough to do an OnLoad in the body tag, or doesn't that include the downloading of the items/pictures on the page?
View 4 Replies
View Related
Jun 21, 2009
i need to remove all lines containing text from each line in downloaded.txt from the file download.txt.So I have a function Remcon.I need Remstr = to every line of downloaded.txt , and text ill fix my self.
function remcon()
{
var text = document.form_rli.input_output.value;
[code]....
View 1 Replies
View Related
Apr 22, 2011
It would be nice to be able to sort plugins by the number of times voted on. I know you can see how many times it has been voted on after you go to the detail page but it would be helpful to get that info as a sort field on the "Most Popular Plugins" page because then you could tell wether a 5 star has been voted on once or a 1000 times. I personally would rather get a 3 1/2 starred plugin voted on 1000 times then a 5 star voted on once by the developer. Don't get me wrong I would vote 5 stars on my plugin too.
View 4 Replies
View Related
Nov 27, 2009
I need to track the number of times a link is clicked/file downloaded & capture this info in the database.
View 3 Replies
View Related
Sep 27, 2009
I coded the following JavaScript:
var el = document.createElement("iframe");
el.setAttribute('id', 'ifrm');
document.body.appendChild(el);
el.setAttribute('height', 250);
[Code].....
And am putting it between <script type="text/javascript"> and </script> tags in the <body> section of my site. But, it only works in certain areas of the page.
View 6 Replies
View Related
Oct 2, 2010
I have the following JavaScript (see below). The script requests an XML file from the server and displays it on the page.
The script works fine when the requested XML file is stored on the same server as the script.
The problem is when I try requesting an XML file from an external server such as the National Weather Service. I get an error. If I take the XML file from the National Weather Service and save it to my server it works. Why can't I use my script to request XML files stored on external servers?
Javascript Code
window.onload = initAll;
var xhr = false;
function initAll() {
document.getElementById("makeTextRequest").onclick = getNewFile;
[Code]....
View 8 Replies
View Related
Mar 11, 2010
I'm trying to write a script that will be loaded from one server into a website on another server. This script is trying to talk (ajax) to the server that it comes from but I'm getting "Access Denied" errors. I'm well aware that cross-domain calls are not allowed for security reasons so my question is how does Google Analytics work because essentially thats what I'm trying to accomplish. I can embed a Google Analytics script into my website and it'll gather data and send it back to Google.
View 4 Replies
View Related
Apr 19, 2010
I'd been looking for some way to get server date/time without using any server side script (such as ASP, PHP, etc).
I found this and it worked just excellent for me! I just want to share it because it wasn't easy to find.
I created a js document with code:
Code:
Now, I can use this js within a html like this:
HTML Code:
You may change your machine date/time and check both dates.
View 1 Replies
View Related
Feb 10, 2010
I would like to open an html file locally (not fetch it from a server) and somehow use javascript to fetch the relative resources from the server. One solution would be to convert all of the relative links to absolute links. I can convert the html source file anyway I wish, but ideally I would like to modify the html source as little as possible, for example insert a function that modifies the result of the src attribute. How would I go about this? Is there any trick I can use to define where the relative home is? Am I going to get into any scripting security gotchas?
View 3 Replies
View Related
Dec 31, 2006
I am creating an XML document on my page with javascript. My question
is, is it possible to save that xml file on the server (I have write
permissions) only using javascript, ie no server code? This task would
be trivial using server code, but I was wondering if I can do it all
with client code and post backs? Well, any input?
View 1 Replies
View Related
Jul 3, 2010
I was trying to create an enable/disable button that works with AJAX. So, when a user clicks the image link, it is automatically replaced with a validating.gif image. That image is shown until the $.post() request is completed. But...the image isn't cached...it's re-downloaded every time for each link.
The image src is loaded as:
validating.gif?id=1
validating.gif?id=2
validating.gif?id=3
etc.
instead of just:
validating.gif
I did this is because whenever a new img src was changed to "validating.gif", any existing img src's that were set to "validating.gif" would reload/restart the animation when the change occurred. Is there a way to fix this so that the animation remains uninterrupted and that the validating.gif image isn't re-downloaded for each link?
View 2 Replies
View Related
Dec 7, 2010
I already have a server connected to clients, clients send msgs and it echoes back to all of them and now i want when a client sends a msg it echoes on his server and the other server too .. so when any of the clients on any of the servers sends a msg it is broadcasted all over the servers to all clients
[Code]...
View 1 Replies
View Related
Jul 19, 2011
How to link two html pages? If we use <a> then what do wr give value to href?
View 3 Replies
View Related
Jun 24, 2010
In ASP.Net, I am trying to create a WebControl. In this control, I have RenderControl method overridden with my html controls.
protected override void RenderContents(HtmlTextWriter output)
{
output.Write(@"<table><tr><td>");
[code]....
How can I make the button call the click event so that the server side method btnExecute_Click() can be called? Also, this button calls a javascript function before server side even.
View 5 Replies
View Related
Dec 24, 2006
i find some web sites show different pages by user's click on the different
headers.
most important is the client browser does not reload from the remote server.
may i know have some info / basic operation on it?
View 2 Replies
View Related
Aug 8, 2011
I'm working on a slideshowish type thing using jqm & player, and I'm having trouble solving what seems like it should be a simple problem. I'm using virtual pages, and a javascript object as a script to build the pages programmatically -
[Code]...
If I'm correct that there is no way to get i+1 inside of an $each(collection, function (i, item){} through i + 1 (well, I know that doesn't work - if i is "T1" then i+1=T11), or i.next or something, is there an elegant way to get the next iterator? Something like i.parent.nextChild or something? Should this be in the getting started forum?
View 3 Replies
View Related
Mar 7, 2009
You know when you have a menu on a page, and have.. let's say.. a 100 other pages.
Say the menu is like this:
Now: you want to add a page to this menu. Instead of adding a page to every single menu, could you have (earlier) edited in this:
Or wouldn't this work?
I asked about how to do this in another place once, and got a reply about using 'PHP inputs', but I'm using tutorials for JavaScript now, and it seems like this would do it. Would it work?
View 3 Replies
View Related