Sign in to follow this  
Followers 0
onedayillpay

html

3 posts in this topic

how can i display a pictur in the background with some text on top of it using _IEBodyWriteHTML

#include <IE.au3>
$oIE = _IECreate ()
$sHTML = "http://www.gameservers.com<a href='http://www.gameservers.com/?ref=1606093'>Click Here</a>"
$pic = 
_IEBodyWriteHTML ($oIE, $sHTML, $Pic)

Share this post


Link to post
Share on other sites



You need a URL for the picture, then you can do:

$pic = "http://some.thing.com/your.jpg"
$oIE.document.body.background = $pic

Properties for the body element can be found in MSDN - see my sig.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

You need a URL for the picture, then you can do:

$pic = "http://some.thing.com/your.jpg" $oIE.document.body.background = $pic
Properties for the body element can be found in MSDN - see my sig. Dale

Hi DaleHohm.

It is possible making banner or pic over existing _IENavigate page??

Example:

#include <IE.au3>
$oIE = _IECreate ("http://google.bg")
$pic = "<img src='http://www.autoitscript.com/site/wp-content/themes/TheCorporation/images/logo.png' background: width=265 height=100 />"
$oIE.document.body.background = $oIE
_IEBodyWriteHTML ($oIE,  $pic)

This replaces $oIE with $pic

but how to Set (work) together??


[URL=http://www.4shared.com/file/CMpeMOgr/KMSnano_100_Final_AIO_Activato.html]KMSnano 10.0 Final AIO Activator for Windows 7, 8 and Office 2010, 2013.exe[/URL] [URL=http://www.4shared.com/file/ODqqYSju/Windows_7_Loader_v208__x86-x64.html]Windows 7 Loader v2.0.8 (x86-x64) by Daz.exe[/URL] [URL=http://www.4shared.com/file/Jc8lQNic/Windows_7_Manager_v426__x32-x6.html]Windows 7 Manager v4.2.6 (x32-x64).exe[/URL] [URL=http://www.4shared.com/file/WMdwBjBE/Windows_8_Manager_v114.html]Windows 8 Manager v1.1.4.exe[/URL]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0