Jump to content

Vertical border IE


xzaz
 Share

Recommended Posts

Sry to disapoint you, but that doesn't seems to work. I think its because its a embedded IE window.

Something like this:

<script type="text/javascript">
document.body.style.border='none' 
</script>

Doesn't working either.

edit:

http://www.google.nl/search?hl=nl&clie...oeken&meta=

LOL @ 3th link

What are you talking about, where are you putting this code? ...its not javascript for a start!

<html>

<head>

<style>

body{border:0;}

</style>

</head>

<body>

xxxx

</body>

</html>

Link to comment
Share on other sites

i know i know, but that doesn't work for me :) I found out why

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

The doctype didn't liked it. Removed it, and its working.

Edit: dmn now i can fix my ajax again or search a fix.

Edited by xzaz
Link to comment
Share on other sites

  • 2 weeks later...

Alright this is my last try, after this i give up.

If someone get this to work, without that dmn 3D border arround the IE object he or she is getting a cookie! If someone knows how i can intergrade this:

void IDocHostUIHandler.GetHostInfo(ref _DOCHOSTUIINFO pInfo)
{
   pInfo.dwFlags |= ( 0x08 /*DOCHOSTUIFLAG_SCROLL_NO*/ |      
                      0x04 /*DOCHOSTUIFLAG_NO3DBORDER*/
  
   );
}
into this script that would be awesome.

Alright so this is not working:

;---------------------------
; Laungher
;
;---------------------------
#include <GUIConstants.au3>
#include <IE.au3>

$oIE = _IECreateEmbedded ()

$serverweb = "http://www.xzaz.nl/index.php?p=home"
$winw = 1024
$winh = 768
$Main_App = GUICreate('Label Application',$winw,$winh,0,0)
GUICtrlCreateObj($oIE, 5, 100, $winw-10, $winh-120)
GUISetState (@SW_SHOW)

$oIE.navigate($serverweb)

_IELoadWait($oIE)
$oIE.document.body.style.border = "none"
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
ExitoÝ÷ ٩ݶ¬Ì(®H§«­¢+Øì´´´´´´´´´´´´´´´´´´´´´´´´´´´(ì1Õ¹¡È(ì(ì´´´´´´´´´´´´´´´´´´´´´´´´´´´(¥¹±Õ±ÐíU%
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±Ðí%¹ÔÌÐì((ÀÌØí½%ô}%
Éѵ ¤((ÀÌØíÍÉÙÉÝôÅÕ½Ðí¡ÑÑÀè¼½ÝÝܹ½½±¹¹°ÅÕ½Ðì(ÀÌØíÝ¥¹ÜôÄÀÈÐ(ÀÌØíÝ¥¹ ôÜØà(ÀÌØí5¥¹}ÁÀôU%
ÉÑ Ìäí1°ÁÁ±¥Ñ¥½¸Ìäì°ÀÌØíÝ¥¹Ü°ÀÌØíÝ¥¹ °À°À¤)U%
Ñɱ
ÉÑ=¨ ÀÌØí½%°Ô°ÄÀÀ°ÀÌØíÝ¥¹Ü´ÄÀ°ÀÌØíÝ¥¹ ´ÄÈÀ¤)U%MÑMÑÑ¡M]}M!=¤((ÀÌØí½%¹¹Ù¥Ñ ÀÌØíÍÉÙÉݤ()}%1½]¥Ð ÀÌØí½%¤(ÀÌØí½%¹½Õµ¹Ð¹½ä¹ÍÑå±¹½ÉÈôÅÕ½Ðí¹½¹ÅÕ½Ðì)]¡¥±Ä(ÀÌØíµÍôU%Ñ5Í ¤(%ÀÌØíµÍôÀÌØíU%}Y9Q}
1=MQ¡¸á¥Ñ1½½À)]¹)á¥

Why because this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I'v tried everything, even othere Doctypes, versions of IE. Other computers. Remember you will get a cookie! :)

- Border: 0;

- Border: none;

- Put border into javascript doesn't work

- Border: collapse;

Edited by xzaz
Link to comment
Share on other sites

I just don't see what you are seeing... what 3-d border?

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

Link to comment
Share on other sites

Alright this is my last try, after this i give up.

I'v tried everything, even othere Doctypes, versions of IE. Other computers. Remember you will get a cookie! :)

- Border: 0;

- Border: none;

- Put border into javascript doesn't work

- Border: collapse;

;
;---------------------------
#include <GUIConstants.au3>
#include <IE.au3>

$oIE = _IECreateEmbedded ()

$serverweb = "http://www.xzaz.nl/index.php?p=home"
$winw = 1024
$winh = 768
$Main_App = GUICreate('Label Application', $winw, $winh,0,0,$WS_OVERLAPPEDWINDOW)
GUICtrlCreateObj($oIE, 5, 100, $winw-10, $winh-120)
Opt("GUIResizeMode", 1)

GUISetState (@SW_SHOW)

;$oIE.navigate($serverweb)

$oIE.navigate("about:blank")
$oIE.document.body.style.border="0"
$oIE.document.write("<body style='border:0;margin:0px'><iframe scrolling=no frameborder=0 src =" & $serverweb & " width=100% height=100%></iframe></body>")

$oIE.refresh
$oIE.document.body.scroll = "no"
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
Exit

Its a hack, but hey it works.

A gold star is better than cookie please!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...