there again, I'm using pngFix plugin to work with some png under the doomed IE6 If I apply the fix to the document:$(document).ready(function()
{
$(document).pngFix();
});
It fixes the first png in the site, in this case one applied to a wrapper div.Inside this wrapper I have another div (menu) which contains an ul with some png's, for those, the pngFix is doing nothing...Supposely, this fix is applied to all the elements inside the document, but it doesn't...[/code]
refer to my development site - [URL]... If viewed in IE6, it has no header graphic and no border graphics. Before the implimentation of PNGFIX it looked like attachment image 1. After implimentation it looks like attachment image 2 The files in use are jquery-1.3.2.min.js and jquery.pngFix.js. I have also tried using jquery-1.4.4.min.js but this does not change the situation. jquery-1.3.2.min.js has been reverted to as it is native to the Coppermine Gallery.
I have an issue with the IE6 png fix not working with the tab js.Here's the test page: doo rshox.com/tab-p ages.html (remove spaces)I think it has something to do with the onload function but then I don't know js well enough to troubleshoot issues like these.
Here's the pngfix script code: var supersleight = function() { var root = false;
I develop pages within a third party web application. The page output has tables within tables. I have an 'id' for the table I want, 'oErrorsList' which I then want to find the value of 'SelectedRowID'. I have tried the following code but I get nothing. var myTable.text = $('table').filter('[id=oErrorsList]').SelectedRowID; alert(myTable); I am new to this forum and I don't know if this is enough information so I am including an image of part of the page.
full sample script which demonstrates the problem, inner tabs company/department come up as list instead of tabs.I have already tried what People have suggested that inner tabs should also be tabified via jquery but it doesn't work all the examples I have seen e.g.URL... use topmost div for jquery tabs call.[code]
I have an xml with nested repeatingentries. I want to parse it using jquery, I have tried .find methodbut it ignores the child parent relation and consider all as child nodesI want to parse it inhierarchy like first it should show top level categories then if have nested categories and then if have products and so on.
I am currently using jquery to regularly speak to my serverside to "import" a html fragment (which has varying components depending on user selection).What I want to know is:Is there any way I can access the html within that div through jquery?TOP LEVEL PAGE
i'm trying to do the following: select the links one after another and add a class to them. When the next one is selected i want to remove the class from the previous.
I have a html page with nested tables (horrible I know, but none the less what has to be done). Example: <table class='parent_table'> <caption>Title</caption> <tr><td> <table class='child_table'><tr> <td>Build</td><td>32bit</td><td>64bit</td><td>Date</td> </tr></table></td></tr>
I am using this jQuery: $('.parent_table').find('tr:odd').addClass('alt'); However, the alt class is not being added to the parent tr tags...When I just do this: $('.parent_table').find('tr').addClass('alt'); It successfully adds the alt class to all the parent_table tr tags...Why would that work, but the odd selector does not?
How to tackle a nested slideshow that just isn't working for me. Here is a pic of what I'm trying to do: I'm currently attempting to accomplish this using Jquery and slider.js. What I ideally would like to do is have the top navigation rotate through the clients (which would change the child slideshow, objective paragraph and what we cultivated paragraph). Then on each client I would like the child slideshow (the one with grey arrows on each side) to rotate through some images (currently I'm just using some dummy text in place of images). So far I have been able to make the middle slideshow work but I can not get the top container slideshow to rotate everything (the child slideshow, Objective and What we cultivated) without causing all kinds of problems.
Here is the code I'm using for the slideshow: Code: <div id="slides_two" class="container_24 slider_clients"> <!-- Top Slider Navigation to rotate clients --> <div class="grid_1 prefix_4"> <a id="mainlf_slidenav" class="prev"></a> </div> .....
I realize this is probably one of the most common uses of JSON, but I'm hitting my js knowledge limit. I want to output a two-level <ul> using a json structure.How should I structure the json and then how to output it?Desired output:
I have a set of nested ULs that is generated for me. I want to use it to create a drop-down navigation menu, however I don't want to use the values in the second level of ULs in the navigation. It looks something like this:
<ul class="topMenu"> <li>home</li> <li>community
[code]....
Level one is visible as sort of tabs, and then mousing over should reveal a list of the next level of links.I would like to use the above list and mouse over "community" and see a list of links
award type 1 award type 2 discussion 1
[code]....
Or another option would be to combine levels 2 and 3 so I would see
awards award type 1 award type 2 discussions discussion1
and then mousing over discussion 1 would reveal the more info link.
I am just trying to learn a little bit about jQuery.Now I have a problem with returning a value from a function.The following code works fine, when I tested it with alert(price) or any other way of echoing the value directly. But if I try something like var test = getPrice(324), the variable test would always be undefined.
function getPrice(id) { $.get('db.xml', function(d){[code]....
I assume that the nested functions are part of the problem,
Not only does it look hacky, but it's giving me obviously bad results. To complicate things further, I'm using MPTT for my tree data, so sortable's serialize isn't much help, unfortunately. I originally thought I might figure out the parent_id, lft, and rght values upon sort but that would entail storing all that data somewhere in the DOM. I then realized that, if I can just get the number of positions moved, I could update the DB with that information.
So I'm new to jquery and I'm trying to spice up a navigation menu in my cms. I'm having trouble selecting children in a nested UL. Its just an add class on hover. But as you can see, it's selecting all of the children on hover. [URL]. I'm trying to find a solution that allows each listed link to be highlighted on hover, regardless of its place.
now when we click this button it will show a corresponding div objec, which is the parent div called 'frame1'. this div has two radio buttons "static" and "dynamic".
if the user clicks on static radio selection, i want to show a stDiv. here is the problem as this stDiv is not showing up on click event.the function is getting called as i had checked it using an alert.
if the user clicks on dynamic radio selection, i want to show a dynamicDiv, this is also not working.
i would also like to add one more problem. right now, when we click on button, it shows the frame Div, but this displaces all the other elements in the page, which are inside a table. is there a way to show this div above other elements without any changes in their position.. i tried to change the z index of the frame Div, but nothing changed..