i noticed that certain code that evaluates some shoe sizes JSON for an e-commerce site and outputs them on screen is messing up the order in chrome.
the JOSN string given can be:
{"7":["9149","9139","10455","17208"],"7.5":["9140","9150","10456","17209"],"8":["2684","9141","10457","17210"],"8.5":["9142","10444","10458","17211"],"9":["26...
I would like to create multiple grids and switch between them using a dropdown. They occupy the same screen real estate but only one is visible at a time. I have tried to implement this using a CSS class with display none, then using the dropdown to call jquery's show method on the desired one. However, the grid's vertical scrollbar is m...
check this out
http://heroku.com/
How do you created stuff like this?(referring to the slidedown) Do you have mouseover events for javascript or is it all css? Cud someone please give a basic outline?
...
I have a javascript function which takes a string as its parameter. This string is encoded (with %20 for spaces, %26 for ampersands, etc..).
function myFunction(theParam) {
alert(theParam); // outputs &
}
// called by the following link
<a href="#" onclick='myFunction("%26")'>Do something</a>
How do I stop this behavior? I wan...
Possible Duplicate:
Learning advanced CSS
Hi Guys
I want to learn advanced concepts of CSS
Is there any site where I can download the Advance Concepts of CSS and Download PDF
Please suggest me.......
Thanks
...
I'm writing a JS snippet to create a series of tabs to allow a viewer to cycle through various parts of a web page instead of scrolling down to see them. The tabs are all <a> elements, encased in a <span> element each for prettifying purposes. The spans are all chucked in a <div>. No floating. The number of tabs shown depends on the ...
I know there are a LOT of similar question to this, but I've tried them all to no avail...so thanks for any help.
WHAT I AM TRYING TO DO:
I want to pass one-to-many parameters into each checkboxes 'click' event upon registration (see below).
WHAT WORKS:
I can register the event WITHOUT any parameters, and the click event raises...but I...
I have been using
timeStamp = new Date(unixTime*1000);
document.write(timeStamp.toString());
And it will output for example:
Tue Jul 6 08:47:00 CDT 2010
//24 hour time
Screen real estate is prime, so I would like to take up less space with the date and output:
mm/dd/yy hh:mm
//also 24 hour time
...
Hi,
I have this xml file:
Response: <ns3:ExecuteResponse xmlns:ns3="http://www.opengis.net/wps/1.0.0" xmlns:ns1="net/ows/1.1" xmlns:ns2="http://www.w3.org/1999/xlink" statusLocation="xxxxf62" serviceInstance="http:/http-post" version="1.0.0" service="xxx">
<ns3:Process ns3:processVersion="0.2">
<ns1:Identifier>OM_B</ns1:Identifier>
...
Hello, I'm writing this bookmarklet in Javascript, which is also calling some JQuery objects. The goal here is to pull the page title, URL and any currently selected text, then fill them into fields on the target page.
The problem is that it only works when I'm on the page with the fields I'm trying to fill in! I've tried everything but...
I have this thing on my webpage... I guess it could be called a widget...
How do I separate it's CSS and JS from the containing page's CSS and JS? preferably without using an iframe?
In my app the user can customize the CSS of the content, so, I'd need a clean slate.
...
Comboboxes in Acrobat do not allow text alignment or multiple lines. So I need to be able to select from a drop down box and my choice populate two textboxes.
...
Hi ,
I'm trying to build a POC to migrate a heavy JSF application to a stateless ajax/restful application .
In the proccess i can't decide what is the best way of presenting the JSON data returned to the screen , i can see 2 major approaches one is to have templates and use something like prototype's toHTML() with them and the other is ...
Hey guys,
I have the following javascript object, somewhat pseudocode:
{
dateField: new Date(),
addMinutes:function(numMinutes)
{
CallWebService(numMinutes, function{alert(this.dateField; });
}
}
The problem is the scope of the callback function in CallWebService doesn't see the dateField property of the object. Is ther...
I have a droppable with a drop event handler:
$(this).droppable({
drop:function(){
console.log('OMG You Dropped It!');
}
});
I have a draggable:
$(this).draggable();
What I want to do is trigger the drop event handler on the droppable without actually dragging and dropping the draggable. I want to simulate the actual behavi...
i'm using a little javascript in my website for my navigation bar, which is made up of a few ImageButton controls. in the code behind i have this:
Dim homeImage As String = GetLocalResourceObject("HomeImage")
imgBtnHome.Attributes.Add("OnMouseOver", HomeImage)
and in the resx file, i've tried these, but they don't work: (note the sin...
I am looking for such a method which allows me to add, remove DOM objects of a page before the DOM has even rendered, I mean the first JS that i include in the head tag of my page can come up, look for a specific tag say and remove it from the HTML even before it is rendered, I know that the javascript call is blocking so as the browser...
I just cannot work this out. My god it's making my brain hurt, so I turn to you, the good people of the internet.
I've been staring at this, http://api.jquery.com/jQuery.noConflict/ with no luck.
My issue is that the site I'm working on already includes jQuery 1.1.3.1 but I want to do some awesome and snazzy UI work in a few places, bu...
Hello.
Does anyone know about a good tutorial/article/whatever to help me explain JavaScript ( with emphasis in JSON ) ?
I want to teach to the new team members what is JSON and how to apply it effectively, but instead of trying to re-invent the wheel ( and probably doing it wrong ) I'm looking for some training material, article, ta...
I am dealing with a legacy application where they use [a] tags for many Ajax form "submits".
If we were using [input] buttons we could just set the disable attribute of the [input] tag.
But on hyperlinks disable is not part of the spec and is not consistent cross-browser.
We are looking for a simple solution for blocking the extra click...