03. september 1999 - 10:43Der er
19 kommentarer og 1 løsning
Råtekst version
Jeg har en download side hvor jeg linker til en (word)txt.fil. I browseren ses teksten med scroll og jeg skal bruge den så den er resizeble (altså tilpasser browser vinduet).
Men spørgsmålet er om det kan lade sig gøre uden at man behøver at html-konvertere tekst-filen (ligesom når man gemmer som .doc filer). - jeg ved det ikke, har i nogen erfaringer med det ?
Using server-side includes Server-side includes, as their name implies, are instructions to the server to include the specified file in the current document. Because the processing of includes happens on the server, included content does not appear when you open a document locally in a browser. It is visible, however, if you choose File > Preview in Browser from within Dreamweaver; this is because Dreamweaver processes the include instructions just as a server would.
Placing a server-side include in a document inserts only a reference to an external file. Dreamweaver displays the content of the external file in the Document window, making it easier to design pages, but you cannot edit this content directly in a document. Any changes to the external file are automatically reflected in every document that includes it.
To insert a server-side include:
1 Choose Insert > Server-Side Include or click the Insert Server-Side Include button on the Invisibles panel of the Object palette. 2 In the dialog box that appears, enter the path to the file you want to include, or click the folder icon to browse to and select the file, then click OK.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.