|
-
Aug 4th, 2002, 08:55 PM
#1
Thread Starter
PowerPoster
WebBrowser innerHTML manipulation...
Is it possible to manipulate an InnerHTML location in a HTML document through the WebBrowser control,. rather than internally on the page itself?
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
Aug 4th, 2002, 09:00 PM
#2
The picture isn't missing
so you want to mega combobulate the megatrixel now?
what do you mean by manipulating?
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 4th, 2002, 09:12 PM
#3
Thread Starter
PowerPoster
This is in an HTML page:
VB Code:
onMouseOver="desc.innerHTML='Some Text'"
onMouseOut="desc.innerText=' '">
It is part of a link. When someone mousesover the link, this text appears here:
VB Code:
<b ID=desc>'Some text' would appear here</b>
I want to be able to change the InnerHTML of locations like this, through VB code, if that is possible. It means I can write far more dynamic web pages for what I am working on now. But, I can't work out how to do it...
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
Aug 4th, 2002, 09:25 PM
#4
The picture isn't missing
do you mean changing the current html code in the browser w/o changing the actual html file?
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 4th, 2002, 09:27 PM
#5
Thread Starter
PowerPoster
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
Aug 4th, 2002, 09:46 PM
#6
The picture isn't missing
as long as the webbrowser had already visited a site (like about:blank) this would work:
Webbrowser1.document.body.innerhtml = replace(Webbrowser1.document.body.innerhtml,"<",">")
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 4th, 2002, 10:07 PM
#7
Thread Starter
PowerPoster
Hmmm... that may work, but it's pretty inflexible and hard to manage. It means I've got to keep track fo what innerHTML changes have been made constantly... which I don't really want to do - too painful...
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
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
|