Hello!
A project I'll be working on in the near future requires me to do some font replacement for some headings and small portions of the copy (blockquotes, etc)
The catch is that the designer wants to use Helvetica Neue.
I've looked at Typekit, Fontdeck, Google Fonts, and FontSquirrel and they don't seem to have said font nor anythi...
Hi I've been playing around trying to recreate the way in which jQuery chains it's functions for it's "select" then "do" behaviour.
Note: I don't want to chain functions with jQuery, I want to chain them like jQuery.
So based on the jQuery code what I have so far is (doesn't work in IE):
var x = function(string) {
return new x.fn....
What are the various code-with-instant-preview (and auto-save) services out there?
http://jsbin.com/
http://jsfiddle.net/
...
I have the following JavaScript code which is inside a function which I am trying to get the soft_left and soft_top variable to be used in other functions. I am having very little if any success. Shown is just the relevant code.
function drawCart()
{
$(".soft_add_wrapper").multidraggable({"containment":"#content"});
$(".soft_add_wrapper...
Hey, I have the following function:
function getPosition() {
var cLeft = $('#element').position().left;
var cTop = $('#element').position().top;
}
I also have this:
$('ul#container>li.node:eq('+XXX+')').css({'border' : '5px solid yellow'});
Now, is it possible to determine what index for the LI's is at the co-ordinates prov...
Hi guys,
I am trying to build a 3D Javascript array, but I am unsure of how to do it, basically I have 3 arrays, Provinces, Cities and Malls all in succession, so I want to create a 3D array to store all the data in and then write some jQuery/Javascript to get out what I need.
I have a script that can populate a drop down list with arr...
I have a page with a header, footer, and middle area. The middle is 3 equal columns, each 33% width.
When a column is clicked, I'd like for that column to climb above the 2 other columns and get a width of 100%, and the 2 columns to redistribute to 50-50.
Is this sort of thing possible (and reliable) with jquery, or is it too much o...
i have a multiple select tag
<select multiple="multiple" size="5" id="cities_select">
<option value="1">city1</option>
<option value="2">city2</option>
<option value="3">city3</option>
<option value="4">city4</option>
<option value="5">city5</option>
<option value="6">city6</option>
......................
Hi all,
Do you know if there is an easy way of counting paragraphs in a textarea using nothing but javascript?
Thanks,
...
I know most mobile browsers don't support javascript,
how can I check this?
...
I have wrapped the console API to provide granular logging levels as well as few other sugar features.
This works fine, the only problem is that firebug (or whatever other console) will always report the line number the log came from as the line the console API itself is invoked.
How would you suggest I make the console log the line nu...
Hi,
I added dynamicly infragistics webpanel in my codebehind using :
placeHolder.Controls.Add(ctlWebpanel);
but i got this javascript error in my ASP.net page in runtime :
'currentStyle' is null or not an object
How to set the style to remove that error ?
...
i want to replace " char to ' with javascript.
thank you for your help.
regards
...
I'm building a Firefox extension and would like to allow the user to delete objects from the tree with the delete key. I currently call a function when the user presses a button, but would like to allow them to just press the delete key on their keyboard.
...
Hello.
I want to be able to have a javascript function that hides divs for me. For example, I have something like
<div id='container'>
<div class='item'></div>
<div class='item'></div>
<div class='item'></div>
<div class='item'></div>
<div class='item'></div>
</div>
And i would like the function to hide every 'i...
I developed an application that interfaces with an institution's emergency alert system. How it works is, when there is an alert, on all of the institution's web pages it displays a scrolling marquee at the top of the page that is put there by javascript using protoype and scriptaculous.
All of this works perfectly on desktop browsers (...
I've been coding with php/CI for a bit now and am starting to get the hang of it, but I'm trying to make the leap to use jQuery + some ajax stuff and I can't seem to get it to work. It's like the the script isn't even being seen.
What I'd like it to do is to call the java/test function when the user clicks the submit button. I'd like ...
I'm great with CSS but I largely suck at jQuery. We all have our limitations...
OK with that admission out of the way I'll begin. We have a "favourite products" table, which you can sectionalize into categories (eg, Booze, Sheep, Spoons). Each category is a . Each row (excluding the ) is a product.
I want to enable a user to drag and d...
I have an HTML form that uses a PHP file in the form tag action="" for sending the content of the form as an email.
I have a simple JavaScript for required fields that is called for in the form tag onsubmit="".
My PHP file returns a summary of the form after it is submitted.
All I need to add is a simple confirmation dialog box. But I...
In Erlang I was able to immediately understand the notion of a 'node' - a self-contained Erlang VM. I could start a node on one machine with erl -name gandalf -setcookie abc, and another node on another machine (on the same LAN) with erl -name bilbo -setcookie abc. I could then spawn processes on gandalf which would communicate magically...