HTML - Add To Favorites - Redirect
N00B here with very limited html code experience, but thought this looked like a great resource.
I have a page, that various users hit somewhat infrequently. I have created a new location and have placed code within the page to forward a user to the sites new location. In the example below, I want the user to be redirected to the new location, but I want them to have the option to add the new URL to their favorites from the initial page. How can the code below be manipulated to add the new URL to their favorites instead of the initial page? I hope this makes sense and isn't too dumb a question. Thanks in advance!! <HTML> <HEAD> <META HTTP-EQUIV="refresh" content="10;URL=http://collaborate/sites/test"> <TITLE>We have moved to a NEW location.</TITLE> </HEAD> <BODY> This site has moved to a new location; please update your favorites/bookmarks. You will be redirected to new location in 10 seconds. <FORM> <INPUT TYPE = "button" VALUE = "Add This Site To Your Favorites" onclick = 'window.external.AddFavorite(location.href,document.title);'> </FORM> Please contact XXXXXX with questions or concerns. </BODY> </HTML> Similar TutorialsHi, I want to use a text link in order add a certain page in my website, to the favorites list. But I want it to be added with a reference, so later on I will be able to see ( with the statistics program of my site) , how many times people entered This page through their favorites list. Right now I use this code, which does the job but without the reference: <p><u><span style="CURSOR: hand; COLOR: blue" onclick="window.external.AddFavorite(location.href, document.title);">Add to favorites </span></u></p> For example: If the page is http://www.help.com/me_please.html I would like the url that is added to the favorites list to be: http://www.help.com/me_please.html&ref=favorites Any help would be most appreciated Thanx Niv Hi everyone, I have a page that displays 40 pictures (of paintings) with a short description of each. I am trying to think of a way to enable a user to add whichever paintings they want to a list. Basically, so they do not have to scroll through the whole page to view specific paintings. I thought about converting the page from XHTML to ASP.Net and then addign checkboxes under each picture. I thought about using C# to get a list of the checkboxes checked. How do I then display a new page (or somewhere on the same page) with only the selected graphics? Any ideas would be appreciated. I am a newbie at web programming. Thank you! Marc Hello! I just want to do 2 things: - Fix my website visualization ( Its WRONG on firefox and right on IE7, i dont know why =x) >>my website = www.emuspace.co.nr -What should i do to when i click on a image, it adds my site to users favorite ? ty! I have a link going direct to pdf documents on one site eg www.one.com/blah.pdf. The pdf's are moving to a new web site www.two.com/blah.pdf. How do I redirect people that link direct to the old pdf to the new one. These pdfs are coming up very high in Google. I was hoping if I changed them to redirects Google would follow. Also for those that have a link in their web site to these pdfs it will be broken when I move them to the new url. Is there any HTML code to redirect mistyped urls? Let's say someone wanted to get to a music section of my site. They type in XXX.com/music instead of XXX.com/music.html. Any way to get this done? Hello all, So I am doing site management, and I have a problem with a redirection that is going on. There is a directory in the root called venngo (http://url/vengngo/) however it redirects to a different page all together, so I removed the folder, uploaded a new one, and it still redirects. I have checked my cache and multiple machines, so I know it is not on my side. The only time my page works is if I physically add /index.php tot eh directory to make it (http://url/vengngo/index.php) What should I be looking for in the files for the website for a possible redirection script. Maybe htaccess? hi how do u use a redirect 301 code in html file in a website ? and wat is the use of that ? hi, i need some help with this. the following line is in a script <META http-equiv='refresh' content='1; URL=http://lblah.com/radio.php?ipp=84.95.247.20&port=22930&ch=898'> now this script redirects to another page.. is there some way i can get it to do this without actually leaving the page im on. thanks in advance for your help I have a situation where I snd peoplle to a different page to do a download and I want them to be redirected back as soon as the download completes. Is there a command for that? Hello I'm redirecting pages using 301 redirect in my htaccess file, like redirect 301 "/servicesxxx.php" http://www.site.com/services.php but I have a page like this: www.somename.site.ca/indexpage.php I tried putting the whole thign in there but it doesn't work. How can I successfully redirect that page? I went to a site for optimization & on review it told me my site had a re-direct, which was bad. Its been awhile since I tinkered with my site, so beats me where I put it. Can anyone help find out where it is? Newbie to this forum. Thanks. website is: kallico.net Thanks for any help on this, or anything else to help it get noticed more. Hi I want to know what main difference is between 301 redirect and 302 redirect. I redirected my site permanently (301) to another site and I lost all my original hyperlinks on the old webpage. If I want to keep all previous links alive, what should I do? Thanks! can someone tell me how i would go about creating a redirect for an old RSS feed. i want the old feed address to point to my new Wordpress-created RSS feed address. i searched around a bit and found this code snippet... Code: <?xml version="1.0"?> <redirect> <newLocation>http://www.wepub.com/myweblog/rss.xml</newLocation> </redirect> ...but when i put it in place of my old feed code, here was the browser result... Code: This XML file does not appear to have any style information associated with it. The document tree is shown below. <redirect> <newLocation>http://www.wepub.com/myweblog/rss.xml</newLocation> </redirect> am i doing this wrong? what is my best option? Redirect might not actually be the thing that I'm looking for, but I here's what I'm looking for. When you visit the website, and image is shown taking up the whole page. It stays for 2-5 seconds, then redirects you to the normal home page. (Maybe the image would also be a link to the home page so people could speed things up) Thanks very much. Hello, I'm currently hosting my website through another domain but am using a .com which forwards you to my site. Example; go to www.example.com and it takes you to www.bluered.com/example/main.html . The problem is that when searching through Google, it is not recognizing my .com name, only the hosting url. I attempted a Java 301 redirect which I applied to the body section of my HTML but I am not sure if it worked. This is the code I entered: <% response.setStatus(301); response.setHeader( "Location", "http://www.new-url.com/" ); response.setHeader( "Connection", "close" ); %> I replaced the "http://www.new-url.com/" with my .com name and placed this code in the code on my landing page. Can anyone give me some suggestions, tips? It would be greatly appreciated. Thank you I am doing i tech project and we have to make a website (WOO) we have to use claris (i am not) but i am using dreamweaver anywho i would like to make a submit button that connects to another webpage file on my schools intranet and i would like a redirecting thankyou page like something on the ubunut forums page something cool that will wow him. i can do it in java too if it is easyer remove please I am no HTML expert, however, I have managed to create a webpage for my I.T department that is hosted internally within our network. I would like to replace this webpage as my homepage, it use to be google.com before, the new webpage has google search box in it. Before I confuse myself and the you as well, let me get to the jist of it. Ideally I would like to do this, have my homepage set up in my browser as a local html file therefo d:\homepage.html. I want this homepage.html page to do 2 things, check to see if the webpage i created is accessible, if it is then go to it, if it is not, then redirect to www.google.com The reason I want to do this is because, when we are outside of our network, the homepage won't work, because it is hosted in our network only. When we are outside our network, we should just go to google.com I know its a silly problem, but I am curious if there is a easy code to do this. Thanks, Adam. Hey all, I am so close o having this form done. I am noob at HTML and PHP (all languages for that matter). I did get some help and was able to have the form work correctly, send it to my php, and send the email... The only thing I am lacking is having the page redirect. I searched the forum and found some relative information, but it seems that I have it correct? Yet, it is still not working. I assume it can be done on the HTML side or the PHP side. I see where it seems to be in the HTML...but no luck. Code: <html><body> <!-- Start Form --> <form method="post" action="sendmail.php"> <table border="0" cellspacing="0" cellpadding="0" width="235" align="center"> <tbody> <tr> <td height="3"></td></tr> <tr> <td style="font-family: Tahoma; color: #c70001; font-size: 8pt" align="center"></td></tr> <tr> <td class="form_text">Full Name :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="Name" type="text" name="Name" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Email :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="Email" type="text" name="Email" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Phone :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="Phone" type="text" name="Phone" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Zip code moving from :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="ZipFrom" type="text" name="ZipFrom" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Zip code moving to :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="ZipTo" type="text" name="ZipTo" /></td></tr> <tr> <td class="form_text">No. of bedrooms :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="NumBedrooms" type="text" name="NumBedrooms" /></td></tr> <tr> <td class="form_text">Move date :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="MoveDate" type="text" name="MoveDate" /></td></tr> <tr> <td class="form_text">How did you hear about us? </td></tr> <tr> <td height="24" valign="top" align="left"><input id="Referral" type="text" name="Referral" /></td></tr> <tr> <td height="4" valign="top" align="left"></td></tr> <tr> <td valign="top" align="left"> <table border="0" cellspacing="0" cellpadding="0" width="217"> <tbody> <tr> <td height="8" valign="top" align="right"><input value="Website Contact :: Big League Movers" type="hidden" name="subject" /> <input value="beaushaw@bigleaguemovers.com" type="hidden" name="recipient" /> <input value="http://www.bigleaguemovers.com" type="hidden" name="redirect" /></td></tr> <tr> <td height="32" valign="top" align="right"><input value="submit" type="image" src="images/submit.jpg" /></td></tr></tbody></table></td></tr></tbody></table><!-- End Form --> </form> </body></html> You can also check out the page at http://www.bigleaguemovers.com/jj.testform.html Thank you I'm using the Dodosmail script, and am trying to redirect to a different page, once the form has been completed. I've followed the readme file and have entered in the after URL, but everytime, the form sends me to my dodosmail.php page, and not starterpack.php (which I want). The form works, but it just doesn't send me to the right page. Does anyone know if I've gone wrong at all with the coding? HTML Code: <form action="http://broadcast.tcg-publicity.org/dodosmail2_5/dodosmail.php" method="post"> <p> <input type="hidden" name="subject" value="Broadcast-Join" /> <input type="hidden" name="your_email_address" value="broadcast-tcg@live.co.uk" /> <input type="hidden" name="check_email_address" value="no" /> <input type="hidden" name="required_fields" value="firstname,email,website,set" /> <input type="hidden" name="after_url" value="starterpack.php"> Name: <input type="text" name="firstname" /> <br /> Email: <input type="text" name="email" /> <br /> Website: <input type="text" name="website" /> <br /> Birthday: <select name="date"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="month"> <option value="january">January</option> <option value="february">February</option> <option value="march">March</option> <option value="april">April</option> <option value="may">May</option> <option value="june">June</option> <option value="july">July</option> <option value="august">August</option> <option value="september">September</option> <option value="october">October</option> <option value="november">November</option> <option value="december">December</option> </select> <br /> Collecting Set: <input type="text" name="set" /> <br /> Referred By?: <input type="text" name="referrer" /> <br>Comments: <textarea rows="5" cols="20" wrap="physical" name="comments"> </textarea> <br> <input type="submit" value="Submit" /> </form> |