-
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]
-
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.
-
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
-
yes you can, but you will have to edit every page, before it is shown, so that the hyperlinks are bigger than everythin else.
-
I`m very, very thankful for your answers but I still can`t figure out how to edit these pages.
lars
-
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.
-
-
Understood what? :confused:
-
For some reason the Inet control won't let me download whole pages, anyone knows why?
-
I have no problems getting the whole page source code. I simply use this:
Text1.Text = Inet1.OpenURL("http://www.startsiden.no")_________________
lars
-
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.
-
-
Try downloading this page using Inet.
http://forums.vb-world.net/newreply....threadid=30368
It doesn't download the whole page for me :(
-
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)
-
Thnaks Jop, that should make it easier. :)
-
Jop: I couldn't find any InnerHTML property/method/event :(
-
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
-
-
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!