The Mother Board

Motherboards.org forums. Free tech support, motherboard ID, and more.
It is currently Thu Sep 20, 2018 6:54 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Aug 17, 2004 7:22 pm 
Offline
Black Belt
Black Belt

Joined: Tue Oct 01, 2002 2:06 pm
Posts: 921
Location: Illinois
I have a small amount of webspace that I got from my ISP, basic user account that came with my cable internet package. Right now, I'm just messin' around with stuff, tryin' to come up with a working template to span accross the site. As far as I know, only HTML and JavaScript will work, no PHP/MySQL/ASP/etc. I'm wondering if there is a way to read info from a text file and have it post to the webpage. Basically, say I have a news section, since I have no database options, I would have to update the HTML every time I want to post something new. Ideally, I'm wanting to know if it is possible to just have a text file where I can write whatever it is that I want to post and either through HTML, JavaScript, or a combination of both have it inserted into the main page. I thought about using inline frames, then I would just have to make a basic HTML page that has the info in it. Then I could just type in what I want and not have to mess with adding in more table rows or messing with modifying/adding layers. The problem with that is if the text extends farther down than the size of the frame, it will create a scrollbar and I don't want an ugly scrollbar in the middle of the page. I was figuring that I could make a layer with a fixed width, but not a fixed height. In theory (mine anyway :lol: ) it should make the layer long enough height-wise to fit all the text. Is any of this possible or am I just being idealistic?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Aug 18, 2004 3:26 pm 
Offline
Mobo-fu Master
Mobo-fu Master

Joined: Thu Jan 25, 2001 1:01 am
Posts: 19405
Location: 00000h - 0000Fh
Check to see if your web site allows CGI access

_________________
"Imagination is the only weapon in the war against reality." -Jules de Gautier

Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Aug 18, 2004 3:42 pm 
Offline
Black Belt
Black Belt

Joined: Tue Oct 01, 2002 2:06 pm
Posts: 921
Location: Illinois
As far as I can tell from their FAQ, I don't have CGI access.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Aug 18, 2004 8:07 pm 
Offline
Black Belt
Black Belt

Joined: Tue Oct 22, 2002 9:07 pm
Posts: 584
Location: Melbourne, Australia
You can pull a string from a txt file with flash & actionscript, if you want to try that.

_________________
"I disapprove of what you say, but I will defend to the death your right to say it"

-Voltaire


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 19, 2004 3:56 pm 
Offline
Mobo-fu Master
Mobo-fu Master

Joined: Thu Jan 25, 2001 1:01 am
Posts: 19405
Location: 00000h - 0000Fh
http://www.javascripter.net/faq/fileacce.htm
http://www.experts-exchange.com/Web/Web ... 61110.html

_________________
"Imagination is the only weapon in the war against reality." -Jules de Gautier

Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 20, 2004 8:51 am 
Offline
Black Belt
Black Belt

Joined: Tue Oct 01, 2002 2:06 pm
Posts: 921
Location: Illinois
Thanks for the links HJ. One of the links said that I could call *.js files using JavaScript. Would I be able to trick JavaScript into calling the regular text document and printing it on the site if I just changed the file extension from *.txt to *.js?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group