|
How to Trim a string in JavaScript? (Like the Trim() function in VBScript.
Thank you for any reply.
|
|
|
|
|
Dont repeat the messages!
I was born intelligent Education ruined me!.
|
|
|
|
|
Hello,I have never write a spider program,I need help!
Thanks for your help.;)
|
|
|
|
|
should be anything like active x controls.... if u get information from other sources... u can share that here..
I was born intelligent Education ruined me!.
|
|
|
|
|
I have just got some,but not enough.
http://www.google.com/search?q=web+crawler+program&hl=zh-CN&lr=&ie=UTF-8&oe=UTF-8&start=10&sa=N
|
|
|
|
|
google results are fine...
it would b of help when the link leads to the ONE you think that it is the ANSWER for the question!
I was born intelligent Education ruined me!.
|
|
|
|
|
|
|
I wonder how the offline web browser process the webpage's links. When the page is downloaded,all the links point to local files.By programing,how to perform
Thanks
|
|
|
|
|
I guess.... change the links in the page to the local reference by ../ ../dirname etc??
I was born intelligent Education ruined me!.
|
|
|
|
|
Yes,this is a way,but this is difficult to do when give you
only the webpage's source code.I wonder how to alter the links in the source code.
|
|
|
|
|
may be like this... the utility first collects the site URL.. and makes that as a reference to find and replace the URLs' from the site.. also to make it robust... it makes a BETTER find and replace algorithm!!
I guess it is not just a find and replace stuff!
I was born intelligent Education ruined me!.
|
|
|
|
|
How can I pass arguments to a .swf embedded in a HTML page, and how can I evaluate them in the flash animation?
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
Hi
Does anyone know how to put two graphic file s over each other.
I want to insert a dot (jpeg) on a map (jpeg) when user selects "View my home", and remove the dot and put it on another place on the same map for "view my friend's home".
I've tried:
function p(q){
return q = 90;
};
The code works fine when I type an actual value instead of p(q), but I want to be able to change the value of q.
I've thought of setting the map picture as background, but that won't work for future applications.
Thanks
|
|
|
|
|
If you want to put two html objects over each other you can do it using position.
For example this will put dot at position [150,50] (from left top corner of window client area)
<img src="map.jpg" style="position:absolute; left:0; top:0;" >
<img src="dot.jpg" id="dotObj" style="position:absolute; left:150px; top:50px;" >
To change position of 'dot' image you can use javascript:
el=document.getElementById('dotObj');
el.style.left="20px";
el.style.top="80px";
i'm only pointer to myself
|
|
|
|
|
What internet sites do you all feel have the best looking designs? Sites which are clean, crisp, professional, and creative.
Mark Sanders
sanderssolutions.com
|
|
|
|
|
|
I want when user click on a url of file(or anything like that),that file execute ,bot download.Is that possible with javascript?
Mazy
No sig. available now.
|
|
|
|
|
Do you mean you want a file to execute on the server or on the client machine?
|
|
|
|
|
antbates wrote:
Do you mean you want a file to execute on the server or on the client machine?
I think I'was not clear. The file download AND run client mavhine.Some times when I want to download some installsheild,the run automaticlly. I want something like that.
Mazy
No sig. available now.
|
|
|
|
|
Everybody knows, we can connect to the local DB (.mdb etc) files in a simple way by using ADODB.Connection object, but i was wondering if there is a way to connect to the remote DataBase (on the other machine on the network or on the Internet).
Is there any solution?
|
|
|
|
|
Sure, you specific the details in the connection string in the ADODB Connection object.
Dim conn as new ADODB.Connection
Dim adors as new ADODB.Recordset
conn.ConnectionString = "Driver={Microsoft Access Driver (*.mdb)};" & _
"Dbq=\\myServer\myShare\myPath\myDb.mdb;" & _
"Uid=admin;" & _
"Pwd="
conn.Open
adors.ActiveConnection = conn
adors.Open "Select * from Table"
'...
-Nick Parker
|
|
|
|
|
I can't simply crete a text file using fso
Is that my server problem or what?
I don't think it needs any requirement, right?
Please help me as soon as possible, i need to build a website for my school
and i still cannot find out what is wrong with it
<%@ Language="VBScript" %>
<%
call CreateTemp
sub CreateTemp()
Dim fso, InputaimlFile, OutputaimlFile, sLn, fileName
fileName = "C:\Test.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
Set OutputaimlFile = fso.CreateTextFile(fileName, True)
OutputaimlFile.WriteLine("This is a test.")
OutputaimlFile.Close
End sub
%>
|
|
|
|
|
1 - which line gives your error message? Whats the error message???
2 - does the directory has read/write permissions for the web scripts?!?!?!
I was born intelligent Education ruined me!.
|
|
|
|
|
I think the problem is with the file path.
try this one...
<%
call CreateTemp
sub CreateTemp()
Dim fso, InputaimlFile, OutputaimlFile, sLn, fileName
fileName = Server.MapPath("Test.txt")
Set fso = CreateObject("Scripting.FileSystemObject")
Set OutputaimlFile = fso.CreateTextFile(fileName, True)
OutputaimlFile.WriteLine("This is a test.")
OutputaimlFile.Close
End sub
%>
It will create the text file in the same folder as you .asp file is saved.
|
|
|
|