Scripts Not Playing Together Nicely / Fix It?
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
ADVERTISEMENT
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
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
Dec 26, 2010
User clicks on image map that displays DIV1 with player id="Player1". When user clicks on another part of the map, DIV2 appears with another video - but DIV1's player "Player1" keeps playing. How can I stop the event after going to another div? Lots of efforts "out there" but I've yet to find out just how to do it successfully.
View 1 Replies
View Related
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
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
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
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
Dec 29, 2010
i need code in javascript to make the player select playing with the computer or other player and select who player beginning playing
View 2 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 15, 2009
my website [URL] has been left unfinished by my friend and it doesnt look like he can finish it now. I have some understanding of code and have manually edited the existing pages in notepad to fix some issues. The one issue I have left is on the javascript samples player which overlays the main screen. I have all of the files (an flv and swf plus a folder full of js and a vbs file). As you will see, the morning chapter does not play but all of the others do. I have checked the flv in a player and it works fine, and it was created in the same way as the others. All flv and swf files are uploaded correctly I just can't work out why it is not working.
View 9 Replies
View Related
Oct 21, 2005
i've got the following code that checks the browser width and then redirect is it's under 500px, but IE 5.5 just redirects regardless:
<script language="javascript" type="text/javascript">
function checkBrowserWidth()
{
var theWidth = getBrowserWidth();
if (theWidth < 499)
{
window.location.replace("/handheld/");
}
return true;
}
function getBrowserWidth()
{
if (window.innerWidth)
{
return window.innerWidth;
}
else if (document.documentElement && document.documentElement.clientWidth != 0)
{
return document.documentElement.clientWidth;
}
else if (document.body)
{
return document.body.clientWidth;
}
return 0;
}
checkBrowserWidth();
window.onload = checkBrowserWidth;
</script>
any ideas??
View 4 Replies
View Related
Jul 20, 2005
I have a webpage with thumbnail images that I want to be able to click on to play associated Quicktime movie files in either IE or Netscape. I'm having difficulty finding any HTML or Javascript code for doing this, and was wondering if this is not an easy thing to do. Is there
some special code needed for detecting Netscape Quicktime plugins, and what about IE?
View 1 Replies
View Related
Jul 23, 2009
Is there any universal way (for all browsers) of using JavaScript to play some sound when you mouse over some link? If yes can somebody link me to this code or at least write me how one would do this?
View 5 Replies
View Related
Dec 22, 2010
How can I play a sound when I click an image, without the information bar popping up at top? I've looked all over, and I've tried a few javascript-only methods but none have worked for me.. Is flash the only way to go?
View 1 Replies
View Related
Oct 26, 2007
I am creating a web interface where a user can click on a series of pictures and then click a 'play' button to play the sound (wav) files which are behind each picture in sequence.
So I have an onclick event attached to each image which loads the name of the wav file into an array. The play button loops through these sounds and plays them one at a time....or so it is meant to!
I have found that all the sounds play one on top of the other and I have been searching for hours to find a way to make them play one after the other.
I don't want to use a flash interface as I can't convert them all to flash. Does anyone know of a way to do this using javascript? I would be very very grateful if so.
View 1 Replies
View Related
Oct 31, 2007
I am developing a web application where each page shows a series of small jpg images each with an onClick event which plays a small mp3 file using javascript.
It all works perfectly but is a bit slow to load, so the customer wondered if we might develop a local version which, although the page was accessed via the web, the images and mp3s were installed on a users local pc (will be machine specific application anyway).
I have managed to do this for the images by using:
<img src="file:///C|/folder/home.jpg" onClick="EvalSound('shortname')">
and adding the site as a trusted site in IE7 (after much head scratching!).
However, my embed statement to embed the local mp3 files doesn't seem to work. I am using:
<embed src="file:///C|/folder/filename.mp3" autostart=false width=0 height=0 name="shortname" enablejavascript="true">
I have tried all sorts of versions of this path and nothing seems to work. I just get an 'unspecified error' when I click the image.
View 1 Replies
View Related
Jul 12, 2009
i am in my efforts to perform a coding for a chess game between two persons who play with each other from different computer systems through internet. i want to know about how i can code in such a manner that when player 1 makes some move, player 2's chess board in his respective screen shows him the move of player 1 and vice versa. this has to happen without reloading the page.
View 5 Replies
View Related
Jun 30, 2011
I'm trying to write a site a hosts some of my own videos. I want to have a list of videos, each as a link, and when I click on one I want it to load on that same page by graying out everything else but the video. I'm using html 5 and css and I can get the video to come up, but the problem is that when I go to that page, all of the videos load. If I play a video from the pop up window and then close the window, the video will keep playing.
View 5 Replies
View Related
Feb 11, 2009
I have a website that I just inserted a flash JS movie into... The site looks fine, and it even says that the movie is loading, but after that... NOTHING... I tried removing the <noscript> tags, but nothing seems to be working.
View 15 Replies
View Related
Jun 28, 2010
I am trying to play a .wav file and have it start at a specific part in my javascript. I found some code, but it doesn't seem to work in firefox, but does in IE. It also starts from start and I would like to start it at a specific time and then play it for about 10 seconds and then have it stop. Can someone help me with some example code?
View 1 Replies
View Related
Jan 19, 2011
I can play a sound on my local machine, but when I upload to a server the same code it does not play. I cannot work out why, the link below gives the code. The multi channel code is here:
[URL]
I installed Firebug and insepcted the Net components and can see that the .wav files are being ought out but returning a 304 and then 404 error. This would be fine, however the path being sought is correct. Going to link does'nt play the sound, but removing the file and paring back to the directory brings you to the directory on the server and clicking the file does play the sound. The code works locally, and I simply cannot see what could be causing the issue in the server versions on both Firefox and Chrome.
View 3 Replies
View Related
Feb 24, 2011
I'm trying to stop the audio in a hidden div from playing once a user clicks on the next video clip. i know this is a known bug in IE but i can't figure out how to fix this (as i am a total noob). can someone tell me how i can do this? And yes, my client refuses to use firefox and only IE
Here is my current code.
View 1 Replies
View Related
Jul 14, 2010
Suppose I have some function ... myFunction(); And I want it to be executed from 3am - 11pm but not at any other time So far what i had done is along the line of
for(i=0;i<99999;i++)
{
var time = new Date();
var hours = time.getHours();
[code]....
If it is the right time it loops over and over and continually executes the function (which is what I want)If it's the wrong time (not 3am-11pm) it loops once, doesn't execute the functoin and then the script finishes (whereas I want it to continue looping until the right time comes along)If its the right time and then it moves to the wrong time it stops looping, whereas i want it to not execute the function but continue looping until the right time comes around again. So the overall affect is that at the given times of day the script plays and when its not the correct time it doesnt and then when it is the right time again it starts playing again, seemlessly and continually.
View 2 Replies
View Related
Jan 17, 2006
I was wondering if there was a way to load a streaming/static
mp3, wav etc. with javascript and then beign able to control its
playing, pausing etc.
View 5 Replies
View Related