Universal CSS Navigation Menu Support Product Page

Answered

server side includes for li items

Asked 24 Jul 2011 05:21:36
1
has this question
24 Jul 2011 05:21:36 eddie rosenthal posted:
i'm using cs4 ( xp system ) and want to know the best way to use server side includes in the navigation. in other menu systems i've used in the past just making a txt file of the li items and using that file as a server side include makes menu changes over several pages more manageable. however this particular one doesn't lend itself easily to that, as it causes havoc by having template or other errors. what is the preferred method here for this topic? html file with everything in it, the div id=navmenu down to the end of the jquery script?
thanks in advance

Replies

Replied 25 Jul 2011 00:01:27
25 Jul 2011 00:01:27 eddie rosenthal replied:
Quotei'm using cs4 ( xp system ) and want to know the best way to use server side includes in the navigation. in other menu systems i've used in the past just making a txt file of the li items and using that file as a server side include makes menu changes over several pages more manageable. however this particular one doesn't lend itself easily to that, as it causes havoc by having template or other errors. what is the preferred method here for this topic? html file with everything in it, the div id=navmenu down to the end of the jquery script?
thanks in advance


i more or less answered this one myself. i've now included the entire code in one html server side include file.
Replied 25 Jul 2011 08:07:08
25 Jul 2011 08:07:08 Teodor Kuduschiev replied:
Hello Eddie,

You should copy the code of the menu, from:
<div id="dmxzonemenu"....
to the closing script tag and put it into a new file.
Replied 25 Jul 2011 23:24:07
25 Jul 2011 23:24:07 eddie rosenthal replied:
yup. that's what i did ... thanks for your reply though.
Replied 18 Jul 2012 01:50:07
18 Jul 2012 01:50:07 Mr. em replied:
I do not quit understand on how to do this!
when I created the navs.asp and in order to include it "<!--#include file="../includes/navs.asp" -->" , I have to strip the entire html code such as <html>....body etc. after doing so I cannot make changes to the menu
Replied 18 Jul 2012 03:28:24
18 Jul 2012 03:28:24 Teodor Kuduschiev replied:
Hello,

Please check the following video: www.dmxzone.com/go/19193/using-universal-css-navigation-menu-as-an-included-file-in-dw-template/
It is the same in ASP also.

Reply to this topic