Forum: JavaScript / DHTML / AJAX May 1st, 2008 |
| Replies: 4 Views: 1,085 Re: decimal (10,2) limit From your message, I conclude that your problem is that Javascript does not understand that for you, "10,2" equals "10.2".
Here I wrote a sample html, but the important part is the javascript... |
Forum: JavaScript / DHTML / AJAX Apr 26th, 2008 |
| Replies: 4 Views: 1,085 |
Forum: JavaScript / DHTML / AJAX Apr 26th, 2008 |
| Replies: 6 Views: 2,192 |
Forum: JavaScript / DHTML / AJAX Apr 21st, 2008 |
| Replies: 1 Views: 692 Re: spry grow effect and gallery demo Not everybody have DW CS3. If you post the code you are talking about, somebody can figure out your problem, but from the small snippet explanation.... |
Forum: JavaScript / DHTML / AJAX Apr 21st, 2008 |
| Replies: 24 Views: 3,280 |
Forum: JavaScript / DHTML / AJAX Apr 21st, 2008 |
| Replies: 2 Views: 541 Re: link and the content in the same page. On every menu, either CSS based or JavaScript based menu, the link is actually achieved by the (X)HTML tag "a". The "target" attribute of the "a" tag tells the browser to remains on same window or... |
Forum: JavaScript / DHTML / AJAX Apr 20th, 2008 |
| Replies: 8 Views: 689 Re: Random Topic JS if "selectedIndex" within your function is the topic than can exist or not, I would create a function to find out the correct random destination, something like:
function destination() {
var... |
Forum: JavaScript / DHTML / AJAX Apr 20th, 2008 |
| Replies: 8 Views: 689 Re: Random Topic JS So if I understand correctly, there is not a problem with the random generation but with the links; those, you have to include some kind of check before you write the link on your page, something... |
Forum: JavaScript / DHTML / AJAX Apr 20th, 2008 |
| Replies: 8 Views: 689 Re: Random Topic JS Are you sure that you have 2000 topics? Or is that only the maximum number?
You would need to know the maximum number of topics for the random generation number to work between the range. So, in the... |
Forum: JavaScript / DHTML / AJAX Apr 20th, 2008 |
| Replies: 8 Views: 689 Re: Random Topic JS Try to change the random generation to an expression like:
topicnum = Math.round(Math.random()*(topiccount-1))+0; |
Forum: JavaScript / DHTML / AJAX Apr 15th, 2008 |
| Replies: 4 Views: 796 |
Forum: JavaScript / DHTML / AJAX Apr 13th, 2008 |
| Replies: 4 Views: 796 Re: Using an array in Javascript You create a new array
var images = new Array();
and then you want to reference
imgname[0] = 'home.jpg';
...
..hmmm! names do not match. |
Forum: JavaScript / DHTML / AJAX Apr 13th, 2008 |
| Replies: 1 Views: 1,410 Re: Expand/Callapse All Help! The easiest way is to create a new function on you JS code, simple as
function exall() {
for (inde=1;inde<=5;inde=inde+2) {
ToggleRowVisibility("paneltable",inde);
}
} |
Forum: JavaScript / DHTML / AJAX Apr 13th, 2008 |
| Replies: 11 Views: 2,780 |
Forum: JavaScript / DHTML / AJAX Apr 8th, 2008 |
| Replies: 1 Views: 1,425 Re: Positioning, Scrolling & FireFox Instead of looking for scroll positions relative to the document, I would read mouse's position to find out where to place the <div>. The event element do the trick, so:
event.clientX is the x... |
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008 |
| Replies: 3 Views: 1,060 |
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008 |
| Replies: 5 Views: 703 |
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008 |
| Replies: 1 Views: 404 |
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008 |
| Replies: 3 Views: 1,060 |
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008 |
| Replies: 5 Views: 1,521 Re: Javascript image swap on rollover. At a first glance, I can see that on your calling code:
<div class="icons"> <a href="#" onmouseover="SwapOut(personal, 0)" onmouseout="SwapBack(personal, 1)"><img name="personal" alt="logo"... |