Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 358
Search took 0.39 seconds.
Search: Posts Made By: Eldarrion
Forum: JavaScript programming 08-23-2010, 09:14 PM
Replies: 2
Views: 1,044
Posted By Eldarrion
Well, the problem comes from jQuery and Prototype...

Well, the problem comes from jQuery and Prototype running on the same page, while (I assume) neither of the two is running in compatibility mode.

The easiest solution that comes to mind is...
Forum: JavaScript programming 08-23-2010, 05:23 PM
Replies: 1
Views: 2,223
Posted By Eldarrion
document.location doesn't work that way. ...

document.location doesn't work that way.


You'd want window.open instead:


onclick="window.open('http://www.google.com')"


Enjoy.
Forum: JavaScript programming 08-23-2010, 03:01 PM
Replies: 2
Views: 1,168
Posted By Eldarrion
How does the timer run in the first place? How is...

How does the timer run in the first place? How is the page in question loaded? While we may be able to understand exactly what you're saying, we can't guess what your code looks like or how you're...
Forum: JavaScript programming 08-23-2010, 02:59 PM
Replies: 1
Views: 446
Posted By Eldarrion
There probably is. Have you tried reading the...

There probably is. Have you tried reading the documentation that came with the flash menu? You'd be surprised at what you discover. Beyond that... I doubt anyone would have the ability to give you...
Forum: JavaScript programming 08-23-2010, 02:57 PM
Replies: 4
Views: 693
Posted By Eldarrion
You mean something like: ...

You mean something like:


document.getElementById("desc").innerHTML("<strong>Lorem ipsum</strong><br /><a href='http://somewhere.com'>dolor sit amet
</a><br /><br /><p>consectetur adipiscing...
Forum: JavaScript programming 08-20-2010, 05:35 PM
Replies: 6
Views: 3,261
Posted By Eldarrion
Afraid not. I took a glance over the code and I...

Afraid not. I took a glance over the code and I don't see any custom-defined functions.

$ is a shortcut to certain frameworks... jQuery and Mootools coming to mind and it can certainly be used...
Forum: JavaScript frameworks 08-20-2010, 04:40 PM
Replies: 3
Views: 1,223
Posted By Eldarrion
If memory serves, the $(":selected") selector...

If memory serves, the $(":selected") selector only grabs the <option> element, not the <select>. As such, it can't get the name of the element due to that name being on a parent of the element you...
Forum: JavaScript programming 08-20-2010, 02:53 PM
Replies: 3
Views: 5,426
Posted By Eldarrion
After a quick check, it turns out that if you use...

After a quick check, it turns out that if you use 'keydown' (Might work with keyup too, but haven't tested), Chrome will capture the event normally with the Escape key. Just change to keydown and it...
Forum: JavaScript programming 08-20-2010, 02:51 PM
Replies: 3
Views: 5,426
Posted By Eldarrion
It's not so much an issue of the event not being...

It's not so much an issue of the event not being captured as it is an issue of the Escape button working in chrome for keypress events. A simple debug like this will show the problem:

...
Forum: JavaScript programming 08-20-2010, 02:26 PM
Replies: 4
Views: 693
Posted By Eldarrion
You should be able to use .innerHTML instead of...

You should be able to use .innerHTML instead of .childNodes[0].nodeValue

Please, do enclose your code in the proper tags next time, makes it much more readable.
Forum: JavaScript programming 08-20-2010, 02:23 PM
Replies: 1
Views: 442
Posted By Eldarrion
We have no idea what the web site in question is....

We have no idea what the web site in question is. We have no idea what framework (if any) you're using. I would also suggest that you head on toward the server-side scripting for api communication....
Forum: JavaScript programming 08-20-2010, 02:17 PM
Replies: 3
Views: 1,766
Posted By Eldarrion
Ummm... no, that's not code... or at least not...

Ummm... no, that's not code... or at least not JavaScript code. All you've posted is HTML only. Show us the function that initiates the colorbox plugin. The links may be the same, but it still...
Forum: Apache configuration 08-19-2010, 11:20 PM
Replies: 4
Views: 1,546
Posted By Eldarrion
Ummm... I fail to see a problem there. Needless...

Ummm... I fail to see a problem there. Needless to say, your thread title is far from descriptive.

Next time, try to include a short description of your problem in the thread title instead of a...
Forum: JavaScript programming 08-19-2010, 10:46 PM
Replies: 9
Views: 1,437
Posted By Eldarrion
Just add another line: ...

Just add another line:


document.getElementById("weatherIcon").onclick = function() {
doWhatever();
}


What I'm wondering about, though, is... are you recreating the image at any point...
Forum: JavaScript programming 08-19-2010, 10:28 PM
Replies: 9
Views: 1,437
Posted By Eldarrion
Go for it.

Go for it.
Forum: JavaScript programming 08-19-2010, 10:24 PM
Replies: 9
Views: 1,437
Posted By Eldarrion
Sounds like the image is being generated...

Sounds like the image is being generated elsewhere in that case. I'm not sure what editor you're using, but there are plenty that completely ignore case even when dealing with JavaScript.

What is...
Forum: JavaScript programming 08-19-2010, 10:13 PM
Replies: 9
Views: 1,437
Posted By Eldarrion
Uhhh, no, it does not. Have a look at what a...

Uhhh, no, it does not. Have a look at what a simple 5 second test with an error console enabled says:


TypeError: document.getElementByID is not a function { message="document.getElementByID is...
Forum: JavaScript programming 08-19-2010, 08:58 PM
Replies: 6
Views: 886
Posted By Eldarrion
Well, I guess I was kind of right with my...

Well, I guess I was kind of right with my assumptions that you weren't calling the code. At least judging by the code you sent me via PM.

Here is the corrected code (with changes marked in red):
...
Forum: JavaScript programming 08-19-2010, 08:20 PM
Replies: 6
Views: 886
Posted By Eldarrion
Several questions come to mind in this situation....

Several questions come to mind in this situation.

Is the div's container styled to have a set height that is not affected by the div shrinking?

What do you mean by "Text's Top doesn't change"?...
Forum: JavaScript programming 08-19-2010, 06:03 PM
Replies: 6
Views: 886
Posted By Eldarrion
How are you testing it? The code works, tested...

How are you testing it? The code works, tested even in IE6. The question comes to mind... are you sure it's executing, and if so... how are you checking to make sure the div has resized? Have you...
Forum: JavaScript programming 08-19-2010, 05:42 PM
Replies: 6
Views: 886
Posted By Eldarrion
More like... you should try the following: ...

More like... you should try the following:


area1.style.height = "700px"


Then again, you should also look into some basic JS tutorials/classes to teach you at least a little.

A good place...
Forum: JavaScript programming 08-19-2010, 04:12 PM
Replies: 3
Views: 1,766
Posted By Eldarrion
Considering the amount of code you have on the...

Considering the amount of code you have on the link you provided, I doubt anyone with a day job would bother to look through it all to debug your issue. Yes, it can be done, and it's a rather simple...
Forum: JavaScript programming 08-19-2010, 04:03 PM
Replies: 1
Views: 1,534
Posted By Eldarrion
This is not possible as JavaScript only has...

This is not possible as JavaScript only has access to what is in the browser of the client computer. MSMQ looks to be a server-side process, and as such can be accessed by a server-side language.
...
Forum: Apache configuration 08-19-2010, 03:55 PM
Replies: 6
Views: 2,116
Posted By Eldarrion
Considering the string begins with 'myproject',...

Considering the string begins with 'myproject', you'd need to put your .htaccess in the parent directory of myproject.
Forum: Apache configuration 08-19-2010, 03:39 PM
Replies: 1
Views: 885
Posted By Eldarrion
That sounds more like a DirectoryIndex issue than...

That sounds more like a DirectoryIndex issue than anything else as a correctly set up DirectoryIndex directive should look for index.htm, regardless of trailing slash or not. Still, if you are...
Showing results 1 to 25 of 358

 
Forum Jump

All times are GMT +1. The time now is 12:39 AM.