|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
count var script...
I need to change this:
<% Sub WriteSubNav( link, pageTitle, pageDescription ) startAt = InStrRev( link, "/" ) + 1 stopAt = InStr( startAt, link, "." ) If stopAt = 0 Then nav = link Else nav = Mid( link, startAt, stopAt-startAt ) End If subNavUrl = link & "?navID=" & Escape(nav) _ & "&pageTitle=" & Escape(LCASE( REPLACE (pageTitle," " , "+") ) ) _ & "&pageDescription=" & Escape(LCASE( REPLACE (pageDescription," " , "+") ) ) %> <a href="<%=subNavUrl%>" class="subNavLink"><%=LCASE( Replace( pageTitle, "_", " " ) )%></a> : so that it does not put a : sign after the last link I have been told that the easiest way to do this is to put the : in front of each link except the first one, rather than counting the var's and -1 on them. Could someone help me out with this please. Im not sure how to do it. Thanks. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > count var script... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|