Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting, but (despite the name) is NOT related to Java. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). A pure JavaScript answer is usually expected, except if a tag ...
0
votes
0answers
5 views
Show results design
http://img703.imageshack.us/img703/9967/55072270.jpg
Hello! I just started getting the hang of back end development but I have some major problems concerning front end. In the picture you can see in ...
0
votes
0answers
7 views
How to identify which button was pressed in Raphael?
I have a Raphael code that generates different buttons dynamically. Then I am registering a function to these buttons and I need to identify which specific button was pressed.
In Flash/AS3 you can ...
0
votes
1answer
8 views
Chrome content script fails to retrieve custom attribute of web element
I execute
document.getElementsByTagName('img')[0]['!abc'] = "abc";
to set "!abc" attribute to one image element.
When I try to get this attribute in content script, the result is null.
But when I ...
-5
votes
0answers
20 views
Javascript php language survey [closed]
What is the code for an survey question ?
What im trying to make : Before entering index.php to view the page i want an "survey" to appear to aks for language select
Something like in pc games, ...
0
votes
3answers
17 views
Is it safe to put an ID (will insert in DB) into a hidden input?
Here's the summary of my code:
My website basically just loops the content of all the rows of a certain table; however, at times, I'll need to obtain an individual ID from a certain row. The hidden ...
0
votes
1answer
19 views
javascript autocomplete with min length 2
I want to add the condition for minLength 2.
// global variables
var acListTotal = 0;<br>
var acListCurrent = -1;<br>
var acDelay = 500;<br>
var acURL ...
0
votes
0answers
13 views
jCarousel callback on control buttons
I'm currently having a trouble with jCarousel.
I don't know why, I picked the instructions about installation and configuration here : http://sorgalla.com/jcarousel/docs/plugins/control/index.html ...
0
votes
1answer
20 views
How to make a HTML5 font lighter when fontWeight doesn't work?
Google's Oswald font seems to ignore the "fontWeight" css property. It's very bold:
How to make it lighter? This is the result I want:
0
votes
0answers
10 views
Is it wrong to use requirejs (AMD) in a synchronous way?
I'm developing a JavaScript heavy web application; heavy as in, without JavaScript, the whole application is useless. I'm currently using requirejs as my module loader, and the r.js tool to optimize ...
0
votes
0answers
19 views
jQuery mega dropbox menu
I am currently working on mega dropbox menu. My firt idea was to use LIs as a menu and then somewhere define DIVs for content of megamenu:
<ul>
<li class="menu" ...
3
votes
3answers
44 views
Why are variables inside functions visible to callback functions declared inside that function?
I had a colleague ask me why he couldn't access a an event parameter from a callback function. Turns out that jquery seems to be setting the event to null after the call finishes and creating a ...
0
votes
1answer
20 views
The iframe close in Firefox and IE7 but it doesn't close in Chrome
Any suggestion to close Thickbox Iframe from Chrome?
the code I use:
onClick="parent.eval('tb_remove()')"
1
vote
3answers
29 views
Javascript: shift a bidimensional array
I created an array of samples in the following way:
var data = new Array(8);
...
data[n].push([x, y]);
where n is the channel (0-7) and [x, y] the current sample of the selected channel.
For a ...
0
votes
1answer
35 views
Working with JavaScript in Visual Studios
Hi I have following JavaScript code. When I run it in Visual Studio I get error.
Code is
<script src="js/jquery.easing.1.2.js"></script>
<script ...
0
votes
2answers
50 views
Vertical menu positioning problems in CSS
When you hover on it a box opens.Now here comes the problem,i want the position of the box to be fixed at one place so whenever you hover on the menu the box remains at the same place.I hope you guys ...