HTML - Auto Refresh Pdf Files As Link
Good morning...
I have a bunch of links that open pdf files publish on a server. These files are overwritten with the latest data every 30 minutes... the challenges i have is to open the latest and greatest when i click on the link..... I do have a meta refresh code in the head of my page, it look like this: <head> <meta http-equiv="Cache-Control" content="no-cache"> each one of my links look like this: <a href="http://myweb.com/report/reportinpdf.pdf"; >Report name herer</a> Any ideas on making sure that i open the latest and greatest instead of whatever is in the cookies....???? (i am assuming that is why the files is not updating...) Thanks in advance... Seabass Similar TutorialsThis is my first time posting here and was needing some help regarding auto refresh in html. I have a web page on our local network for my work that uploads screen shots of security cameras around the different locations. I have the page set to auto refresh and when it does refresh to redirect to another page that has a different set of cameras on it. The redirect works but the problem is after leaving this page up and running for several hours it will get stuck after a redirect and will keep trying to load the page for hours and wont redirect. It usually gets stuck on grabbing one of the images of the cameras, and then has problems displaying the image which then causes the page to sit and try to load for hours with no redirect. I was just wondering if there is anything that i can do for this? I am new to html and dont know much so any help will be greatly appreciated. Dpat is there any way that you can refresh one image on an html web page without haveing to refresh the whole page? Is this the correct code to use to auto-refresh a web page? It is not working for me. Is there something I'm missing? <META HTTP-EQUIV="Refresh" CONTENT="60; URL=http://website.com/"> Thank you. Hi there. Just to give a background of where this will be used, it is for Radio City in Liverpool (UK radio station of the year 2007). So big stuff! It will be used for what we already have in use, which is using frontpage, the person answering phones for the sport football phone-in, we key in the caller name, where they are from and what they want to talk about into a frontpage auto refresh we have, which refreshes every couple of seconds in the main on air studio. So we key in the details, it refreshes in the studio and can see what caller is there. What we would like to do now is to have someway of auto adding the data into a database on auto refresh when it detects new information ahs been keyed in, and it adds each field into microsoft access. So this keeps a database of callers that have gone onto the show for future usage. Is there any kind of way this is possible even just adding the caller into a new frontpage page automatically, maybe not access? Access would be easier, but is it possible at all? I was thinking along the lines of "on refresh, detect new info, detect fields, add new info into database". Hope you can help for this major project for such a major station! thanks, Ryan. Hi I am trying to make a html page where I have 3 swf files which I would to be shown randomly when you refresh the page. However I can't get the code to work. I have tried to delete the javascript part and then the movies are being shown - but not in the right way. And when the javascript is there no movies are shown. I would really appreciate if someone could help me! Thanks! Code: <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> </body> <script language="JavaScript"> // Generate a Random Number var randomnumber = Math.round(Math.random()*3); // Select a movie and execute the corresponding function if (randomnumber == 1) {movie1();} else if (randomnumber == 2) {movie2();} else {movie3();} // Functions to write out the correct flash movie resource. function movie1(){ document.write("<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="233"> <param name="movie" value="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" /> <param name="quality" value="high" /> <embed src="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="233"></embed> </object>") } function movie2(){ document.write("<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="233"> <param name="movie" value="http://www.wiseentertainment.dk/quizformoney/Interstitials/deposit.swf" /> <param name="quality" value="high" /> <embed src="http://www.wiseentertainment.dk/quizformoney/Interstitials/deposit.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="233"></embed> </object>") } function movie3(){ document.write("<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="233"> <param name="movie" value="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" /> <param name="quality" value="high" /> <embed src="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="233"></embed> </object>") } </script> </html> I there. I'm trying to buid a page that once selected an item from a list, auto-reads files in a folder and and sort them in a table, with a calendar look. The files are being feed to the folder with the name "ZON YY-MM-DD.gif" "PSI20 YY-MM-DD.gif" "JMAR YY-MM-DD.gif" i.e. "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | -------------------------------------------------------------------- YY-MM-DD | YY-MM-DD | YY-MM-DD | YY-MM-DD | YY-MM-DD | .... .... .... -------------------------------------------------------------------- 08-10-20 | 08-10-21 | 08-10-22 | 08-10-23 | 08-10-24 | -------------------------------------------------------------------- 08-10-13 | 08-10-14 | 08-10-15 | 08-10-15 | 08-10-16 | -------------------------------------------------------------------- Until now for each week I was coding in manually the new row for each item, but it's a pain changing the date and item. <tr> <td><div align="center">07-07-2008</div></td> <td><div align="center">08-07-2008</div></td> <td><div align="center">09-07-2008</div></td> <td><div align="center">10-07-2008</div></td> <td><div align="center">11-07-2008</div></td> </tr> <tr> <td><div align="center"> <p><img src="ZON 08-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 08-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 09-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 10-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 11-07-08.gif" width="220" height="129" /></p> </div></td> </tr> How can I do this automatically? Doing it with FOR's WHILE's and IF's seems very troublesome. Any code or pointers are welcome. BLopes Hello, I'm trying to create a little page that auto updates itself whenever new files are added. The system is layered such that I have the top level index.html file, then in the same directory, I can add new folders that contain other index.html files. What I want to do is have the top level index.html file pick up every sub directory, grab the name from the directory, and then create a link to that directory's index.html file and then display it in the top level index.html file. So what I have right now is this: HTML Code: <body> <a href="myFirstDirectory/index.html">myFirstDirectory.html</a> </body> There is other stuff, but this is the part I need help with. As you can see, I also want the name that is displayed to be the same name as the directory. I do not know how to automate this if I have other folders in there like directory2, directory3, etc. Can anyone show me an example of how to do this or walk me through it? Thanks in advance. Hello, I was able to get the "force repeated refresh" Meta code to work, which is awesome because that's what I needed , however, I am running into a snag. I tried using both JavaScript and just a typical <a href> link, but when you click on either one the Meta Refresh ceases to process. Code is below. I tried plugging the meta http-equiv line into the Body section at various places just for fun, but that doesn't fix the issue. To be honest, the easiest fix here would be to simply load the URL in question immediately when opening Index.html (it's local, stored on my HDD) instead of having a link. Is this possible? I have Googled to find the Html code required to immediately load a URL upon opening an Html file, but can't seem to locate such a command/code. ------------------------------------------------------------------------------------------------------ <html> <head> <meta http-equiv="Refresh" content="1";url=https://mylogins.edc.cingular.net/assignedQueue.cfm?cAsnNext> <script type="text/javascript"> function open_win() { window.location.href = "https://mylogins.edc.cingular.net/assignedQueue.cfm?cAsnNext"; } </script> </head> <body> <a href="https://mylogins.edc.cingular.net/assignedQueue.cfm?cAsnNext" target="_top">https://mylogins.edc.cingular.net/assignedQueue.cfm?cAsnNext</a> <input type=button value="Open Window" onclick="open_win()" /> </body> </html> ------------------------------------------------------------------------------------------------------ I have several pages of webaddresses and I want all of the addresses to link but dont want to do it to each address, is there anyway to make each addresses automatically hyperlink to itself. e.g www.cnn.com, i would like that address to be hot and when clicked it goes to cnn.com but i have pages and pages of addresses and dont want to have to type a target for each one. Thanks I was wondering, if there is a web page with forms, is there anyway you can create a link so that some of the input boxes are automatically filled. This would be nice so that I can email a few links to a lot of my friends and I've already filled out some of the info for everyone. Thanks for the help. ~Bryan H.~ Hello, I have put together an internal Server and making a internet website service. Now everything is working just fine and i want to link to dvd files but dreamweaver can't link these files. these files are dvd files which we have after a result of copying the dvd in parts on the harddrive. u can watch these dvd actl with WINDVD and they play just fine but when i try to link to link to these files via the drap and rop in dreamweaver a msg is telling me that the file is not recognized. i have put these files on the server as a test and mapped a network drive and i can get to these files, open them and watch the dvd. I can'tlink or link via the path to it. what could be the problem? i only found out that the server by its self can't play the dvd. a msg is telling me to lower the screen resolution or the colorbit. since i only have a 4MB graphic card in, that would be the problem. I just don't get why i can't link to it. Even when i go via windwos explorer to the file located on the server, i see them i can click them but then it says can not located file. it does work with a link to a notepad or application ... need some help Hi All, I've been asked to make some hyperlinks that automatically select items in a drop down menu in a contact form. Is this possible if so, how is it done Thanks in advance Bluestreak Hi All, I want to refresh the contents of IFrame without refreshing the whole page.....How is it possible... I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. Hi, I'm newly registered and seeking some assistance. I'm working on a website for a client and come across an issue. The following is my iFrame code: Code: <div id="iframez"> <iframe src="main.html" width="100%" height="400px" name="framez"></iframe> </div> I have a link that is at the bottom of the page that is supposed to load in the iFrame when clicked upon. The code is as follows: Code: <a href="somelink.html" target="framez">some link</a> What I want is when the link is clicked that it loads in the iframe (this works as intended) AND I want the page to scroll up to the iframe. I tried doing this without success: Code: <a href="somelink.html#iframez" target="framez">some link</a> This is interpreted as #iframez in somelink.html, and not the page its on. Is there any way around this? Thanks for your patience. Ive been working on a website in my free time, and I have been wondering if it's possible to hover over a link, and change the text color of another link. A picture of one of my web pages is shown in the link below. http://i223.photobucket.com/albums/d...screenshot.jpg I want to be able to hover over something from the side navigation bars and have various links in the bottom naviational bar change color. So like hovering over Blood Elf, would make Death Knight, Mage, Paladin, Warlock, Priest, Rogue, Hunter turn red Does anyone know how to do this? or even know if it is possible? Hello I have a web page where I display 2 frames The bottom frame is a link to REPORT SERVICE Every day at 5 am server does RESTART and then I get an error (split screen is open 24 hours) How do I do REFRESH automatically after receiving an error? Thanks in advance I have this problem, Put the script on my page. in this script the people vote but When they return to the site the text of this form again at 1 and not recognized the vote.As I keep the voting when users refresh the page <form name="HOME"> <input type="text" value="1" name="CASA"> <input onclick="document.HOME.CASA.value = Number(HOME.CASA.value)+1;" type="button" value="Vote"> </form> As I keep the voting when users refresh the page i developing a web application one of page has following code Code: <frameset rows="12%,70%,12%" border="0" > <frame src="Frame/header.html" scrolling="no"> <frameset cols="28%,*" border="0" > <frame src="Frame/Menu.html" scrolling="no" > <frame src="Frame/content.html" name="ShowContentArea" scrolling="auto"> </frameset> <frame src="Frame/footer.html" scrolling="no"> </frameset> now for the second frameset , my problem is as below menu.html contains a dynamic tree structure , clicking on which m contents are displayed in content.html Now there is one more link to add a menu item in menu.html, if i click on that link the respective form to add menu item is displyaed After submission of the form the menu item is added to database but not reflected in menu.html as a another menu item . But if i refresh the whole page that menu item is get displayed That means i just want to set the refresh value of the whole page after adding a new item !!!!!!! but i tried a lot but failed , thats whay i need ur help , please help me guyes Thanks I want to refresh the page after clicking submit button with interval of 10 seconds. How can I do that? |