Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: HenryGR
Forum: JavaScript / DHTML / AJAX 11 Hours Ago
Replies: 7
Views: 5,444
Posted By HenryGR
Some lines within your code call my attention:
Rollimage = Rollimage = [];
should be:
Rollimage = new Array();
then the two lines with " " are meaningless, please remove them.
The two...
Forum: JavaScript / DHTML / AJAX 34 Days Ago
Replies: 1
Views: 513
Posted By HenryGR
Well, on a first place, I would never try to use Javascript for a password protected business, but if you have to, create the code and, once finished, try to obfuscate the whole, instead of a single...
Forum: JavaScript / DHTML / AJAX May 1st, 2008
Replies: 4
Views: 3,218
Posted By HenryGR
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: 3,218
Posted By HenryGR
Please specify a bit more.
Do you already have a sort of validation function?
Forum: JavaScript / DHTML / AJAX Apr 26th, 2008
Replies: 6
Views: 6,886
Posted By HenryGR
You may try to replace your line

document.getElementById("full-details").innerHTML=xmlHttp.responseText

with a line like:
...
Forum: JavaScript / DHTML / AJAX Apr 21st, 2008
Replies: 1
Views: 1,312
Posted By HenryGR
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: 7,972
Posted By HenryGR
If you have the image on a server (whichever), just place the url on the "a" tag...


<a href="spike.jpg" onclick="this.href = 'javascript:void(0);';">
<img...
Forum: JavaScript / DHTML / AJAX Apr 21st, 2008
Replies: 2
Views: 1,838
Posted By HenryGR
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: 1,113
Posted By HenryGR
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: 1,113
Posted By HenryGR
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: 1,113
Posted By HenryGR
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: 1,113
Posted By HenryGR
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: 1,284
Posted By HenryGR
Oops!
Sorry for the typo.
Thank YOU ~s.o.s~
Forum: JavaScript / DHTML / AJAX Apr 13th, 2008
Replies: 4
Views: 1,284
Posted By HenryGR
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: 2
Views: 3,505
Posted By HenryGR
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: 8,044
Posted By HenryGR
What you need is not JavaScript.
Use Java instead.
Forum: JavaScript / DHTML / AJAX Apr 8th, 2008
Replies: 1
Views: 3,710
Posted By HenryGR
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: 7
Views: 3,174
Posted By HenryGR
OK!, I wrote a simple code that you may customize. It is created for 10 rolling pictures, but the number can easily be incremented just by adding more picture definition lines, the code will...
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008
Replies: 5
Views: 1,319
Posted By HenryGR
OK! I've just sent an email from my gmail account with IE7 screenshot. The discrimination works!
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008
Replies: 1
Views: 681
Posted By HenryGR
There are at least three missing functions:
1. yCoord ()
2. placeIt()
3. shiftIt()

without them, the code cannot works.
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008
Replies: 7
Views: 3,174
Posted By HenryGR
As far as I understand, what you need is 1) to create a functions that is called every time your page is loaded; tht's achieved with the onload="myfunction()" attribute within the <body> tag. and 2)...
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008
Replies: 7
Views: 5,444
Posted By HenryGR
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"...
Showing results 1 to 22 of 22

 


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

©2003 - 2009 DaniWeb® LLC