I have a very strange problem. When I am linking my webpage with an external js file and provides fully qualified url it does not loads the js file. If i double click the file from directory which contains the html file it works fine. I changed the path in link tag to "C:&#92;..etc&#92;" but it didnt work. but if i put that js file in the same directory as of the html file it works (but sometimes). I am not getting whats going wrong. \n\nPlease help.
207747
You can't link to your local hard drive. Create a folder on your host called JavaScript and upload the JavaScript there...
317751
I get a Javascript pop-up alert error in Firefox - which means that none of the navigation now works so I can't move around the site. \n\nThere's a philosophy od web design that says when adding Javascript functionality - make sure the backup system works when Javascript doesnt work or is turned off. This is a good example of that having a real affect here.\n\nBased on just the home page - I'd say: it needs to show the main content right away... If its articles/tips on bodywork - might be nice to have an example of one tip plus links to go directly to other tips...
587506
Where are you trying to upload the code and pages?  \n\nIf you have a webhost, then they should have provided you with the information on how to move your code there.  Usually, I use FTP to connect to the server and move the code there.  Please provide more details if you want more detailed answers.
5930
Assuming that by Ajax you mean "use of the XMLHttpRequest object/active X control through javascript", there are a few options.\nPerhaps the biggest limitation of the XMLHttpRequest object is its overly strict security model, allowing only connections to the exact hostname the web page was loaded from. Recent browser updates have started to relax that model, but ajax apps that want to target most browsers are still stuck with the strict model.\n\nVarious "hacks" have been put together to partially overcome this "same-domain" limitation. Those include using IFRAME, SCRIPT or IMG tags, all of which can target external domains and get some data back, to various extents.\n\nMore interestingly, Flash offers an XML object which offers very similar functionalities to the XmlHttpRequest object, but also allows to target external domains (the exact domain behavior is dependent on the flash version. flash 6 allows some curious sub-domain access, while flash 7 and above allow arbitrary domains, provided an authorization file is served by the external domain.)\n\nMy opinion is that Flash is currently being grossly under-used by the Web 2.0 crowd, considering its potential. \nI would expect more applications in the future to use a hybrid flash/js model, where flash provides the backend networking code, while the UI is done using HTML/CSS/JS.
222243
You can maybe create a seperate html page and embed the .swf name of the file you are trying to link to. But you cant link to the file itself, you would just have to link to the page. If you want to do it the way you are talking about, you would have to have the .swf file available.
147207
It sounds like you may have something on your computer that is disabling or hindering javascript from running.  \n\nI disabled javascript on my pc and tried to login.  But, I was redirected to a page letting me know that they needed javascript to run or that I could use the "old version."\n\nNonetheless, you may want to check the settings of your web browser and see if anything that should be enabled is disabled.
433318
I presume 'linkopen("link1");' is a created function, if so it's just a case of calling the function on the onload event.\n\n<html>\n<head>\n<script type="text/javascript">\nvar myLink = 'http://answers.yahoo.com';\n\nwindow.onload = function()\n{\n   linkopen(myLink);\n}\n</script>\n<body>\nContent...\n</body>\n</html>\n\nIf not, then here could be a sample openlink:\n\nfunction openlink(url)\n{\n   document.location.href = url;\n}\n\nOr if you wanted it as a popup:\n\nfunction openlink(url)\n{\n   window.open(url, '', '')\n}
588179
The question is not clear to me, but you can do relative\nlinking in html such as\n<a href="../index.html">return to index</a>\nwhich goes up one directory to the index file\n".." == up one directory.  In this way you can build complex directory structures of html documents which can be moved around to other relative locations with no changes.  See link.
417295
Users are actually enabled I think, by right clicking on the link and selecting save target as.\n\nBut if you want to provide a link that MAKES them download instead of displaying it inline - that's how it's called I think -, you have to tell their browser about this. I don't know how much you know about this, so I explain this a little bit.\n\nThe browser and the server communicate with each other via the HTTP protocol. The browser sends a HTTP Request to the server, and the server sends back a HTTP Response. A HTTP Response message consists of a Response header and a Response body. The body is the actual content (usually HTML, but in your case the contents of the file), and the header contains all the other information like actually what the content is, what character set is used, whether it should be cached or not, etc.\n\nTo control what headers are to be sent by the server, and that is what you need, you have to use for example PHP.\n\nI modified one of my scripts for you, if you happen to have PHP on the server where your files are on. If you copy this to a file named getfile.php (_including_ the <?php and the ?>) and put it into the same directory where the quicktime files are in, <a href='getfile.php?file=[file name here]'>Download</a> will be the code that you need to put in your HTML, or if you work in an editor, you create links with the above address, evidently. Be sure not to have anything in that directory that you don't want the users to access.(If you want the files to be not in the same dir as the getfile.php, you can modify the $directory='.'; line, eg. $directory='files'; will download files from a directory named files located in the same directory as getfile.php.)\n\n<?php\nif(!isset($_GET['file'])) die('Error! The filename is missing.');\nif($_GET['file'] == 'getfile.php' )) die(':-p');\n$directory='.';\n\n$fn=urldecode($_GET['file']);\nif(strstr($fn,'/')!==false or strstr($fn,"&#92;&#92;")!==false) die(':-p');\nif(ini_get('zlib.output_'\n.'compression'))\n     ini_set('zlib.output_'\n.'compression', 'Off');\n$flpth=$directory.'/'.$fn;\nif(!file_exists($flpth))\n{\nheader("HTTP/1.0 404 Not Found");\ndie();\n}\n\n$f = fopen($flpth, "rb");\n$content_len = (int) filesize($flpth);\n$content_file = fread($f, $content_len);\nfclose($f);\n\n$output_file = $fn;\n\nheader('Pragma: public');\nheader('Cache-Control: no-store, no-cache, must-revalidate'); /* HTTP/1.1 */\nheader('Cache-Control: pre-check=0, post-check=0, max-age=0',false); // HTTP/1.1\nheader('Content-Transfer'\n.'-Encoding: none');\nheader('Content-Type: application/octetstream; name="' . $output_file . '"'); /*This should work for IE & Opera */\nheader('Content-Type: application/octet-stream; name="' . $output_file . '"',false); /* This should work for the rest */\nheader('Content-Disposition: attachment; filename="' . $output_file . '"');\nheader("Content-length: $content_len");\necho $content_file;\n?>\n\nI hope that helps (and that the way yahoo displays it doesn't spoil the code). If you have problems, feel free to contact me, I'll help when I have time.
143555
You can do this with a server-side include, assuming your Web server supports server-side includes (most do).\n\nTo do that:\n\n1. Create your links page, minus the html, head and body tags.\n\nIn other words, your links page would just be the links and associated HTML:\n\n<p><a href="somelink">Some Link</a> | <a href="link2">Link 2</a></p>\n<p><a href="link3">Link 3</p>\n\nSave that page as links.htm\n\n2. You'll need to rename all the files that will include this page to be .shtm or .shtml, rather than .htm or .html.\n\n3. You'll save the link file to the root directory of your Web site (that is, the same directory as your default home page).\n\n4. You'll add this wherever your want the links page to appear:\n\n<!--# include virtual="/links.htm" -->\n\nSo yes, you do need to re-upload all the pages you want to have the links page appear on after renaming their extensions and adding the code in step 4.\n\nYou'll also need to re-link all your pages to each other, to reflect the new .shtm / .shtml extensions.\n\nSo there's some significant initial pain, but once you've done that, any time you change your links page, it will appear properly in every page, as changed.
198756
what operating system are they both running? has it worked before? Were there any recent system changes? I'm thinking it might be a difference in the configuration and all...but I'm not really sure. I need more information to determine the problem.\n\nactually...if it's only certain webpages and all and you've already been there before...it might very well be that those pages are cached (temporarily stored on your hard drive), in that instance...instead of going online to the page, it simply loads from your hard drive instead.\n\ndo a virus scan. also check your firewall settings on that computer. hope that helps
591863
That means it didnt load the images. Go to TOOLS>>INTERNET OPTIONS>>ADVANCED TAB>>SCROLL DOWN TO MEDIA SECTION>>CHECK 'Show Pictures'.\n\nIt's either that or whoever's page the images are on, are linked to somewhere and those images dont exist.
352511
<input type="file" ...>  will permit you to choose a file, but the only use for that file is to upload it to a server, javascript can't read local files.\n\nthere are work-arounds though!!
74566
Possibly a cache problem.\n\nHold <ctrl> and press <f5> to load from the server bypassing your browser cache.
656471
...and mine shuts down when i type in an address.  so far, the links are working.  i just downloaded some updates, we'll see if it helps matters.  or, you could just download mozilla firefox as an alternate browser.
197860
Did you try google image(search)?\nSurfing other sites no problem?\nWhat do you mean by not working, no change after click, no loading of page or what?
661284
There could be a delay in when the new files are activated due to caching at your host. Often people do not see their changes due to caching in their own browser.\n\nYou talk about links and pictures, so this is possibly about how your reference url,s are set up. \nCheck your link href's and picture src's. Do you include path information to your c:&#92; and such... make them relative. Do they start with "/" and they do not work, these refer to the web root - change them to purely relative. Do they start with "&#92;", change this into "/".\n\nStill having trouble? Have all your files and images reside in a single directory and remove all path info from the links; use only the filenames. Just until you know how to work this.\n\nWant to find out how it is done in other websites? On any web page you can have your browser show the HTML source with 'View Source'.\n\nGood luck!