Can't Get My Menu To Play Nicely / Resolve This?
Dec 15, 2010
I found a jQuery menu online which i have used but somewhere a long the line it stopped working properly without me noticing, been trying to fix it but cant work it out..
The original code is here...
When you hover over a menu item you get a drop down but you cant hover over the drop down without it disappearing!
View 4 Replies
ADVERTISEMENT
Jul 22, 2011
To javascript and have succeeded in getting this code:
Code:
To play a constant loop of audio on my site that autoplays (which i know, typically people hate... but, i'm doing it anyways on this site).
How to add one button in my html body that is CSS style-able that will both pause and then when clicked again resume playing the audio?
View 1 Replies
View Related
Dec 11, 2011
I am using the youtube chromeless player and embeding videos with loadVideoById() method problem is that videos with an id that contains an underscore or dash dont play although they play in the normal player. I also tried replacing with a hex value in querystring i.e (%5f) but that did not work I also tried loadVideoByUrl() method with several urls but still they don't load. here is my code
function switchToPlayer(ytid){
var params = { allowScriptAccess: "always"};
var atts = { id: ytid,onmouseover: "this.playVideo()",onmouseout: "this.pauseVideo()"};
swfobject.embedSWF("http://www.youtube.com/apiplayer?border=0&enablejsapi=1&playerapiid="+ytid, 'cell'+ytid, "150", "120", "8", "scripts/expressInstall.swf",null,params,atts);
}
[Code]....
View 4 Replies
View Related
Jan 19, 2010
I am trying to get two scripts to run on the same page in Firefox - I haven't had the chance to sort out cross browser compatibility yet as I am not feeling like a glutton for punishment. The scripts are for a slideshow and a news slider. I can get one to run, and not the other, but they won't run together. The page link is ... The page is currently showing the news slider as functioning, but not the slideshow (hence the pictures flooding the page....).
Is it an issue of too many jquery references?
View 4 Replies
View Related
May 18, 2010
In the return function (r) below, I cannot get the appended <tr> to slide down nicely. As it stands the <tr> just appears, which is fine but not the graceful effect I wanted. If I reinstate the hide() command it flickers crazily before appending.
[Code]....
View 2 Replies
View Related
Mar 23, 2011
I'm trying to allow a user to select an XML file so that my javascript can parse it and create some pins for a google map.It works fine in Firefox, and by using FireBug I can see that the file is being accessed as expected.IE on the other hand tells me that "'files.0' is null or not an object" on line 68 of address locator. php.
View 1 Replies
View Related
Jan 12, 2012
jQuery script I wrote works nicely on one computer, fails on 3 othersManaged to get jQuery datepicker to work nicely with $wpdb.This all seems correct to me:
<li><label for="from">From</label>
<input readonly="true" type="text" name="from" id="from" value="Click here to choose!" class="requiredField" style="position: relative; z-index: 100000;" />
[code]....
View 1 Replies
View Related
Apr 30, 2011
I've got a problem with a simple slideshow on IE7. It isn't smooth and kind of changes size on the right hand side. It works fine in standard compliant browsers.
[Code]..
View 4 Replies
View Related
Dec 9, 2010
I have a MooTools drop down menu I need converted over to jQuery as they are not playing nicely together on my site. Here is the MooTools code:
[Code]...
View 1 Replies
View Related
Apr 14, 2011
I have been playing with JavaScript few days now. I have a php script that returns data in XML. I want my Dashboard (html) page to show the response back from my php file. Since this is going to be a Dashboard hence it needs to refresh the content every second hence using JavaScript.
I want to get some guides, tutorials, or how-to for this. Any help would be much appreciated.
Here is what I get from my .php file if I do a POST method to it and define variable "extension=9999" to it code...
How can above be nicely presented in an HTML using JavaScript and how would this query be refreshed and re-POSTED every 1 second?
P.S. Amount of XML data coming back to me is dynamic. So, I don't know how much data I get back. Sometime nothing. Sometime 4 childs. Sometime 10 childs in the XML.
View 6 Replies
View Related
Mar 8, 2010
I am preloading some images, so prior to the downloading I have:
In Mozilla: initially WxH = 0x0 ... after img downloaded WxH = good# x good# the div just stretches just the right amount to fit snuggly around the newly loaded image;
But the other browsers do different things;
My current solution, which works, uses a new Image().width approach where I manually resize the container div;
How to get the other browsers to automatically resize the container divs;
View 1 Replies
View Related
Jun 19, 2010
Code...
In IE7/Windows the left vertical navbar disappears. I have used every hasLayout trick I know. Can anyone put a finger on it? I'm working with legacy code to complicate matters. code...
View 1 Replies
View Related
Aug 24, 2011
I am trying to do a setInterval to switch the background-image of a div. The switch will happen every second.
Here is the html code...
On firefox 6 and IE9, it switches just fine. On IE8 and Chrome it switches once and then stops.
Not sure why it is working in the newer browsers and not the older ones. I know there were some new javascript features added to the newer browsers, but i cant figure out where the error is occurring.
View 3 Replies
View Related
Jun 20, 2009
If statement won't work / resolve this? Here is my code...
View 1 Replies
View Related
Dec 20, 2010
I have a JS value but it won't put the value in the brackets when i try to get the element by ID instead it is looking for the id named the same as the variable name.
Here is what i got to explain better code...
View 2 Replies
View Related
Jul 19, 2011
I am fairly new to javascript and am having trouble clearing a text field. I am making a "vending machine simulator" as an exercise. I have a button that is the coin return, and should clear the balance display. e.g the machine shows a balance of $2 inserted, the coin return button should clear it to 0.
I believe I have done everything correctly but get NaN as the output (a text field named "box1"). I believe it has something to do with how the field is validated. It has number precision set to 2, which I would think would just become 0.00 or something. Anyways, here is my code code...
View 10 Replies
View Related
Sep 5, 2011
I'm new to JS and I can't get this function to display. [code]...
View 18 Replies
View Related
Mar 9, 2010
I am really confused. I want to make a <p> tag hidden using javascript, and then, if i detect its running IE, i want to make it visible. I can't even make it hidden though. I have tried code... and I've tried both of these variations with the getElementById('warning') instead of plain old document.warning too. Nothing works. I've even tried setting display to none. What is going on?
View 6 Replies
View Related
Oct 9, 2010
This is the code that not getting the result code...
View 1 Replies
View Related
Jan 10, 2011
I have tried every possible way to work this Javascript on IE, but it doesn't work. It say's Error on Page in the status bar. [code]...
View 2 Replies
View Related
May 16, 2009
I have a demo where I'm trying to use innerHTML to build code...
View 7 Replies
View Related
May 28, 2009
Alright simple JS question code...
It's supposed to remove the text if it contains "First Name" and put it back if it equals nothing.
View 16 Replies
View Related
Feb 3, 2007
Here is my ajax library code...
This code runs prefect in FireFoc but IE7 will only process the first request. I remember reading something about IE of processing first respondText and if invalid character are in there it no not process any more. I am just passing plain HTML and rather using innerHTML because it seems earlier than using XML and i really don't see any benefit on using XML. is there any way i can get this to work nicely in IE?
View 5 Replies
View Related
May 5, 2010
I have the following code...
It's not showing me the alert. I'm just trying to get that part to show it works. However, what I'm trying to do is add up the values in one and two and the based on adding those two up and then placing that total in the total field. Any ideas on how to do this?
View 2 Replies
View Related
May 28, 2010
I tried coding something quickly myself and was wondering why I couldn't hide a frame (one with a blue image, one with a red - simple test)
So I gave up and looked through google and found a simple tutorial at
I copied this code exactly into three files, the main html frameset and the two test frames.
Named properly etc etc, but I can't get the hidden frame to show up using the button. So is the functionality behind the scenes the problem here? Or is this some other issue?
View 5 Replies
View Related
Sep 17, 2010
I'm using a javascript quiz I copied from javascript.internet.com and it's not working right. I like what the quiz does (if it works right), so I want to try to make it work. When you click the button to get the results at the end of the quiz nothing happens.
View 8 Replies
View Related