|
may you give me your MSN or other?
|
|
|
|
|
what?
|
|
|
|
|
my english no very good,,my you give me your MSN or other contact tool? i'm say very detail
|
|
|
|
|
hack004 wrote: my english no very good Its OK, sometimes my grammar sucks too.
hack004 wrote: you give me your MSN or other contact tool? Why? For questions? I suggest you to use forums instead of mailing to individuals because you can find number of solutions(for questions) in forums. Here in Codeproject, you can see 100s of experts answering questions everyday. Still you want mine see my profile page....but don't send me questions please.
|
|
|
|
|
ok,so...i'm upload a GIF image..
|
|
|
|
|
I give up.
|
|
|
|
|
can't upload GIF picture...may i send to your mail?
|
|
|
|
|
here..that's gif picture
http://115.com/file/cl3kn5ai(1).rar
|
|
|
|
|
hack004 wrote: http://115.com/file/cl3kn5ai(1).rar
What is this ???? its something written in Chinese ...
Apurv
If Java had true garbage collection, most programs would delete themselves upon execution.
|
|
|
|
|
Don't understand what the problem is ... its taking me to http://www.esp.com.cn/index.aspx[^]
Apurv
If Java had true garbage collection, most programs would delete themselves upon execution.
|
|
|
|
|
I'm using javascript inside a post in wordpress. I'm trying to position an element on top of another element. The script works fine in safari and firefox, but not Chrome. The y position is off by 30 pixels. If I run the script on a stand-alone web page it works fine in Chrome. The script I use to position is below. Anyone have an ideas what might be wrong?
function init()
{
var canvas = document.getElementById('tutorial');
var imgBack = document.getElementById('background');
var xImage = imgBack.offsetLeft;
var yImage = imgBack.offsetTop;
var elem = imgBack.offsetParent;
while (elem)
{
xImage += elem.offsetLeft;
yImage += elem.offsetTop;
elem = elem.offsetParent;
}
canvas.style.position = 'absolute';
canvas.style.left = xImage + "px";
canvas.style.top = yImage + "px";
}
|
|
|
|
|
Have you dropped into the chrome debugger and attached some watches or inject some javascript for logging to see what is going on in both the standalone and inside wordpress instances?
That may help to pin the issue....
|
|
|
|
|
Yes. I see a strange message: Not allowed to load local resource: file:///C:/DOCUME~1//LOCALS~1/Temp/moz-screenshot.png
don't know why that's there.
besides that I tried tracing offsetTop, etc., but don't see anything wrong
|
|
|
|
|
Maybe the strange message given the fact it is pointing to an image resource may be upsetting the item positions?
Does the strange message exist in both the standalone and in wordpress instanaces?
I would to be clearing all strange messages and get back to a known good state.
It is difficult to suggest what next as it is one of those problems where you would need to be at the machine having a dig.....if you know what I mean.
|
|
|
|
|
Hi all,
Im trying to make the slideshow using javascript, the images will be available in the folder. My requirement is the images can be replaced at anytime in the folder, according to that the script retrives the available images from the directory and should play the slide show. Please let me know how to achieve and also provide if any code snippet if you have.
Thanks
Kanna
|
|
|
|
|
http://www.a1javascripts.com/
http://www.javascriptkit.com/
|
|
|
|
|
This[^] is what JSOP is using.
|
|
|
|
|
|
For the slideshow for dynamic fetching of images, refer the link below.
http://www.dynamicdrive.com/dynamicindex14/flexislide.htm
-Manognya
__________________________________________________
$ God gives what is best.Not what all you wish
|
|
|
|
|
Hi,
How to find the Find X,Y position of a element, which is working both in IE and Firefox. Codes from net not working in mozilla.
Thankyou
|
|
|
|
|
use property .style (CSS)
complete HTML and DHTML reference for IE see
http://msdn.microsoft.com/en-us/library/ms533050.aspx
.position see http://msdn.microsoft.com/en-us/library/ms531140.aspx
|
|
|
|
|
Try this:
var e = document.getElementById(id), x = e.offsetLeft, y = e.offsetTop;
while(e = e.offsetParent) {
x += e.offsetLeft;
y += e.offsetTop;
}
|
|
|
|
|
Anybody knows how disable refresh when enter key pressed in the form input text in JavaScript?
I have this JavaScript code
function runScript(e){
if(e.keyCode == 13){
var div = document.createElement("div");
div.setAttribute("class", "resultItem");
var parentDiv = document.getElementById("result");
var input = document.getElementById("txtBox");
div.innerHTML = input.value;
parentDiv.appendChild(div);
}
}
My HTML code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Untitled Document</title>
<script src="script.js"></script>
</head>
<body>
<form>
<fieldset>
Website URL:
<input id="txtBox" type="url" onKeyPress="return runScript(event)"/>
</fieldset>
</form>
<div id="result">
<h2>URL List</h2>
</div>
</body>
</html>
My problem is when everytime I hit enter on my keyboard it refresh the page. I want it in every enter the value in the text box will be displayed below the URL List. Any help will be appreciated
|
|
|
|
|
hi,
flashery wrote: <input id="txtBox" type="url" önKeyPress="return runScript(event)"/>
Try this one
<input id="txtBox" type="url" onkeydown="javascript:return runScript(event)" onkeypress="javascript:return false;"/>
|
|
|
|
|
I cant type anything on my textbox.. Maybe its because of this onkeypress="javascript:return false;"
|
|
|
|