HTML - Goto Folder Script
I am trying to figure out a script or how to make a form that will redirect the user to a certain folder on the server depending on what they typed in the text box
to see an example of what I am trying to do go to http://www.aspenimage.com/order I have googled all over and found nothing Thanks in advance for the help Dan Similar TutorialsHey All, I currently have a single field form on a website: Code: <fieldset> <legend><b>Login</b></legend> Please enter the staff password into the below field in order to gain access to the staff area. <br><br> <form name="input" action=""> Password: <input type="text" name="password"> <input type="submit" value="Submit"> </form> I'd like to make it so that when the user enters anything into said field, he is taken to that page .html. For example, should one enter "hello" into the field and click submit, one is taken to "hello.html". Is this at all possible? Thankyou for your help. I've been having trouble with targeting an iframe with a goto form. Let me show you what I've done. <form name="openlocation" target="PicFrame"> <input type="text" name="href" value="http://"> <input type="button" value="Go To" onClick="location.href=document.openlocation.href.value;; "> </form> <iframe name="PicFrame" src="blank.htm"></iframe> I'm trying to get allow the user to submit the url of a photo and then load that page into my iframe. So far the only thing it does is open up the url in the same window and does not target the iframe at all. Also I am using FF. OK I have a home page that has several inline frames. All the action happens in one of the frames in the middle. Now what I want is when they click on a link in this main pane it loads the new page in said frame, but moves the browser back to the top of the parent frame, which is still home.html. The site I'm working on can be accessed at http://www.awardworks.com I tried using an onLoad with a java function that performs: window.scrollTo(0,0); but this didn't work I am trying to do a Firefox add-on that should simplify web surfing. But I encountered a problem : There is a link that isn't keeping the same path by changing the URL (it changes a number at the end of the URL) so every time the program meets this link, it stops. The Macros of the software I am using looks like this (with a single link) : ex: VERSION BUILD=6060801 RECORDER=FX TAB T=1 URL GOTO=http://www.htmlforums.com/newthread.php?do=newthread&f=4 but let's suppose, next time I want to enter http://www.htmlforums.com/newthread....=newthread&f=4 the URL changes into http://www.htmlforums.com/newthread.php?do=newthread&f=19 My question is : How can I rewrite the code of the macros so that the software can auto detect the correct URL between many URLs ? Is there a possibility of entering URL GOTO : the range of the URL ? Thank you in advance ! Hallo, I am very much a beginner with HTML and need some help. I have a very big photo gallery. What I want to do is make a link on an HTML page that will open up the folder so that you can browse through the photos. Thanks in advance. Ive got a url address connecting to a shared offline drive, for some reason it doesnt work when i put it into a link, although when i paste the address into a browser it works fine. The link is '<A HREF="file://atlefs0027/dept$/Supply_Management/01 Bids JTB & WB & BB">Access Supply Management Drive</A>' When i click on the link, the link removes the 'file://' and goes to 'atlefs0027/dept$/Supply_Management/01 Bids JTB & WB & BB'. Which ofcourse doesnt work. How do i keep the 'file' part of the link? Hi i need help i need to make a webpage that lists folders and subfolders within a folder and it needs to automaticaly update when a new folder is added Please help Hi, I have been following advice that I have read elsewhere to restructure my site to reflect the different parts, so splitting up images and html files into subfolders to make it all more manageable with regard to quickly identifying pages/images etc that relate to different parts of the site. Previously I have kept all html pages in public_html and all images in a folder public_html/img. If I split them up as I have started to do, the only thing is I cannot see is how I can then link back from html pages in folders lower than the root back to the html pages actually in the root folder. To explain what I mean: If some of my html pages are in subfolders of public_html but they all contain the links on the main 'tabs' of my site (home, contact, about etc) that reside in the public_html, how do I link back to the main pages from the pages stored lower down the structure? Have I interpreted advice on folder structure incorrectly or am is there something I don't know? Thanks Hi, This is jyothi, i am creating tree folders in html but i don't know the correct script. Can anyone please help me. okay i have an html page in 3 sub folders--i need to link the images to this file--they are in another folder: secureweb/forms/templates/thanks.html images are he web/images how would i link the images? .../web/images.image.gif? thanks!!! val Does anybody know how to make a HTML page that shows an overview of the contents of one of my web folders? Like an ftp-page but with the possibillity to add css-style to the page...? I mean, of course, one of the folders on the server in wich my web site is uploaded. Example: I have 10 PDF-files in the folder "PDFs" on my server. I do not want to make links to the files, but I want the files (not the content of the files, but the filenames) to be viewed direcly in a HTML file. Is this a java-script job, or can i do it in another way? Hope you guys out there can help me.. mvh Prosit EDIT: Sorry, found the answer. No need to give me a solution. I've decided to create a photo album in HTML (and Flash and CSS) using a nifty little Flash thing called SimpleViewer. However, I want multiple galleries, each within their own folder within the main photo gallery parent folder. How can I link something from one HTML file in a gallery's folder to the parent folder and then into another HTML file in another gallery's folder? Or if there's a way, directly to the other gallery's HTML file? Note I'm keeping this gallery offline for now, I'm only using it to show family and friends and for myself as it's much less cumbersome than using software or the standard Windows XP folder structure. Sorry if this is confusing, please say so if it is. Thanks in advance for all help, it's really appreciated. Hi, I am building the download centre of http://www.i-conica.net I have a directory structure similar to the image in this thread. http://forum.i-conica.net/cgi-bin/fo...?m-1207092405/ The bottom image, my plan is to have the download page, with continually updated information on the new versions of software, put the software files in a separate folder and link to the folder, i thought if there were only one file in there ending .exe it would download it? It doesn't it just displays the directory. I wanted to be able to just throw the files in their own folder and not have to worry about changing links to the file. because the folder would remain the same. Is this possible? Thanks. I have a PHP application that our company uses for basically everything. Now I'm needing to add hyperlinks to folders on the shared drive on the server, since this is now where everyone will be storing the files they work on. The map drive is on the same server as the website but so far I have been unable to figure out the syntax for the hyperlink in order to be able to open the folder contents. Any ideas on how I could do this? This is probably a newb question but i want to point a domain directly to a folder on my server without forwarding. I guess using DNS. How do I do that? Currently I have www.utinternationals.org and it is forwarded to utinternationals.com but the issue is that the domain host puts a banner at the bottom and I want to point it to a folder on my server with a redirect to the website to lose the banner. Any Ideas? Hello, I know (with much debate on each side) that SEO says you should name urls / file name using a "-" and not a "_". So, "Red Fox.html" should be "Red-Fox.html". But, what about FOLDERS? Should it also be "../Nature-Page/Red-Fox.html"? Thanks! At present i am creating a knowledge base at work and have an admin access link that goes to a folder on a server. What i want is client or server side html to request a password when this link is clicked and if the password is not correct then a message box shows that says the password is incorrect. Can anyone help? Hi all, I am trying to get the faveicon on my webpage. I have read some places that IE needs the image to be in the root folder of the web server. Is this true? Has anyone got it to work with the image in a different folder? The reason I ask is because I have some trouble accessing files in the root folder. If it is possible not to use it I would prefer to. Thanks in advance for any help, Jehan With the html tag <input type="file"/> is it possible to specify the folder which opens to select files from. I would like the pictures folder to open instead of the system root folder. Hi I'm setting up a site that sells images that the user creates online by selecting a combination of PNG images with transparency (using drop down menus). The images are layered using CSS, and the last layer has a watermark image to help prevent print screen copies. I then use PHP to create a composite image of the user's final work, that they can then buy. The only problem is that there is nothing to stop the user from bringing up each individual image on a new browser page using the address of each image eg http://www.mysite.com/images/image1.png - downloading or print screening them, and making their own composite image. I was wondering if there is a way to prevent someone accessing the individual images by typing something like http://www.mysite.com/images/image1.png in a fresh browser tab? I found something using .htaccess - but I don't fully understand it - I think it isn't meant to do what I need: RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?mysite.com [NC] RewriteRule \.(jpeg|jpg|gif|png)$ - [F] It is supposed to stop hot linking, but I think that's a different problem. Thanks for your time and help. Shaun |