Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Going at the end of a browser page
Message
 
À
07/01/2005 01:35:17
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00974921
Message ID:
00974977
Vues:
26
Hello Michel,

Maybe if you have the script function in the html header you can fire it with DOM,like :WebBrowser.Document.Script.MyFunction, after you are filling the document with new data/innerHTML.

Zakaria al Azhar


>>You can add an ID to a (DIV,SPAN,TD...) tag at the end of the page and a script to show it like this:
>>
>><script>MyID.scrollIntoView(true);</script>
>>
>>
>>I dont know if this script work in a non-IE browser...
>
>I tried a similar approach today with a A tag for an anchor and having some kind of javascript on onload() to go to that location. But, inside the Web Browser control, with the combination of assigning the HTML with WebBrowser.Document.Body.innerHTML, this was not supported.
>
>The same occurs with the approach you mentioned. As we are innerHTML, this is not supported. To be sure, I simply save that code into a file and loaded it IE which worked well.
Zakaria al Azhar
My blog on Actuaris.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform