Fixed!
Thanks feherke for your help. I guess the lession here is don't write javascript when you've only had 3 hrs sleep.
Below is the working code should anyone find be searching for this.
<html>
<head>
<script type="text/javascript">
<!--
function SFLIR(id_tag){
var...
yes, it is :)
I noticed the var names (div/divs) while I was amending the html.
Thanks your first hint was enogth to get the letters to appear (after I fixed my silly mistakes)
Thanks.
-----
www.kirogl.co.uk
Hi I'm trying to get Javascript to replace the first character of a div tag with a image (i.e. image of letter a if the first letter is a, image of letter b if the first letter is b etc.) and then replace the first text with the same text less the first character.
however this script it just...
Fixed it!
Thanks tsuji for the hint.
here's the final code (in case anyone else has similer problems)
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function setbox(myValue){
if (document.myForm.but[0].checked) {
document.myForm2.boxone.value = myValue
}
if (document.myForm.but[1].checked) {...
Hi,
I want to use radio button to select a textbox, so that when a user click's on a link, depening on which button is currently selected, a value is posted to one of two text boxes.
however IE keeps throwing up an error on line 21/22 (the line of HTML that calls the JS function) What am I...
Hi all,
I want to display custom HTML in a WebBrowser control (in VB5) by directly sending the HTML code to the control, I'm fairly sure I can do it but not sure how.
At present I've a work-a-round where I save the HTML into a file then "navagate" to that file (and delete it on unloading)...
can someone point me in the direction of a web site that would let me know how I send a fax using a computer and a modem.
Im trying to write a all-singing all-dancing communication type program in VB5 and really could do with the specks for the handshaking protocal and communication protocals...
You can also use the Internet control element
for example to querey google
dim page as string
page = URL1.GetURL("http://www.google.co.uk/search?q=" + search_string + "&ie=ISO-8859-1&hl=en&meta=")
Scan_4_Links(page)
Some search engions (like Google I think) won't alow you to querey them...
you may also care to have a look at
http://rain.prohosting.com/kirogl/soft.html
and have a look at the source code for BulkMaillerV4
To be honest looking at it ti's poorly done but it may help
-----
www.kirogl.co.uk
It doesn't ship with VB5 you can use the winstock control to write one, you can pick up a sharewhere version (do a google search for "STMP ocx" or something like that)
If you're thinking of writeing one you will need the RFC 821, you can pick it up from
http://www.faqs.org/rfcs/rfc821.html...
In later versions of the control, MAPI will ask the user to confirm any e-mail sent using it (it's an Anti-virus thing) this can be a right pain if you are sending more than one message.
therefore it may be better to look at using a basic STMP control to send your messages.
-----
www.kirogl.co.uk
I was talking about the webbrowser control.
I think... I've sorted it now.
I think what I wanted to do was something like this
dim tempstr as string
tempstr = text1.text
WB1.document.clear("")
WB1.document.write(tempstr)
and thanks for the hints about posts.
-----
www.kirogl.co.uk
I trying to write an e-mail client that by defult displays the text in a normal multi-line text box but at the click of a button opens up a hidden html displaying control (I can't think whats it called, but it's the one that comes with free with VB5) and then displays the e-mail as a web page...
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.