Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Garek007 #1
Load HTML code from one file into another?
Hi,
I have a series of pages with a side navbar. Rather than create this menu on
all pages I want one page for the menu and have my main page load the code from
that menu.html file. I could use frames, but don't want to.
So I've successfully written a javascript file and gotten my page to call that
file which then loads the appropriate html code into my TD. The problem is,
the html file isn't listening to the css stylesheet. I'm sure it has something
to do with the way I'm getting my code from one file to another. I've posted
the documents here for your viewing pleasure:
[url]http://www.dahlingroup.com/Boranda/indextest.html[/url]
and here is the js file:
[url]http://www.dahlingroup.com/Boranda/css-scripts/main_menu.zip[/url]
note the path, the js file needs to be in a sub folder called css-scripts
thanks for any help you can offer
Garek007 Guest
-
load php or html file into flash pop up window ?
Hi, Is it possible to load a web page or PHP file into a pop up window, movieclip or dynamic text box ? I have tried all 3 but cannot get it to... -
how to load external html file into mxml file
hi all plz tell me how i can load external html file in mcml file just like say when we receive mail in inbox and see our mail data .. i have... -
HELP - How to load a html file from Flash Menu
Sorry for such a silly question but I have a html homepage that has flash menus. Clicking on various items on this menu will take you to the... -
Help: how to get flash to load and use a variable from an html file
Hi folks, I need your wisdom. I am trying to get a flash file to load a value for a variable from an HTML page and then check that variable for a... -
can i force a shockwave file to load before html?
help, i'm looking for a way to force the browser to load a shockwave file before html. Well my problem is that I have a shockwave file on a... -
Murray *TMM* #2
Re: Load HTML code from one file into another?
Google and read about using server-side includes as a much better way of
doing this.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Garek007" <webforumsuser@macromedia.com> wrote in message
news:dsigvf$28h$1@forums.macromedia.com...> Hi,
>
> I have a series of pages with a side navbar. Rather than create this menu
> on
> all pages I want one page for the menu and have my main page load the code
> from
> that menu.html file. I could use frames, but don't want to.
>
> So I've successfully written a javascript file and gotten my page to call
> that
> file which then loads the appropriate html code into my TD. The problem
> is,
> the html file isn't listening to the css stylesheet. I'm sure it has
> something
> to do with the way I'm getting my code from one file to another. I've
> posted
> the documents here for your viewing pleasure:
>
> [url]http://www.dahlingroup.com/Boranda/indextest.html[/url]
>
> and here is the js file:
>
> [url]http://www.dahlingroup.com/Boranda/css-scripts/main_menu.zip[/url]
>
> note the path, the js file needs to be in a sub folder called css-scripts
>
> thanks for any help you can offer
>
Murray *TMM* Guest
-
Garek007 #3
Re: Load HTML code from one file into another?
thanks, I did see some server-side include stuff in my google search, but it sounded REALLY complicated.
Garek007 Guest
-
Murray *TMM* #4
Re: Load HTML code from one file into another?
It is MUCH simpler than your method. Read the tutorial here -
[url]http://www.bignosebird.com[/url]
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Garek007" <webforumsuser@macromedia.com> wrote in message
news:dsik65$6i1$1@forums.macromedia.com...> thanks, I did see some server-side include stuff in my google search, but
> it sounded REALLY complicated.
Murray *TMM* Guest



Reply With Quote

