User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 392,243 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,896 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 20 of 20
Search took 0.01 seconds.
Posts Made By: HenryGR
Forum: JavaScript / DHTML / AJAX May 1st, 2008
Replies: 4
Views: 1,085
Posted By HenryGR
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
Posted By HenryGR
Re: decimal (10,2) limit

Please specify a bit more.
Do you already have a sort of validation function?
Forum: JavaScript / DHTML / AJAX Apr 26th, 2008
Replies: 6
Views: 2,192
Posted By HenryGR
Re: Dynamic Div Name getElementById

You may try to replace your line

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

with a line...
Forum: JavaScript / DHTML / AJAX Apr 21st, 2008
Replies: 1
Views: 692
Posted By HenryGR
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
Posted By HenryGR
Re: Firefox Compatibility help with script

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: 541
Posted By HenryGR
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
Posted By HenryGR
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
Posted By HenryGR
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
Posted By HenryGR
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
Posted By HenryGR
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
Posted By HenryGR
Re: Using an array in Javascript

Oops!
Sorry for the typo.
Thank YOU ~s.o.s~
Forum: JavaScript / DHTML / AJAX Apr 13th, 2008
Replies: 4
Views: 796
Posted By HenryGR
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
Posted By HenryGR
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
Posted By HenryGR
Re: Disabling Print Screen keypress in IE

What you need is not JavaScript.
Use Java instead.
Forum: JavaScript / DHTML / AJAX Apr 8th, 2008
Replies: 1
Views: 1,425
Posted By HenryGR
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
Posted By HenryGR
Re: Help with Javascript please - refresh images with links

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: 703
Posted By HenryGR
Re: Please take a screenshot in IE6 or 7 for yours truly

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: 404
Posted By HenryGR
Re: need some help new to javascript

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: 3
Views: 1,060
Posted By HenryGR
Re: Help with Javascript please - refresh images with links

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: 5
Views: 1,521
Posted By HenryGR
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"...
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 6:06 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC