Zebra Items Not Responding To Changes
Aug 3, 2011
I am building a shopping cart in Volusion. I've come really far and can find my way around HTML and CSS.But the template I am using has a zebra function that it uses on the shopping cart screen. The colors it is using are terrible, and I can't figure out how to change them.By zebra, I mean it picks every other row in a table and assigns a different background color. I am noticing in firebug that the div-ids of the items in the cart have div-ids taht are not listed in any of the CSS files in the theme.I figured out that this type of coding is usually done in JavaScripting. I tried editing that file in every logical way, and I can get no response out of it aside from my browser hanging. I even tried commenting out different sections.
I'm not sure if you are at all familiar with Volusion, but they provide absolutely no assistance and try very hard to make things as hard as possible so customers will be desperate for their design services. All support will say is, "we are prohibited from providing any coding information. Would you like me to transfer you to sales?" They routinely remove resources that were once helpful. Nice customer service.
View 3 Replies
ADVERTISEMENT
May 19, 2011
I am using the jQuery TableSorter plugin on a table that I have shaded. The table sorts successfully, but the shading is not refreshed when the table refreshes. How can I refresh the shading as well after the sort?
View 1 Replies
View Related
May 27, 2009
With a tablesorter config that looks something like this:
$("#table").tablesorter({
cssHeader: "sortAble",
cssAsc: "sortAsc",
cssDesc: "sortDesc",
headers: {3: {sorter: 'time'}},
sortList: sortOrder,
widgets: ['zebra'],
widgetZebra: { css: ['','alt'] },
debug: true
});
The alternating row style is not applied to the odd/even rows on the initial display of the table. If a user clicks any of the headers to change the sort-by column, or to change the sort-order, then the striping is applied. I'm using jQuery 1.3.2 and tablesorter 2.0.3. Searching the list for "tablesorter zebra", I found mention of needing to patch tablesorter 2.0.3 for 1.3.2 [URL] - does this still apply?
View 1 Replies
View Related
Aug 25, 2010
table stripes are init with ... $("tbody tr:nth-child(even)",$context).addClass("even");
The event function for a click on a <th> loads sorted data ... $('tbody',$context).load("Grid.ajax.php?grid_id="+$grid_id+"&orderby="+this.title);
The striping is lost ... I tried adding the same statement after the load() with no change.
#1 ... What is the best practice for restoring the stripe effect other than doing it on the server.
#2 ... Should I call ".empty()" before an ajax request to protect against garbage left in memory?
#3 ... I also have a row highlighting functions for mouseover/mouseout events. Can I assume the ".live()" event definition should apply to rows added after an ajax request.
View 1 Replies
View Related
Oct 8, 2011
While i include 2 .js file one is not working..
View 9 Replies
View Related
Mar 11, 2011
I'm building a navigation that is built heavily on jQuery. I have it working as needed except that when mousing over links to quickly it spikes the processor and the navigation hangs. By hangs i mean it stops working and even the links will not show rollover states. I thought it was just a matter of adding a stop() but this changed nothing.
View 5 Replies
View Related
Jul 20, 2005
Is it possible to have an Array object (or an object derived from
Array) that is 'aware' of other code modifying its contents? I'd like
to have such an "onModify" function process an array everytime the []
operator is used to make a change. I know you can derive from Array,
but you cannot directly override the [] operator. Any way to make
this possible?
// possible definition of 'SpecialArray'
...
function OnModify()
{
// process the list
}
...
//an example of use ...
View 1 Replies
View Related
May 3, 2011
On my test page you'll see a red box with a 0 in it at the top [URL] if you look at the jQuery, it says that on ever mouseout and in the "P" should increment. I set this up just to see if i could first get a response out of my mouse over. But Not even this basic thing is working.
View 1 Replies
View Related
May 3, 2011
On my test page you'll see a red box with a 0 in it at the top.if you look at the jQuery, it says that on ever mouseout and in the "P" should increment.I set this up just to see if i could first get a response out of my mouse over. But Not even this basic thing is working.
View 2 Replies
View Related
Dec 1, 2010
So, I have this page that works in all browsers but, IE 7. code...
Could someone tell me why this is?
I used the javascript tools from here...
And when I put in their code, I get IE7 to work. I have trouble shot the CSS and javascript with no luck.
View 7 Replies
View Related
Jun 17, 2011
I'm having trouble with an onchange event with a select box. No function is responding. I can alert text out for the onchange event but none of the functions I have called will work.
View 1 Replies
View Related
Feb 22, 2011
In the attached code the outcome always defaults to the first test, even if the condition is false. How would I alter the syntax so that both condtions are evalauted?
View 10 Replies
View Related
Sep 8, 2010
From a click event I'm calling a javascript function if the function is written in same page it is calling, but if I include function in different page(here in selectuser.js file)
View 1 Replies
View Related
Feb 18, 2011
jQuerry doesn't seem to be responding when I preview it in Firefox! What can I do?
View 2 Replies
View Related
May 7, 2010
I have a simple select list and all I need to do is to feed whatever option is selected into a textfield above it.This works fine in FF but IE doesn't even recognise the click.If you vist http:[url]....and go to the bottom of the page, you'll see the silver color background select list.The "type of event" text field above is supposed to recieve the text of the option set in the select list.I have experimented with 2 bits of code, as follows:
Code:
$('#custom-taxonomy-list option').each(
function(){
//alert('option: '+$(this).text());[code]....
Both work great in FF but not IE - it just won't respond to the 'click' event.
View 2 Replies
View Related
Jan 10, 2010
version of Apycom's jQuery menu; you can find itat http://apycom.com/ and it is looking really good.I have uploaded files, and published it on a test site - www.flexin.beUnfortunately, some of the submenus starting from the second that haschildren elements, it adds the item on the top level in InternetExplorer.Does anyone on this list has any experience with this library?
View 2 Replies
View Related
Dec 20, 2005
I am encountering a problem where I have a window and there are three
frames, one in the left, right and in the bottom. The bottom most frame has
common submit buttons. There are several tabs in left frame. Each one loads
a different form on the right frame. After fetching the contents of the form
from user, I am validating the text fields in the form using onChange() event
handler. After entering the text value in the textbox, if I press Submit
directly, the "Submit" as well as the validation routine happens concurrently.
Only at the end of validation, the field is marked as dirty. Now, if field is not
marked dirty, the Submit function will close the window without actually
submitting as nothing was changed. So when an invalid value is entered and
the Submit is pressed directly, an alert pops up temporarily but the close()
call from the parent frame immediately closes the alert window before user
can respond. This problem does not occur in IE as in IE, unless the alert
window is responded, the close() call cannot close the alert window. Code:
View 7 Replies
View Related
Feb 25, 2011
I have an ASP.net page where I load a record set server side and upload it into a listbox. I'm trying to do all the movement functionalities of the listbox items client side. Specifically, I'm trying to figure out how to copy selected listbox items from one listbox to another -- on button click. I've searched for a while, but every example that I found moves the actual item into another listbox, I just want to copy the selected item to another listbox.
View 6 Replies
View Related
Apr 23, 2009
Can we create menu items, sub menu items using javascript coding.
View 2 Replies
View Related
Jan 14, 2004
OK, what I want to do is difficult to explain so please read through. I want to find some way to add items to a form but not have that form submitted to the database just yet, not until it is completely filled with valid items.
On my webpage I have 3 columns and I display a list of items the right hand column. In the center column I have a form with place-holders visible but no items actually entered/chosen yet.
The user clicks on an item (link) in the right hand column and this item should then appear/replace (i.e. it has been added to the users selection in the center column) a place holder in the center column.
I am populating the right hand column from a MySQL database using PHP, but I posted this in the Javascript forum because I think maybe Javascript would be good to use to do this.
View 2 Replies
View Related
Oct 21, 2005
I add items to a list of ids within a <TD> named lstCarts using the
following code:
function lstCarts_ondblclick()
{
index = NewProgram.lstCarts.selectedIndex;
if (index != -1)
{
vID = NewProgram.lstCarts.options[index].value;
vText = NewProgram.lstCarts.options[index].text;
NewProgram.lstNewCarts.options[NewProgram.lstNewCarts.length] = new
Option(vText);
NewProgram.lstNewCarts.options[NewProgram.lstNewCarts.length -
1].value = vID;
eval("NewProgram.Item" + vID + ".value = " + vID);
}}
This works fine. When I highlight an item in lstNewCarts and click on
a button to delete these items from the list the following code is
executed. This doesn't work becauset the selected item does not
disappear from the list.
function lstNewCarts_ondblclick()
{
index = NewProgram.lstNewCarts.selectedIndex;
if (index != -1)
{
vID = NewProgram.lstNewCarts.options[index].value;
vText = NewProgram.lstNewCarts.options[index].text;
eval("NewProgram.Item" + vID + ".value = -1");
}}
View 3 Replies
View Related
Feb 26, 2010
I have some javascript code that enables me to add optional extras via drop down boxes to a total (via an input form text box). Problem is I can add upto 9 different drop down boxes with different amounts that add up in the total box but when I add a tenth it wont add the tenth one up, can anyone helo me I looked through the code and cant suss it out. code...
View 8 Replies
View Related
May 26, 2009
I am trying to add selected dropdown items (in a popup window) to a hidden input field (inside the parent window). Here is the function I am using but it does not seem to work. Any ideas on what changes I need to make to get it to work?
Code JavaScript:
function addSelectedItemsToParent(domainid) {
self.opener.editdomains.parentList[domainid].value = window.document.forms[0].category_1;
window.close();
}
View 7 Replies
View Related
Jul 23, 2005
I have a javascript index that is similar to the one in the Windows
help. It has a text field that allows the you to type text and it
finds the closest item in the list below the text field. The list is
simply a select element with options that looks like this:
<SELECT>
<OPTION VALUE="1">A
<OPTION VALUE="2">B
<OPTION VALUE="3">C
</SELECT>
My problem is when I have a large list, the closest entry selects the
item in the list at the bottom of the list box, not the top of the
list box.
So here's the question: Is there a way to get the list box to display
the selected item and move it to the top of the list and not just find
it at the bottom?
To get an idea of what I 'want' it to look like, in Windows, go to
Help & Support (in XP it's in your start menu) and pick Index. I
basically want it to mirror that functionality.
View 1 Replies
View Related
May 26, 2007
I'm creating a combobox using the Javascript and the DOM.
If the combobox exists, i don't want to create another one. I want to empty all the values and put new values.
I was able to create the combox and create the lines of code that deletes the values in the combobox (well almost) .....
View 1 Replies
View Related
Dec 17, 2010
I'm having trouble with a plugin system that I'm working on. It involves binding a doubleclick with two elements that have the same id. The two elements are different plugins, and load appropriately, however the dblclick binding seems to not change between elements. Here's my code(simplified):
$("div.editor").droppable({
drop: function(event,ui) {
objID = ui.draggable.attr("objID");
$.getJSON("objects/"+objID+"/object.json", function(data) {
[Code]....
View 1 Replies
View Related