Results 1 to 2 of 2

Thread: Include Link beside date

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2001
    Posts
    296

    Include Link beside date

    Function getContent(xml)

    Dim strContent

    strContent = "<DIV style=""font-size: 110%"">"
    strContent = strContent & FormatDateTime(Now(), 1)
    strContent = strContent & "</DIV>"
    strContent = strContent & "<HR>"

    getContent = strContent

    End Function


    The vbScript code above display date but i would like to display a "link" beside date like below. Knowledge Management is a link. Can someone show me the code please. thanks

    Monday, June 16, 2003 ; Knowledge Management

  2. #2
    Frenzied Member andreys's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,615
    Code:
    Function getContent(xml) 
    
    Dim strContent 
    
    strContent = "<DIV style=""font-size: 110%"">" 
    strContent = strContent & FormatDateTime(Now(), 1) 
    strContent = strContent & "&nbsp;;&nbsp;<a href=""knowlege.asp"">Knowledge Management</a>"
    strContent = strContent & "</DIV>" 
    strContent = strContent & "<HR>" 
    
    getContent = strContent 
    
    End Function

Posting Permissions

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



Click Here to Expand Forum to Full Width