I'm trying to insert / add a new node into an XML file and I can't seem to figure out the correct scripting (using either vbscript or javascript). Below is a sample of the XML file and I have the area I'm trying to insert a node into with red font.
<WebData ID="T0" Desc="Standard Reports"...
Two ways to do this:
1st) <META HTTP-EQUIV="imagetoolbar" CONTENT="no">
or
2nd) <img src="my_pic.gif" GALLERYIMG="no">
First disables all image toolbars on a page and the second one will disable a specific image.
Is your htm file going to be on the cd, or somewhere on the users hard drive? If the htm file is also on the cd, then the following should work for you.
You could make a file named autorun.inf for your cd and include the following in the file:
[autorun]
open=wscript.exe start.vbs
When you...
Are you looking for something like this? If not, be a little more specific. This script will open your htm page and run an exe file (or any file for that matter).
<html>
<head>
<script language='vbscript'>
function open_files
dim my_shell, my_path, htm_page, exe_file...
Try using set:
set menuObj = "Link" & menuID
set bkgrnd = "Head" & menuID
and
set menuObj2 = "Link" & menuID2
set bkgrnd2 = "Head" & menuID2
If it has to be an onClick then use something like:
<html>
<head>
<script language="vbscript">
function click_function
location.href="http://yahoo.com"
end function
</script>
</head>
<body>
<img src="../images/rt.jpg" onClick='click_function'>
</body>
</html>
Try this: open IIS Services, right click on the default website (or your website in the left menu) and select properties. Click on the property tab labeled "ISAPI Filters" and see if ASP is in there. If it isn't, add it.
Click on ADD and then Browse. You're looking for ASP.dll...
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.