Results 1 to 6 of 6

Thread: how do you do this...

  1. #1

    Thread Starter
    Fanatic Member ExtremePimpness's Avatar
    Join Date
    Jan 2001
    Location
    Indianapolis, Indana - USA
    Posts
    550
    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

    If you need to see the site it will be implemented on it is here

  2. #2
    Guest
    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

  3. #3

    Thread Starter
    Fanatic Member ExtremePimpness's Avatar
    Join Date
    Jan 2001
    Location
    Indianapolis, Indana - USA
    Posts
    550
    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

  4. #4
    Guest
    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

  5. #5

    Thread Starter
    Fanatic Member ExtremePimpness's Avatar
    Join Date
    Jan 2001
    Location
    Indianapolis, Indana - USA
    Posts
    550
    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 but my logic is all VB based and i am tring to apply it to html so any examples you can give wouldhelp

    thanks

    E.P.

  6. #6
    Guest
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width