Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
MercuryLime #1
Loading news from a text file
Hi, I'm new to dreamweaver and I'm wondering how I could somehow link a news
section of my website to an external text file, so all I would have to do is
update the text file when I wanted to update the news, instead of updating the
whole .html file.
(I mean link, not as in an actual link, but to have the news show up on the
main page FROM the text file).
Thanks,
- Patrick
MercuryLime Guest
-
HELP > External Text or HTML file Loading
Hi all, plz visit - http://www.vision-divine.com/samples/test.swf to see what i mean I am using FlashMX and i have the following - .. a... -
Loading text into variables from .txt file
Hello, I have the following question. Before I begin, I would like to say that I am completely lost with the changes in actionscript for MX2004. ... -
loading variables from a text file...
A problem with loading variables using LoadVars object... here's the code... data01 = new LoadVars(); data01.onLoad = function(success) { if (... -
Loading text from a text file
ok i have now managed to save the string to a text file, but now when i load it back (after closing the projector) i can only load all the text... -
opening asp file and loading certain text into a form
Hello. Can anyone help me with the following. I have a config.asp file with contains information like: ... -
-
MercuryLime #3
Re: Loading news from a text file
Ok, I included it, how do I make it display the text from the file now?
MercuryLime Guest
-
MrBonk #4
Re: Loading news from a text file
All you need to do is to put the include statement wherever you want the
content to appear on your page.
So, for eg. if you have a layer that you want the text file contents to appear
in, you would do something like:
<div id="NewsLayer" style="position:absolute; left:73px; top:70px;
width:172px; height:176px; z-index:1">
<!--#include file="text_file.txt" -->
</div>
MrBonk Guest
-
MercuryLime #5
Re: Loading news from a text file
Do I need to save it as .shtml when I do that, or does it work as normal .html?
MercuryLime Guest
-
MrBonk #6
Re: Loading news from a text file
Depends on your server setup. Some servers are set to only look for includes
in files with particular extensions.....some look for them in all files
(slower, so less common). You'll need to check with your host.
MrBonk Guest
-
MercuryLime #7
Re: Loading news from a text file
Alright, I got it working. Thanks.
MercuryLime Guest



Reply With Quote

