|
-
Sep 11th, 2000, 02:04 AM
#1
Thread Starter
Junior Member
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
-
Sep 11th, 2000, 04:27 AM
#2
Conquistador
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.
-
Sep 11th, 2000, 05:27 AM
#3
Thread Starter
Junior Member
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
-
Sep 11th, 2000, 05:58 AM
#4
Conquistador
yes you can, but you will have to edit every page, before it is shown, so that the hyperlinks are bigger than everythin else.
-
Sep 11th, 2000, 08:03 AM
#5
Thread Starter
Junior Member
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
-
Sep 11th, 2000, 08:25 AM
#6
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.
-
Sep 11th, 2000, 05:44 PM
#7
Conquistador
-
Sep 12th, 2000, 10:29 AM
#8
Understood what?
-
Sep 12th, 2000, 10:30 AM
#9
For some reason the Inet control won't let me download whole pages, anyone knows why?
-
Sep 13th, 2000, 01:25 AM
#10
Thread Starter
Junior Member
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
-
Sep 13th, 2000, 03:32 AM
#11
New Member
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.
-
Sep 13th, 2000, 03:39 AM
#12
Thread Starter
Junior Member
Lars Jarle Mæhlum
http://www.touch-it.no
-
Sep 13th, 2000, 09:06 AM
#13
Try downloading this page using Inet.
http://forums.vb-world.net/newreply....threadid=30368
It doesn't download the whole page for me
-
Sep 13th, 2000, 09:18 AM
#14
Frenzied Member
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.
-
Sep 13th, 2000, 09:26 AM
#15
Thnaks Jop, that should make it easier.
-
Sep 13th, 2000, 09:41 AM
#16
Jop: I couldn't find any InnerHTML property/method/event
-
Sep 13th, 2000, 10:01 AM
#17
Frenzied Member
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.
-
Sep 13th, 2000, 10:09 AM
#18
-
Sep 13th, 2000, 10:18 AM
#19
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|