Search Results

Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: Suomedia ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Apr 4th, 2008
Replies: 18
Views: 2,943
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
The isFloat function is missing.


Matti Ressler
Suomedia
Forum: JavaScript / DHTML / AJAX Mar 23rd, 2008
Replies: 9
Views: 2,864
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
Flash


Matti Ressler
Suomedia
Forum: JavaScript / DHTML / AJAX Mar 19th, 2008
Replies: 9
Views: 3,622
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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
Posted By Suomedia
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...
Showing results 1 to 25 of 25

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC