Forum: JavaScript / DHTML / AJAX Apr 4th, 2008 |
| Replies: 18 Views: 2,943 You would do far better not to rely on javascript for this at all. Instead you should parse the post with PHP and from that display a confirmation for the delete if delete was selected. That is... |
Forum: JavaScript / DHTML / AJAX Mar 31st, 2008 |
| Replies: 1 Views: 1,132 Try this:
<!--[if !IE]> -->
<object type="application/x-shockwave-flash"
data="http://www.zeriislam.com/menu.swf" width="923" height="90">
<!-- <![endif]-->
<!--[if IE]>
<object... |
Forum: JavaScript / DHTML / AJAX Mar 28th, 2008 |
| Replies: 7 Views: 2,972 Usually the simplest thing to do is to click on the yellow ! icon in the bottom left of the browser window in IE. This will tell you the error. Better still, use Firefox and use the error console.... |
Forum: JavaScript / DHTML / AJAX Mar 27th, 2008 |
| Replies: 1 Views: 801 It doesn't look good in any browser. Fix your javascript errors first.
Try searching Google for "browser simulator"
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 26th, 2008 |
| Replies: 4 Views: 2,102 Perhaps if you post your code, then somebody can help.
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 26th, 2008 |
| Replies: 4 Views: 2,102 Javascript works just fine in Firefox... the problem is your code.
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 24th, 2008 |
| Replies: 5 Views: 5,017 This is rather simple (eg, it will return a.b as a float):
function isFloat(value) {
if (/\./.test(value)) {
return true;
} else {
... |
Forum: JavaScript / DHTML / AJAX Mar 23rd, 2008 |
| Replies: 9 Views: 2,864 No errors now. I only can see one response "Online". Template is broken.
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 23rd, 2008 |
| Replies: 5 Views: 5,017 The isFloat function is missing.
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 23rd, 2008 |
| Replies: 9 Views: 2,864 Perhaps your page is somewhere other than your original link? I am looking here and only see errors: http://a000008.pixelstudio.eu.com/index.php?pid=3
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 23rd, 2008 |
| Replies: 9 Views: 2,864 When I look at your page I only see these errors:
Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111... |
Forum: JavaScript / DHTML / AJAX Mar 22nd, 2008 |
| Replies: 9 Views: 2,864 You have two divs, id="result":
<div id="result">
ID names must be unique and your div tags are open. I don't see the ID's you say.
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 22nd, 2008 |
| Replies: 2 Views: 4,800 We use Scriptaculous and its Animation Framework: http://wiki.script.aculo.us/scriptaculous/show/CombinationEffectsDemo
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 20th, 2008 |
| Replies: 9 Views: 3,622 I did look.....
This is just a plain link (which will open a new page as I would expect):
<a href="external1.htm" rel="moderncontainer" class="selected">Tab 1</a>
Whereas this calls a... |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2008 |
| Replies: 5 Views: 1,563 If its PDF you can embed the fonts in the PDF
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2008 |
| Replies: 5 Views: 1,563 Flash
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2008 |
| Replies: 9 Views: 3,622 Why are you expecting the links in external2.htm to do anything special? They are just regular links and will open the pages they are pointing to (not Ajax).
Matti Ressler
Suomedia |
Forum: JavaScript / DHTML / AJAX Mar 18th, 2008 |
| Replies: 9 Views: 3,622 Your Lightbox functions use, for example, document.getElementByTagName
Such will not work from Ajax loaded content. Instead, you must rewrite your function to work via the element id sent to it... |
Forum: JavaScript / DHTML / AJAX Mar 18th, 2008 |
| Replies: 9 Views: 3,622 This sounds like a similar problem as this thread: http://www.daniweb.com/forums/thread113959.html
To me it appears that you are loading javascipt functions within your Ajax content - this will... |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2008 |
| Replies: 10 Views: 3,120 No, its not correct to state that (look at my dev site again, it is full of page elements "pulled via Ajax" and accessed by javascript). You just wont find the element using getElementById etc.
... |
Forum: JavaScript / DHTML / AJAX Mar 16th, 2008 |
| Replies: 10 Views: 3,120 Yes, I was going to suggest trying 'document.this' (which I also use often - click one of the small speaker icons, then pass your mouse over it again, you will see it re-initialize the music player... |
Forum: JavaScript / DHTML / AJAX Mar 15th, 2008 |
| Replies: 10 Views: 3,120 You need to identify the element(s) to your function when you call the function rather than relying on your function to identify the element(s), eg.
onclick="myFunction('my_element')"
I use... |
Forum: JavaScript / DHTML / AJAX Mar 15th, 2008 |
| Replies: 1 Views: 937 You just need a <form>
<script type="text/javascript">
function MyCalc(){
var val1 = document.frmqut.textPc.value;
var amt1 = 190 * parseFloat(val1);
var val2 =... |
Forum: JavaScript / DHTML / AJAX Mar 15th, 2008 |
| Replies: 10 Views: 3,120 The essential thing is that your javascript functions are loaded into your main page that the Ajax content is loaded into. You can still call those functions from within the Ajax loaded content.
... |
Forum: JavaScript / DHTML / AJAX Mar 15th, 2008 |
| Replies: 3 Views: 1,343 I haven't found any issues with Safari if the markup is correct. Perhaps you should validate your code with W3C's validator before using a different stylesheet. The only browser I have problems... |