Forum: JavaScript / DHTML / AJAX 8 Days Ago |
| Replies: 4 Views: 320 What is it supposed to do, and is it possible to see it somewhere in action online ? |
Forum: JavaScript / DHTML / AJAX 8 Days Ago |
| Replies: 4 Views: 320 Did you check where you copied the files. Maybe they are in a different folder then you specified. |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 2 Views: 284 Can you post a small piece of html to go with this, and a small explanation of what it is supposed to do ? It's hard to discover a flaw, without additional information. |
Forum: JavaScript / DHTML / AJAX 20 Days Ago |
| Replies: 5 Views: 411 Thanks for the example Airshow. Just one more reason to use jQuery for me ;) |
Forum: JavaScript / DHTML / AJAX 20 Days Ago |
| Replies: 5 Views: 411 I think the for (var i in ...) is the problem. My guess is i is not an integer, but an object (element).
I think you should store the document.getElementsByClassName('someclass') in an array and... |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 1 Views: 439 As soon as you refresh, the entire page is reloaded (and intialized). I think the only way to fix this is to let jQuery use cookies to store what is selected. There is a cookie plugin on the jQuery... |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 1 Views: 352 I checked niftyplayer, but it does not work without flash. The player itself is in flash and needs to be loaded for the javascript to work. |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 4 Views: 872 Thanks. I had a lot of help too while learning jQuery. Glad to return the favour.
If it solved your problem, would you please mark this thread solved. |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 1 Views: 402 jQuery offers a lot of tools, examples and plugins to help you with this.
Maybe something like this:
http://jonraasch.com/blog/contact-pop-jquery-plugin |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 4 Views: 872 1. The reason I use div's is because span's often give me trouble.
2. toggleClass toggles a specific class on and off, so you can't use it like you do now
3. I gave my div the id #toggle, so I... |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 6 Views: 479 Only javascript ? That would be rather difficult, if not impossible. |
Forum: JavaScript / DHTML / AJAX 28 Days Ago |
| Replies: 6 Views: 479 You'll need to store it somewhere, e.g. in a database.
Another option would be to use a third party tracker, e.g. google analytics. |
Forum: JavaScript / DHTML / AJAX 29 Days Ago |
| Replies: 11 Views: 943 Here is an example of how you could do it using jQuery:
http://www.pritaeas.net/public/jquery/enable-submit/ |
Forum: JavaScript / DHTML / AJAX 29 Days Ago |
| Replies: 7 Views: 495 Yes. Although at the time of posting I wasn't sure if XMLHttpRequest was asynchronous , but now I'm sure it is. (Not every function call is asynchronous by default.) |
Forum: JavaScript / DHTML / AJAX 30 Days Ago |
| Replies: 7 Views: 495 Yes, that is what I mean, although I am not sure if XmlHttpRequest is a good example. |
Forum: JavaScript / DHTML / AJAX 30 Days Ago |
| Replies: 7 Views: 495 Asynchronous just means that a call is made to e.g. a function, but that the code (next statement) won't wait until a response is received. |
Forum: JavaScript / DHTML / AJAX Nov 12th, 2009 |
| Replies: 15 Views: 1,249 I think you need to add another ajax call to a php page that will return the result in html, so you can add it to a div. |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 15 Views: 1,249 Damn... missed it completely. Your <label> tag isn't correctly closed. It is closed with </font>. Replaced it with </label> and now it works in Opera and IETester. |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 15 Views: 1,249 I see, opera has the same problem, although I cannot explain it at this moment. I'll keep looking. |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 15 Views: 1,249 I only have IETester, which shows my code snippet is working in IE6 (http://www.pritaeas.net/public/daniweb/poll/).
Could it be another part of the code ? |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 15 Views: 1,249 I uploaded this to my server (saved it as index.php). Appears to be working in IE7 and IE8. Can you confirm ?
<div style="background-image: url(../images/poll_background_mid.gif);... |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 15 Views: 1,249 It's hard for me to test, without having the complete code (html and php), I can only guess at this point, because the code looks okay. |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 15 Views: 1,249 I don't know why your specified a callback for the fadeIn, it doesn't appear to do anything. If you change success to the following, what happens ?
success: function() {
... |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 1 Views: 413 <html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
... |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2009 |
| Replies: 2 Views: 500 Like this ?
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
... |
Forum: JavaScript / DHTML / AJAX Nov 9th, 2009 |
| Replies: 2 Views: 340 I don't know if you use jQuery, but I do, and I use this plugin for formatting floats:
http://code.google.com/p/jquery-utils/source/browse/trunk/src/jquery.strings.js |
Forum: JavaScript / DHTML / AJAX Nov 5th, 2009 |
| Replies: 6 Views: 843 Thanks all. Your insights helped me fix it. Apparently my .remove() did not recognize the parent li tag correctly. It is now fixed. |
Forum: JavaScript / DHTML / AJAX Nov 5th, 2009 |
| Replies: 6 Views: 843 Thanks for the tips. I'll sit down this weekend and try again. Apparently the .remove and .hide functions of jQuery do not work as expected, so I'll have to write a work-around. |
Forum: JavaScript / DHTML / AJAX Nov 4th, 2009 |
| Replies: 6 Views: 843 Yes, it could be an IE bug (I did not state it was, but it is the only one with the problem), but that is why I want to know if anyone has ever seen this behaviour before. I want to rule out... |
Forum: JavaScript / DHTML / AJAX Nov 4th, 2009 |
| Replies: 16 Views: 688 <a href="faili/materiali/brosuras/maskesana.pdf" target="_blank" onclick="validate();"> |
Forum: JavaScript / DHTML / AJAX Nov 4th, 2009 |
| Replies: 16 Views: 688 This would still allow for downloading without password, just by looking at the page source.
Another way would be to put the pdf in a separate folder on the server, and password protect it (using... |
Forum: JavaScript / DHTML / AJAX Nov 4th, 2009 |
| Replies: 6 Views: 843 I can reproduce this bug in IE7 (and a colleague in IE6), my link is here:
http://www.pritaeas.net/tools/linkfarm/
If you select a tag the list gets filtered and the tag added to the selected... |
Forum: JavaScript / DHTML / AJAX Oct 30th, 2009 |
| Replies: 2 Views: 384 Something like this will insert a div with class new_item before the element with class class_next
$('<div class="new_item"><\/div>').insertBefore('.class_next'); |
Forum: JavaScript / DHTML / AJAX Oct 27th, 2009 |
| Replies: 5 Views: 488 http://www.w3schools.com/ |
Forum: JavaScript / DHTML / AJAX Oct 22nd, 2009 |
| Replies: 8 Views: 657 It is possible to attach a callback function to the animate() function. This callback is called after the animation is done. Put your post in that function. See http://docs.jquery.com/Effects/animate |
Forum: JavaScript / DHTML / AJAX Oct 21st, 2009 |
| Replies: 9 Views: 1,324 Am I correct that you want to change the 1 2 and 3 into icons ? If that is so then I completely missed it before, sorry about that. I'll see if I can find a solution.
Is this what you mean?... |
Forum: JavaScript / DHTML / AJAX Oct 19th, 2009 |
| Replies: 9 Views: 1,324 Can you provide a link to your code ? I got it working:
http://www.pritaeas.net/public/jquery/cycle/hover.html |
Forum: JavaScript / DHTML / AJAX Oct 16th, 2009 |
| Replies: 9 Views: 1,324 Try this example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"... |
Forum: JavaScript / DHTML / AJAX Oct 15th, 2009 |
| Replies: 1 Views: 696 This perhaps:
http://docs.jquery.com/UI/Dialog |
Forum: JavaScript / DHTML / AJAX Oct 15th, 2009 |
| Replies: 9 Views: 1,324 Can you provide a link to where you read this ? I can't find this statement. I thought it only responds to click events. |