Results 1 to 8 of 8
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    simulate click on link do until appear 'precedenti (6.0)

    I have this web page in 3 frame. (use Telefoni_AGENZIE.htm to start thw web page)
    to the derfalu page in central frame is a page in the bottom of that to are a link "1 2 3 4 5 6 7 8 9 10 sucessive".
    How to:

    click on link "2" and simulate click
    click on link "3" and simulate click
    ...
    click on link "10" and simulate click

    click on "successive" (to go to the next page with other sequence of link) appear new sequence of number:
    11 12 13 14 15 16 17 18 19 20 "successive"

    now
    click on link "12" and simulate click
    click on link "13" and simulate click
    ...
    click on link "20" and simulate click
    click on "successive" (to go to the next page with other sequence of link) appear new sequence of number:
    21 22 23 24 25 26 27 28 29 30 "successive"

    do until this cicle until instead in position is "successive" appear "precedenti" ....

    Naturally in VB

    Note: already have maked the code to navigate via VB i want only this piece of code.
    Tks. hope i am be clear...

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: simulate click on link do until appear 'preced

    I don't think anyone has a clue what you mean, Sal! Are you looking for VB code to generate HTML?

    I'll move this post to the Web design forum - it is not an IE issue in itself.

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: simulate click on link do until appear 'preced

    Sal

    You should look up ASP Pagination

    The link is a good example for you to look at but it can be as easy or as difficult as you like and not very easy to assist without more detail
    Jerry

  4. #4
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: simulate click on link do until appear 'preced

    i Leif, sorry me is a VB/VBA question....
    I want simply click on url via VB...

  5. #5
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: simulate click on link do until appear 'preced

    Hi Jerry i have this code and it work for 85%....
    In effect instead to click on number "2" the code click on "4"...

    Private Sub Form_Load()

    Dim IE As Object, Temp1 As Object
    Set IE = CreateObject("InternetExplorer.Application")
    IE.Visible = True
    IE.navigate "http://telefoni"
    Do Until IE.readyState = 4
    DoEvents
    Loop
    IE.document.frames(1).document.All.tags("a")(8).Cl ick

    End Sub

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: simulate click on link do until appear 'preced

    There should be a collection named <code>document.links</code> that you could loop through.

  7. #7
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: simulate click on link do until appear 'preced

    Hi... an dtk for suggestion
    have example or link with similar my question?

  8. #8
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: simulate click on link do until appear 'preced

    I do not have any samples. This sound similar to the method used by web "spiders" to create search engine indexes. Maybe if you search for "crawler" or "spider" code samples you can find some.

Posting Permissions

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