HTML - Help With Generating Auto Download When Page Loads
hey guys...i've seen the page of sourceforge where, when the page loads...the download of the file generates automatically.... i want the help related to implement that.... can anyone tell me how to do that....
thanks in advance... Similar TutorialsI believe in thread titles that get to the point. I have a basic page, when the page loads I want people to see the top of the page for a few seconds while a flash starts to load but then I want the page to scroll down a bit so the visitor can see the flash load progress status. I just want code that I can copy into my page. I don't have access to the flash code. Greg (the page under design) www.mytcanada.com/designer.html I have a programmer in the US who starts pages for me and then I much around with them until it's looks like I want. He helps me when I get stuck but he's on holidays. Any help would be great. Hi, How in HTML can you force a webpage to scroll down to a certain point of the page when the page loads up. Is this possible in HTML. Once it does scroll down to the certain point, I still want to be able to scroll up and down AFTER it has loaded up...is this possible. Can someone please urgently help. Thanks Hi there, my pages are loading wide and then jumpimg down to the size the table is set to be. Does anyone know how i can specify the width of content either through css or the div tag? Thanks in advance! I'm trying to set up an affiliate popup for my buddies and each time someone clicks a certain link, there will be a popup, but each time you click the link the content on the popup is different. I was wondering if this is possible. Need help determining why the below code will load on firefox but not internet explorer. fixed Greetings! This is my first post on these forums, my apologies if I do not format is properly, or such. Also, I have no code to copy here to be looked at.. I am more looking for some advice, or to be pointed in the right direction.. We want to create a download page on our website, where customers can download our product after paying, but we want the URL to expire. (Or we can make it password encrypted with a password which expires). We have the website worked out up the point of payment, we now just need to code a page which we can distribute our product on. I've bought many items before, like online e-books, or computer software, where the download stays open for 24 hours, and then closes, and that is what we are after. Can anyone point me in the direction of, or assit me in how I can make a start with this please? Some notes on the product(s): Each download is 37 MB (four downloads of four e-books) Small PDF file. Hosting space and bandwidth is not a issue. A note on ourselves: We have quite a lot of experiance within the team creating our own websites with GoLive, but none of us have done anything like this before, and we're all a little lost. I do very much appriciate your time for first reading this, and secondly I will be thrilled if you will also spend your time to help us! Thank you for reading, it's deeply appreciated. Warm regards, Nick Hi, I have a very simple website with a countdown timer on it (http://lemoeonline.freehostia.com/1.htm sorry about all the crap, it should only really have the countdown on it....I forgot to delete the rest). What I am wanting to do is have a separate webpage where users can download that page, but with a date they specify in a form. So, they would go to page a, enter a date, then download page b witch would have the customized code in it......Is this possible? Im not really sure where to start on this one, so im looking for any suggestions! Thanks alot, Lemoe 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. I've seen it done, but probably not in html. Every time the page is reloaded, the background colour within certain areas of the page will change to one of a series of pre-set colours. Usually this is all background divs or table cells that have been earmarked for this colour change, but how on earth do you set that up in html? Any ideas? Hi all, I'm trying to find a way to have my webpage scroll to the bottom automatically after the script: document.form1.submit() is called. I need to run the function/refresh in order to reload some different data into part of the page, but after the refresh the position of the page is always at the top... making the user have scroll down again. I could set some anchors or use window.scroll(0.500); on the page load, but i only want it to scroll down if that function of form1.submit() is called - and thats only called once the page has already loaded for the first time. So the first time a user goes to the page, it loads normally at the top of the page. Then they scroll down themselves and select an option. Once the select an option, the form1.submit() is called and the page refreshes with new data in it but is still at the top. Is what I want possible? Thanks, Mike Hi Not sure why, but IE hangs when loading my site. Could someone please take a look at the code - I'm using SWFObject to embed Flash, and am trying to build alternate HTML content: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Backlash - Rock n Roll Duo NSW AUSTRALIA</title> <meta name="Description" content="Backlash are the NSW premier Rock n Roll duo, for corporate and private functions"> <meta name="Keywords" content="Backlash, rock n roll, rock n' roll, wedding, dance, band, duo, Tom, Vanessa, CD, live, music, reception, corporate, song, songs, party, rcok, 60's, 70's, entertainment, Australia, backlash.com, backlash.net, www.backlash.com, www.backlash.net, www.backlash.com.au, www.backlash.net.au, singer, sing, vocalist, pop, drums, guitar, keyboards, bass, private functions, show, professional party band, professional party bands, party bands, corporate party bands, corporate party band, cover band, cover bands, Mick Jagger, Ron Woods, Keith Richards, rolling stones mp3, Brookwood Lounge, Pop Beat Blues, Dance, Elvis"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript" src="swfaddress.js"></script> <script type="text/javascript"> var flashvars = {}; var params = {}; params.quality = "best"; params.scale = "noscale"; params.allowfullscreen = "false"; var attributes = {}; attributes.id = "backlash"; swfobject.embedSWF("backlash.swf", "myAlternativeContent", "989", "590", "10.0.0", "expressInstall.swf", flashvars, params, attributes); </script> <link href="style.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="flashvertical"> <div id="flashhoz"> <div id="myAlternativeContent"> <div id="background"> <div id="menu"> <?php include ("menu.php"); ?></div> <div id="content"> <div id="about"> <?php $content = file_get_contents($_SERVER['DOCUMENT_ROOT']."/about.txt"); echo htmlspecialchars($content); ?> </div> </div> </div> </div> </div> </div> </body> </html> /////////////////////// and here's the CSS: html{height:100%} html,body {margin:0;padding:0;} body{ background:#000000; text-align:center; min-width:650px; } h1 { font: 1px Verdana, Arial, Helvetica, sans-serif; text-align:left; color: #fff; } .maintext { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color:#fff; } #flashvertical{ position:absolute; top:50%; margin-top:-295px;/* half flash height*/ left:0; width:100%; } #flashhoz { width:989px;/* flash width*/ margin-left:auto; margin-right:auto; height:590px;/* flash height*/ background:#000; } h1 {color:#fff;margin:0;padding:0} #FlashDiv { width:989px; height:590px; //position:absolute; //left:50%; //top:50%; //margin-top:-295px; //margin-left:-494px; } #background { position:absolute; width:989px; height:590px; background-image:url(images/background_html.jpg); background-position:center; background-repeat:no-repeat; } #menu { height:375px; width:110px; margin-left:92px; margin-top:289px; float:left; } #content { height:260px; width:690px; margin-right:70px; margin-top:289px; background-color:#00FF00; float:right; } #about { height:100px; width:600px; margin-left: auto; margin-right:auto; margin-top:10px; background-color:#fff; } //////////////////////// Cheers Shaun I've made a site (http://sketch.uk.com) that hides and displays divs according to the browser size. However, ideally I'd like to prevent the hidden divs loading their content until they are visible. A good example is the index page of the above link. There is an iframe for the flash animation that changes to a static picture when you resize to a smaller window. If you were to open the site on the smaller window (such as a tablet or mobile for example) it would be better that the iframe were never loaded at all. Any suggestions? Hello! I hope that someone in this forum can help me solve the mystery that has been giving me a headache for two days now. I have a page that has a couple of iframes in it. when I view the page in firefox they show perfectly fine, however when viewed with IE one loads but the second one only shows a blank white page. They reside in a table, and are in a single row of that table. the code looks like this: <tr><td width="535" height="285" colspan="6" bgcolor="#FFFFFF"> <iframe frameborder="0" scrolling="auto" width="535" height="285" src="/members/updates.html"></iframe></td> <td width="5" height="285" bgcolor="#FFFFFF"> <img src="/members/graphics/spacer.gif" width="5" height="285" border="0"></td> <td colspan="2" background="/members/graphics/newsbg.jpg" width="240" height="285" alt="" border="0"><iframe frameborder="0" scrolling="auto" width="240" height="285" src="/members/news.html"></iframe></td> </tr> Is there some reaso that the second one isn't showing? I have two different pages that are designed like this. They look fine in firefox 1.5. IE gives me nothing. Hi I have an html page that contains a .swf (index.html). I'd like to make sure that browsers always load the site, and not get it from their cache. I've heard of a thing called cache busting, but there is little info on it when dealing with anything other than a Wordpress site. Does anyone know about it or have info on any other way to make sure the site automatically loads directly? I don't want to have to rely on users manually clearing their cache. Cheers Shaun I don't know if this belongs here, because I'm not sure what I would do to do this, but here's my question: Is there any way I can make one webpage load if the IP the user is browsing from is in a certain range, and an alternate page if the user's IP is not part of that range? If so, how do I do this (this method is for a false block page that only appears from certain IPs to discourage folks from further attempting finding what is blocked. Sorta like a puzzleish thing instead of a traditional password - not to be secure, just for the fun of it.) Thank you in advance! Hi, I have to edit some part of my website and I need to easily know from which php files my html code is generated. Is there any easy way to know it ? thanks First off, hello everyone, I would like to start by telling everyone thank you for letting me a part of this forum. Now, as to my topic. I am looking for a script that generates a random image of four that I have selected and postions it in the lower left hand corner of the screen every time the screen is refreshed. The only thing is, I need this to be compatible with myspace's possibilites. I would tremendously help it if anyone could give me a helping hand on this issue. I have searched google several times for some help, but all the solutions involve either java script or a certain amount of knowledge of html, neither which I have. Thank you for your time, and here are the urls of the images, I would like shown. http://i23.photobucket.com/albums/b3...cience/All.jpg http://i23.photobucket.com/albums/b3...nce/Turkey.jpg http://i23.photobucket.com/albums/b3...ence/Panzy.jpg http://i23.photobucket.com/albums/b3...ce/Curious.jpg Again, thank you a lot. Hello. I have a small script developed for tracking sales. The script randomly generates a "transaction ID" by creating a random number when a user visits the thank you page. It works great, however there is one problem: when a repeat user comes back, it generates a NEW transaction ID and logs a second "sale" when in fact its just a repeat visit. How can I modify this script to remember the transaction ID for each user? I was thinking creating a cookie with the transaction ID would be the simplest way, however I'm not sure. If you can help me decide which way is best, and then show me how to implement this I will be very greatful. Basically I think I would need some sort of second variable, and a script that runs to check for a cookie. If cookie is present, replace "$random_number" with "transaction ID". else if no cookie is present, generate a new number with $random_number. Heres the code: Code: <!------- Random Number Generator For Pixel ----------> <?php srand ((double) microtime( )*1000000); $random_number = rand(0,100000); echo "<script src='https://users.domain.com/sale_third/49.95/$random_number/OPTIONAL_INFORMATION'></script> <noscript><IMG SRC='https://users.domain.com/track_sale/49.95/$random_number/OPTIONAL_INFORMATION'></noscript>"; ?> <!------- End Random Number Generator For Pixel ----------> Thanks in advance. Hello Reader, I am very new at html (so please no CSS) and this is what Im trying to do 1) Have my logo on the far right and the page 2) Put the website name in the centre of the page Ive done a wrap (I think and it seems to be working) the problem is: the website name is not going in the centre of the whole page but the centre of the page from where the logo ends (on the right of the page). So if you look at the company name its not in the centre of the page but in the centre of the page from where the logo ends. I have decided to work with that as it will actually look good with what I want to do - My question is this: If I did want to centre the company name to the middle of the page could I use   (loads of them!) to position it exactly where I wanted on the page and is that good practice? And if not what can I use in its stead?? Any advice will be very much appreciated!!!! I have set up some document downloads with <a href>NameofDocument</a> , but everytime a user downloads a document a blank browser window opens and then comes the pop up to either save or open in Office. Any ideas on how to keep this blank browser window from opening or being created. |