Dynamic Navigation

Results 1 to 2 of 2

Thread: Dynamic Navigation

  1. #1
    Ab Jenkins Guest

    Default Dynamic Navigation

    Does anyone have any suggestions on how to make link tabs at the top of a webpage dynamically? I am sure that there is a way, but the only way that I can think of seems to actually be more work than doing it in HTML. Please let me know if you have done this before or have any ideas!

  2. #2
    Join Date
    Dec 1969

    Default RE: Dynamic Navigation

    If you are linking on your own site, where you have control over the page names, then:<BR><BR>&#060;%<BR>Links = Array("Home","FAQs","Our Services","Portfolio","Favorite Links")<BR>For i = 0 To UBound(Links)<BR>%&#062;<BR>&nbsp; &nbsp; &#060;A HREF=&#039;&#060;%=Replace(Links(i)," ","_") %&#062;.asp&#039;&#062;&#060;%=Links(i)%&#062;&#06 0;/A&#062;<BR>&#060;%<BR>Next<BR>%&#062;<BR><BR>???<B R><BR>I replace the spaces with underlines to avoid problems in some browsers. Now you just name your pages to match the link names. Presto. But is it worth it? Compared to cut and paste? I doubt it.<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts