Results 1 to 19 of 19

Thread: change the look of hyperlinks in browser

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Location
    Oslo, Norway
    Posts
    22

    Cool

    I`m looking for a way to enlargen the hyperlinks shown in a browser. The best thing would be to buttonize them. Do I have to make my own browser from scratch or can I use methods in Microsoft Internet Control.

    (This will make it easier to use a browser with a touch screen monitor.)

    lars

    [Edited by mehlar on 09-11-2000 at 10:52 AM]
    Lars Jarle Mæhlum
    http://www.touch-it.no

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    you could alter the style of the hyperlinks for every page that you load, i.e download it, add the style code to the top

    take a look at
    http://www.htmlgoodies.com
    they have tutorials about style stuff.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Location
    Oslo, Norway
    Posts
    22
    Thank you da_Silvy that sounds like a good idea. But I didn`t get how to do that (maybe because I just fell off my bike and hurt my head). Can I use the WebBrowser control?

    lars
    Lars Jarle Mæhlum
    http://www.touch-it.no

  4. #4
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    yes you can, but you will have to edit every page, before it is shown, so that the hyperlinks are bigger than everythin else.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Location
    Oslo, Norway
    Posts
    22
    I`m very, very thankful for your answers but I still can`t figure out how to edit these pages.

    lars
    Lars Jarle Mæhlum
    http://www.touch-it.no

  6. #6
    Guest
    You could try getting the webpage using the OpenURL method of the Inet control, then change the <style> tag in the returned string, save that string to a temporary html file on the disk, and display it in a browser.

    I'll try scratching some code for you.

  7. #7
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    so you understood Sc0rp?

  8. #8
    Guest
    Understood what?

  9. #9
    Guest
    For some reason the Inet control won't let me download whole pages, anyone knows why?

  10. #10

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Location
    Oslo, Norway
    Posts
    22
    I have no problems getting the whole page source code. I simply use this:

    Text1.Text = Inet1.OpenURL("http://www.startsiden.no")_________________


    lars
    Lars Jarle Mæhlum
    http://www.touch-it.no

  11. #11
    New Member
    Join Date
    Aug 2000
    Posts
    4
    Thats just because the Url you used has no Frames. A site with frames will not load completely, it will only load the frameset, not the contents.

  12. #12

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Location
    Oslo, Norway
    Posts
    22
    a-ha

    lars
    Lars Jarle Mæhlum
    http://www.touch-it.no

  13. #13
    Guest
    Try downloading this page using Inet.
    http://forums.vb-world.net/newreply....threadid=30368
    It doesn't download the whole page for me

  14. #14
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    It does for me

    Use a invisible copy of a WebBrowser instead, and then use WeBBrowser.document.InnerHTML after downloading the page, then edit it, then save it and then display it in the visible webbrowser. (Sounds like a lot of time but it's processed in within' a second, except for the downloading ofcourse)
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  15. #15
    Guest
    Thnaks Jop, that should make it easier.

  16. #16
    Guest
    Jop: I couldn't find any InnerHTML property/method/event

  17. #17
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    I'm sorry I didn't test it

    this is the correct syntax according to Matthew Gates in this post.

    Code:
    Webbrowser1.Document.documentElement.innerHTML
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  18. #18
    Guest
    It still doesn't exist.

  19. #19
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Sh*t, i'm sorry, I can't start my VB now (UnExpected Error (damn, wich error is expected? Does windows just make them to annoy me? )) So I have to reboot but I'm quite busy now so maybe someone else can help you in meantime.

    GoodLuck!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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