Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it L'avatar di jspippo
    Registrato dal
    Jul 2005
    Messaggi
    358

    elenco dinamico su due colonne

    Ciao

    ho un elenco dinamico, fatto in ASP :

    <%

    Dim FileObject
    Set FileObject = Server.CreateObject("Scripting.FileSystemObject")

    StrPath = Server.MapPath("/public/modulistica/")

    call GetFiles(StrPath)

    call GetFolders(StrPath)

    Set FileObject = Nothing


    Sub GetFiles(strPath)

    Set f = FileObject.GetFolder( strPath )
    Set fc = f.Files

    For Each f1 in fc
    'if instr(f1.name, ".zip") then
    Response.write "[*]" & f1.name
    'end if
    Next

    Set fc = Nothing
    Set f = Nothing
    End sub

    Sub GetFolders(strPath)

    Set f = FileObject.GetFolder( strPath )
    Set fc = f.SubFolders

    For Each f1 in fc

    Response.write "[*]" & f1.name
    Response.write "<ul>"
    call GetFiles(f1)

    call GetFolders(f1)

    Response.write "[/list]"
    Next

    Set fc = Nothing
    Set f = Nothing
    End sub

    %>

    come posso dividerlo in due o tre colonne?

    grazie

  2. #2
    Utente di HTML.it L'avatar di salasir
    Registrato dal
    Apr 2004
    Messaggi
    1,887
    Maurizio

    "se ami il lavoro che fai, non lavorerai mai un giorno in vita tua!"

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.