|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dynamic includes
<i><b>Originally posted by : Sverker Falk (sverker.falk@data.af.se)</b></i><br />Hi,<br /><br />I'd like to be able to load different includes<br />depending on a Application variable.<br /><br />I want to load different files depending on<br />the language in the Application("Language") variable I've created.<br />Ex.<br />If the Application("Language") is set to SWE then<br />the include should be:<br /><br /><!-- #INCLUDE FILE="../includes/SWE/i_localise.asp" --><br /><br />If the Application("Language") is set to NOR then<br />the include should be:<br /><br /><br /><!-- #INCLUDE FILE="../includes/NOR/i_localise.asp" --><br /><br />Is this possible?<br /><br />Thanks,<br />Sverker<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : steve</b></i><br />Yes it is. You just can't fillin the include file<br />dynamically.<br />------------<br />Sverker Falk at 3/29/2000 4:57:03 AM<br /><br />Hi,<br /><br />I'd like to be able to load different includes<br />depending on a Application variable.<br /><br />I want to load different files depending on<br />the language in the Application("Language") variable I've created.<br />Ex.<br />If the Application("Language") is set to SWE then<br />the include should be:<br /><br /><!-- #INCLUDE FILE="../includes/SWE/i_localise.asp" --><br /><br />If the Application("Language") is set to NOR then<br />the include should be:<br /><br /><br /><!-- #INCLUDE FILE="../includes/NOR/i_localise.asp" --><br /><br />Is this possible?<br /><br />Thanks,<br />Sverker<br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Dynamic includes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|