PDA

Click to See Complete Forum and Search --> : how do you do this...


ExtremePimpness
Mar 16th, 2001, 03:55 AM
i want to have the links in my code archive to load on a universal html doc but load a different text file depending on the sniplet name so that if i load the showsniplet.html from a link i can add some sort of command line perameter that will tell it which txt file to load in the body

It would be helpful if you could post an example:D

If you need to see the site it will be implemented on it is here (http://www.slammmeddesigns.f2s.comhttp://www.slammmeddesigns.f2s.com/VBCode.html)

Mar 16th, 2001, 08:40 PM
Hi,

I think we need more to go on. it sounds like you want a different file to load every time the page is brought up but depends on what file is clicked on. I don't think I understand.

scoutt

ExtremePimpness
Mar 16th, 2001, 08:46 PM
i want the same html document to load but i want to make it so that the text box on the page is for wich ever code sniplet you click on. so if i have a table of code and you click on the show hide taskbar code sniplet it will bring up the showcode.html and it will have the code for the show hide taskbar in the text box. note all of the code sniplets will be in seperate txt files:D

Mar 16th, 2001, 09:47 PM
Got it. that makes since. you would have to do that in cgi I believe. I have the code at home so I can't post it right now. but you would have the code links setup so that when someone click on it it would open the page and insert the text file in to your text area.

I would put all your code in a database and use it as variables. you know, I hate when you know what to say and you just can't say it or write it down. :)


ok I think I got it. you would want the code to be a certain variable e.g. <a href="page.cgi&item=taskbar.txt>link to code</a>


<textarea rows="10" name="S1" cols="80">$item</textarea>

something to that nature. hopes this steers you in the right direction. sorry I don't have the whole code. :(

scoutt

ExtremePimpness
Mar 16th, 2001, 11:35 PM
i understand exactly what it does but don't know cgi or asp ect.. i am working on learning HTML as i build this site:D but my logic is all VB based and i am tring to apply it to html:):rolleyes: :p so any examples you can give wouldhelp:D

thanks

E.P.

Mar 17th, 2001, 01:54 PM
ok I think I found a program that will do what you want. the only thing is you have to manipulate it to your needs. I, like yourself, am learning to code in cgi, asp, php. I can manipulate the code real good, but just can't program it myself. here is the url to the file you have to download.


http://www.daviddurose.com/scripts/dbdisplay.html

like I said you have to manipulate it to your needs but I think you can do that and display all your files.

hope this helps.

scoutt