I am new to jQuery, but seems prettyy straightforward. URL validation is failing on [URL], even ion the demo site. Not sure why as it is a clean url (generated by wordpress) and takes me to the appropriate content.
The Demo in Chrome 6.0.472.25 dev renders all the examples inoperable. It works in Firefox and Explorer with this url to my hard drive.[URL]
But in Chrome no luck. See the attached screen capture "ChromeProblem.jpg.
I tried to solve this months ago, and I discovered downlevel versions of Chrome worked. Which one?? I don't remember, but after upgrading Chrome the jQuery UI Demo always stopped working. I tried many different machines, all with the same result
I have a script (thanks to brian.jquery12) which changes the class on my body, which changes the bgrd colour of my page. This imitates the changes seen during the day in the real sky.I would now like a script which speeds up the whole process for demo purposes when a button/link is clicked.The class change occurs at the following times of day 0, 7, 12, 15 & 18.I am not sure where to start with this. Any tips or links to other posts. I have searched but not found what I need.
I'm using jmediaelement to provide jquery-ui styled controls for video. Works in all browsers, including, with jplayer fallback, Firefox and IE9, and even IE8 when the content is inside a jquery ui dialog. But for some reason on page loads with IE8 the jplayer swf object isn't injected into the page...
This is the markup in the page:
I'm loading jQuery, jquery ui, jmediaelement's mm.full.min.js and jmeEmbedControls.js in the page footer. player.swf is available in the same dir. In a subsequent script, I'm calling embedControls on any video elements in the page:
I have no idea even what to try. I tried adding jme's debug js file, but get nothing useful from it in IE8. Loading in FF it just prints "everything looks ok" in console. When I call jmeEmbedControls() from the console it just adds another set of controls below the original. No jwplayer. No styling.
Weirder yet, when I put the same markup that does not work in the page into a jquery ui dialog(), init the modal dialog, and make the same call to jmeEmbedControls, the video inside the dialog is skinned with jwplayer and plays (css is a little off, but it plays fine).
What am I missing? Why would code in the original page load not be skinned with jwplayer, and code rendered in a jQuery().dialog() then get the correct jwplayer funct? (I know about the local security sandbox issues and have added localhost to my trusted sites. Also, same problem on http live site.)
I'm making a drop down menu and it works great in all modern browser but it fails in IE7 and IE8. when i try to move the mouse from the main menu item to the opened dropdown, this disappears. What do I need here?
This is the page: [url]
And this is the JS code:
Appears to be an issue of jQuery when detecting hover over subnavi when it has position absolute...
On the treeview "Large Tree Demo" page, when "Expanding All" the links at the bottom of the page are not displayed correctly. Some of the links don't connect to the parent nodes. I have tried this using IE8 and Firefix8 with the same results. Can this be fixed ?
It felt like 99% of everything I do with jQuery involves a database some tree-structure so I figured I'd try jsTree out. I uploaded the demo and the way it seem to work is for every parent in the tree it calls a function get_children (PHP) with AJAX which makes a SELECT-query for that node to get the immediate children.
Am I missing something or isn't that extremely demanding on the database? The way I always do is get as much as I can from the database in one go then put it into PHP-arrays. With that plugin as I've seen a lot is that they put all the database-calls inside a class, do all those queries get pre-loaded or something when you call "new Database"? Or is a SELECT-query for a few rows just not that demanding at all?
I have an input box searching a XML file for a string. Anything the user types in, the script searches through the XML file in the "name" and "conference" tags for results. This works just fine in Firefox. However, in Safari, it only returns a result when a single search result is found. I've narrowed it down to this line, and I have no idea what is wrong with it. my use of selectors in this way? Or is it a Webkit bug?
Anyone know of any good beginners guide to layers online, preferably with examples of form elements (initially populated from a database) updating the parent page?
I have the basic functionality working with a popup window and 'opener.document.form1', but this doesn't look that good and I can't get it to fill anything but a form element on the parent page.
Unfortunately in Internet Explorer 7* it is failing to fire more than once when applied to a text input. I put together a minimal test case to demonstrate:httpHas anyone else figured out how to fix this already?Is there an alternative that would serve me better?
I have this script that works in IE:[code]it should be the same thing, they're both using HTTP Requests, but the "getJobStock" script just returns no options, but ONLY in IE. In all other browsers PC or MAC it works fine.
I'm trying to create a simple image gallery that has a floating image that popups up when the user clicks on a thumbnail. So far so good. Now, when I tried to align the popup image so it's near the cursor, things get a little screwy: it works fine for Internet Explorer 6 (although always appears near the top for a long page) but completely fails with Firefox (causing it to ignore the rest of the JavaScript). Can someone help explain why? The code that's causing the problem (which is used to calculate the x and y positions) is:
var posx = 0; var posy = 0; if (!e) var e = window.event; if (e.pageX || e.pageY) { nc.style.left = e.pageX * 0.6; nc.style.top = e.pageY * 0.5; } else if (e.clientX || e.clientY) { nc.style.left = (e.clientX + document.body.scrollLeft) * 0.6; nc.style.top = (e.clientY + document.body.scrollTop) * 0.5; }
The stuff I've built recently works (in the sense that it does what I'm expecting it to do without any errors or warnings) in IE and FF but fails silently in Safari. I don't have a Mac to test on. I write some stuff and send it to the client who tests and reports back.
I don't do any browser sniffing, I test for a feature for I try to use it...
Are there any known oddities about scripting for Safari that might possibly help me out.
I'm creating a demo website (pure to show design and content - not going live) and I want users to be able to click through the site and to use a back button on the site that goes back through the pages they entered.I have these pages.
1.html 2a.html / 2b.html 3a.html / 3b.html 4.html
a user will only go to either the a or b page.so when a user is on page 4 i need a button to link the user back to the correct version of page 3 & 4.at the moment i'm trying to use the querystring to input values but having problem persisting them/
I have an XML file that I'm trying to load into and xml object, however the doctype tag is killing the javascript, and does not parse the XML at all. If I remove the doctype, the javascript can parse, and I can access the XML DOM. So I know the XML is valid. Even with the Doctype, it validates. However Javascript does not like it. I don't have a choice to remove the Doctype tag of the XML.
If I remove the Doctype, this method works to parse the XML DOM: Code: xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.load(filename);
Also, if I use the .open method to retrieve the XML, I cannot access the XML DOM via xmlhttp.responseXML. But I do get a result when I use xmlhttp.responseText, it displays the corresponding XML. Code: xmlhttp.open("GET", filename, false);
It works just perfectly if left alone, but I need to replace every letter inside this string, adding those style and span tags around each and every letter. So if I add another line to this code, like this:
however the validation still fails on the creditcard field. If I enter this in to Firefox's console:
$("#OForm").validate().element("#creditcard");
it returns false.
To make matters more confusing, this validation only fails on my form when I am passing a particular parameter in the URL string. I've scoured my code and cannot figure out why that parameter would have any impact whatsoever on this matter.