Forum: JavaScript / DHTML / AJAX Sep 22nd, 2007 |
| Replies: 7 Views: 2,126 Hi,
Another file would probably work. Unless it is a naming clash.
But try putting it in a JS file and linking to it from your blog.
Cheers,
Alpha |
Forum: JavaScript / DHTML / AJAX Sep 22nd, 2007 |
| Replies: 5 Views: 1,342 Hi,
You could either add the parameters you want to post in the URL, like for this page: newreply.php?do=newreply&noquote=1&p=438334
Notice that the page has a ? and then a couple of parameters... |
Forum: JavaScript / DHTML / AJAX Sep 20th, 2007 |
| Replies: 5 Views: 1,342 Hi, you want the user to go to the page they select right?
When the user goes to the next page, your page is reloaded, there are only 3 solutions I can think of for your problem. And this is a... |
Forum: JavaScript / DHTML / AJAX Sep 20th, 2007 |
| Replies: 7 Views: 2,126 Hi,
I've found loading complex javascript in blogger difficult! Firstly, even in HTML mode blogger adds <br/> tags, which will obviously break your javascript... if you can, it would be a lot easier... |
Forum: JavaScript / DHTML / AJAX Sep 19th, 2007 |
| Replies: 2 Views: 2,078 But you'd need to put an ID on the for input fields - can you do this with JSP? I don't see why not?
But you may just have your naming wrong? |
Forum: JavaScript / DHTML / AJAX Sep 19th, 2007 |
| Replies: 2 Views: 2,078 Hi saurav!
I'm not sure what is in the dwr package, but you might not be referencing it correctly? Perhaps it is util.getValue("firstName");? However you can do the same like this:
var... |
Forum: JavaScript / DHTML / AJAX Sep 19th, 2007 |
| Replies: 2 Views: 977 This is a very general question - I'd recommend checking out some wiki applications. Which can be on ASP.NET - I think? But .NET is a framework, for which many applications exist.
I noticed that... |
Forum: JavaScript / DHTML / AJAX Sep 17th, 2007 |
| Replies: 1 Views: 1,300 It would probably being using an AJAX method to check for updates on the chat server. These can be threaded to wait for your comments, while also checking the server for updates.
How much... |
Forum: JavaScript / DHTML / AJAX Sep 17th, 2007 |
| Replies: 1 Views: 5,825 Hi,
If you want to do this with a lot of different links and for it to work well in IE and Firefox, then you might want to change it a little... alternatively, I would use an ID attribute instead of... |
Forum: JavaScript / DHTML / AJAX Aug 14th, 2007 |
| Replies: 9 Views: 1,178 The reason your code didn't work is that you were trying to construct the element variable as if it were a string... If you wanted to to it like this, you would need to construct the javascript you... |
Forum: JavaScript / DHTML / AJAX Aug 13th, 2007 |
| Replies: 2 Views: 2,423 I don't think there is a way to terminate the call - apart from closing the document. Prototypes are similar to objects - if you are familiar with OOP? If you have a prototype 'instance' then you can... |
Forum: JavaScript / DHTML / AJAX Aug 13th, 2007 |
| Replies: 2 Views: 4,463 You can give an html element an ID.
<img src="something.jpg" id="yourId">
Then look the object up using the ID.
var domElement = document.getElementById("yourId")
Now you have a reference... |
Forum: JavaScript / DHTML / AJAX Aug 13th, 2007 |
| Replies: 2 Views: 965 Hi, instead of a zip file - could you just post the code? |
Forum: JavaScript / DHTML / AJAX May 24th, 2007 |
| Replies: 6 Views: 3,972 It is possible to run applications on the client machine, but this is usually not appreciated by the user and involves signing trusted code.
A better alternative may be to request the client user... |
Forum: JavaScript / DHTML / AJAX May 23rd, 2007 |
| Replies: 3 Views: 2,872 You can't "import" a javascript file with a javascript file.
There is an import (and export) keyword in the javascript, but these are used for visibility of members.
I wrote some code to... |
Forum: JavaScript / DHTML / AJAX May 22nd, 2007 |
| Replies: 6 Views: 3,972 You can't do this with a HTML scripting language.
If you use a server side language - something like JSP, ASP, PHP etc, then you can scan the server directories and populate a list in the... |
Forum: JavaScript / DHTML / AJAX May 22nd, 2007 |
| Replies: 1 Views: 4,443 Hi,
There are many ways you could solve this issue and depending on your target audience, you may have to implement more than one solution.
A favourite approach is to use an AJAX solution. This... |
Forum: JavaScript / DHTML / AJAX Jul 30th, 2006 |
| Replies: 4 Views: 8,333 Sorry, the second tbody is the rest of the table.. my bad.
This all seems over complicated, why don't you use one table... or better, no tables? Then just show and hide div elements? |
Forum: JavaScript / DHTML / AJAX Jul 30th, 2006 |
| Replies: 4 Views: 8,333 I think you have forgotten to close the second tbody - this could cause your issue. |
Forum: JavaScript / DHTML / AJAX Jun 28th, 2006 |
| Replies: 13 Views: 32,978 I think your problem is the reload, when this happens the window probably loses all relationship references (I'm guessing). If the parent refreshes, it makes sense that your code no longer controls... |
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2006 |
| Replies: 13 Views: 4,392 That's cool, I get bored at work. as a rule of thumb, the easier it is for people to access the problem, the easier it is for them to help.
If I can glance at the code and see I can paste it into... |
Forum: JavaScript / DHTML / AJAX Jun 22nd, 2006 |
| Replies: 13 Views: 4,392 <html>
<head></head>
<body>
<script language="javascript" type="text/javascript">
var set_action = "";
var set_path = "images/";
var set_id="<!--%ID%-->";
var set_spacer = "spacer.gif";... |
Forum: JavaScript / DHTML / AJAX Jun 22nd, 2006 |
| Replies: 13 Views: 4,392 Yes it is all possible (if I understand what your saying).
I think you are saying you were thinking about setting the value with a mouse over event? This is actually very similar to how it is now,... |
Forum: JavaScript / DHTML / AJAX Jun 22nd, 2006 |
| Replies: 13 Views: 4,392 Yes, It is pretty simple to put two elements in a form. You will have a little problem with your code, because you don't have a very 'object-oriented' structure. It is very procedural.
What I mean... |
Forum: JavaScript / DHTML / AJAX Jun 19th, 2006 |
| Replies: 13 Views: 4,392 interesting... I guess I could remove the php code, load it in a web browser, take a look at your problem and find a solution for you. |
Forum: JavaScript / DHTML / AJAX Jun 19th, 2006 |
| Replies: 2 Views: 3,057 Its funny you ask your question this way, because using 3 css files is exactly how the website you want to copy does it..
They use the javascript method you can see when you mouseover the link to... |
Forum: JavaScript / DHTML / AJAX Jun 19th, 2006 |
| Replies: 13 Views: 4,392 have you seen the yahoo 'launchcast' station music rating? it uses that crazy macromedia stuff to implement its ratings, but these days you can eliminate around 10% of your audience by using AJAX to... |
Forum: JavaScript / DHTML / AJAX Jun 19th, 2006 |
| Replies: 4 Views: 2,226 No need to feel less than inteligent, there are 'compilers' for JavaScript. Mozilla's Rhino JavaScript compiler can be used to build Java classes out of Javascript files. I have used this, since I am... |
Forum: JavaScript / DHTML / AJAX Jun 6th, 2006 |
| Replies: 1 Views: 2,690 There are many ways to optimise javascript, string manipulation is terrible (for example). But it difficult to recommend changes without seeing your code. |
Forum: JavaScript / DHTML / AJAX Jun 6th, 2006 |
| Replies: 11 Views: 79,319 What you usually do is what Tom has suggested, but you would invoke a call to the code that you want to execute after timeout.
So if you had an algorithm like such:
function myFunction(){
... |
Forum: JavaScript / DHTML / AJAX Apr 19th, 2006 |
| Replies: 1 Views: 1,345 well, there is a lot of code there... and I don't have all of your libs - so i can't play with it for you.
However, a problem I have come across in IE is that it doesn't clone some data correctly,... |
Forum: JavaScript / DHTML / AJAX Apr 10th, 2006 |
| Replies: 11 Views: 47,808 wow, this thread is old... |
Forum: JavaScript / DHTML / AJAX Apr 10th, 2006 |
| Replies: 11 Views: 47,808 Tgreer had more than one example.. if you read his comments and code you will learn much about event handling in mozilla.
To copy and paste, try the last example. to get the x and y coordinates,... |
Forum: JavaScript / DHTML / AJAX Apr 10th, 2006 |
| Replies: 3 Views: 2,122 There are valid points in this response. You can ignore the use of AJAX technologies designing your page, and then enrich the user experience using more Javascript handled HTTP Requests.
But it... |
Forum: JavaScript / DHTML / AJAX Apr 4th, 2006 |
| Replies: 7 Views: 21,162 To ensure the page is loaded before the add is drawn you can use a setTimeout(yourfunction,500) type mechanism in the onLoad.
You can also look at using the html dom to add innerHTML instead of... |
Forum: JavaScript / DHTML / AJAX Apr 3rd, 2006 |
| Replies: 5 Views: 9,430 Hi,
What you have works for me in IE7.0 - Which doesn't mean it will work in IE6, but I will presume it does and that you actually want it to work in Mozilla.
In which case, you need to use the... |
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2006 |
| Replies: 5 Views: 9,430 you might also like to consider incorporating Firefox support with the XMLHttpRequest object. |
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2006 |
| Replies: 5 Views: 9,430 change new ActiveXObject("Microsoft.XMLDOM") ;
to new ActiveXObject("msxml2.DOMDocument") ; |
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2006 |
| Replies: 2 Views: 17,397 There are several things you can do... for example it is possible to dynamically add and remove html nodes from your page using javascript. But I find this isn't particularly quick (sometimes you... |
Forum: JavaScript / DHTML / AJAX Mar 30th, 2006 |
| Replies: 1 Views: 2,348 It sounds like you've got it almost there. A node has several methods that can be called to manipulate child nodes. To remove a child call you would do something like this:... |