Have a single menu on multiple pages?

前端 未结 6 1408
梦如初夏
梦如初夏 2020-12-30 15:18

So I have a website and I\'m using a basic menu located at the top right corner of the screen. It\'s links are as follows:

| Home | Blog | Results | Pictures         


        
6条回答
  •  情深已故
    2020-12-30 16:17

    Have a server side program determine what menus and locations of the links need to be there. Then use ajax to periodically poll the server side script to get the contents of the menu at the current time.

    It'd be easy to have it send an xml data back like:

    
        
    ...
        
     
    

    Then build your links from that data.

提交回复
热议问题