Hi, how could I pass the 'bgColor' property of a TD html tag for example to my vb app's code when it's clicked on in my webbrowser control?
eg:-
vb code inside app:
Function msgBoxTDBGColor(s)
MsgBox("The current table cell background color inside my webbrowser control is " & s & ".")
End...
function xyz(){
var d=new Date();
}
.. is it possible to extract the non-global 'd' var from that function somewhere else in my code? (the function can't return any value...)
Hi - I'm writing a small app that deletes some unwanted content in a folder.
But how do I get the users logged on name, for the right path? eg. 'C:\Documents and Settings\Administrator\folder\files'. Also their drive letter may not be 'C' - how could I check that?
Cheers
DM
oh and in 'page-to-post-to.asp' the code would be something like this:
<%
response.cookies("sesh")="blah"
%>
<%
if request.cookies("sesh")<>"" then
response.write request.querystring("str")
else
response.write "can't post.. no cookie...
hi - is the a way for php to accept a remote server cookie, or a way around it?
what i'm tyring to do, is send a string to a remote page that won't allow you to post to it unless you have a session cookie already set by it.
eg :
<...
ok - thanks for the help guys - this is what i came up with
function test(tmp)
dim ent,i,j
set ent=new regexp
ent.global=true
ent.ignorecase=true
ent.pattern="\&([#a-zA-Z0-9]+);"
set i=ent.execute(tmp)
if i.count=0 then
test=tmp
exit function
else
for each j in i...
hi - i have a function that strips html entities such as '&#09;' etc:
option explicit
dim tmp
tmp=request.querystring("s")
response.write strip(tmp)
function strip(tmp)
dim x,i
set x=new regexp
x.global=true
x.ignorecase=true
x.pattern="\&([#a-zA-Z0-9]+);"...
Yeah, cheers - it seems IE only supports this CSS property if the element itself has the 'valign' attribute - so SPAN would'nt work.. ah well, i'll do something with tables.
cheers - dave..
Hi, should'nt the child span be aligned in the middle of the parent in this example?? - what am i doing wrong? :
<span style="width: 300px; height: 300px; background: #ccc;">
<span style="vertical-align: middle;">In the Middle?
</span>
</span>
Cheers...
This is what i use:
(works in IE anyway - not tested in netscape)
<script>
function doMyClose()
{
opener = this;
self.close();
}
</script>
<a href="JavaScript: doMyClose();">Close this window without the 'confirm close' dialog</a>
or inline version:
<a href="JavaScript...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.