I have a javascript sound board that I've made for a Church skit but I'm wanting to be able to smoothly fade out the longer SFX without having to do it manually with the volume slider.
The Object: <span id="player_holder"><embed id="player" hidden="true" autostart="true" loop="false" volume="100"/></span>
How do I modify the volume value from: document.getElementById('player')
I've created an ad unit which is to be embedded on other sites. In this ad unit are links which when clicked upon, as supposed to lightbox the link using lightview over the whole page, not just inside the ad unit embed.
I've used iframe and object tags and the result is that the content always opens inside the object frame. Is there any way, other than a flash embed which expands, to do this? Basically, what I'm looking for is a non-Flash ability to overlay something over the whole page (or at least expanded outside of the embed)
I currently using the <object> tag to display a webpage in another webpage... essentially. I read that <iframe> is basically deprecated and <object> should be used to replace it.
Thus my code breaks down basically to this: <object data="mywebpage.php"></object>
I'm using FF3 and the question I have is how do I print the contents of the object only? Currently, I have to right click the object and under "This Frame" click Print.
As desired it plays in a loop as soon as the web page is opened but i want a button ont there that can turn it off. Is there a javascript option to turn of the playing mp3?
I was working on embedding image using the object tag with quicktime. i was succesfully embed it but it seems like i cannot display the playback controls (like "play","pause","stop" etc).Here's my code:
I am working on a website that will contain YouTube Photoshop tutorial videos which I am creating.
The videos will be added as embedded objects. I want to use a dropdown menu so the user can select which video will appear. The video itself will be contained inside of a single table cell. The content of that cell will depend on which video is selected in the dropdown.
Is there a way to do this? I have some javascript experience but I am for sure still a novice. Also, is there a link to a sample script that would be similar to what I am trying to do? I've been searching the internet but I haven't found anything similar to this yet.
is it possibile to detect and prevent through javascript the opening of a new window caused by a embedded flash object? In the html code this embedded object resides within a given div with id.
I would want to know about it because every time I open the page, the flash embedded object opens another window, and it is a little bit noisy.
So, what I'm trying to do is embed links inside a cycle slide show. Here's an example:
[Code]...
As you can see, I'm using a div tag in place of an image and setting the image as the BG of the div. Then I'm overlaying some text and links on the "slide". When I click the links however, the result is animation invocation rather than link target invocation. The div click event is takingprecedenceover the link click event. Is there a built in handler in the Cycle library to handle this?
I have the following problem: I have a swf file that I'm inserting in my page, this swf file has a sound(mp3 imported file in the stage). I was wandering if I can stop or set the volume to 0, from JavaScript, I found that I can do(play go to frame):
I wanna play streaming audio (an asx.file) trough javascript. I allready found a tutorial on the net. Till so far it works (I can push play, pause and stop), but I want to change the volume to. An example: Code:
Do you know where the problem is? One thing that I must say is that the tutorial (where I took it from) worked with a wav-file, as you can see I work with a streaming file (asx-file).
I have a question about the html5 videoplayer. I have made a videoplayer width own buttons and a volume control. But the volumecontrol doesn't work. The code of the volume control is bold.
I'm (still) working on an ISO 8601 date parser. I want to convert at least the formats described here:
http://www.w3.org/TR/NOTE-datetime
Well.. I've got most of it working (via RegEx's) good enough for me but I'm having a brain block when it comes to TimeZone.
The datetime may come with an optional timezone offset (from GMT) as here (the offset is +1 hour from GMT):
1997-07-16T19:20:30+01:00
So... that's the current time there... but my spec is that timezone information, if present, should be used to convert the given time to local time. For me, for example, this would be -5:00 from GMT.
I've already split the Timezone information: I've got indiviual access to the sign (plus or minus), the hour offset and the minute offset.
So I'm sure there's a nice, simple formula for this... but it eludes me. Or I'm lazy... I can't decide which.
I should start out by saying that my javascript skills suck beyond description. Even after Googling for help, I'm still struggling.
I'd like to adjust a numeric form input field by buttons, i.e. clicking the +1 button increase the numeric value in the field by one, clicking -1 does the reverse. I'll probably use <a> or <button> elements for the +1/-1.
I have a large Select box for all the accounting items in the program. It's long so it makes it hard for the user to find the one they want. There are 6 categories that the accounts are in. They are:
ASSETS LIABILITIES REVENUE
[code]....
In an attempt to simplify the selected process I put in a false option so the user can find their way easier. Example:
---- LIABILITIES --- Bank loan Fry's account
For each account the value is the ID from the table and the Name is the associated name in the table.This of course adds a count to the selectIndex for the box.I made a variable for each of those categories.
ASSETS = 1 LIABILITIES = 2 etc.
The problem is that I have to adjust the select index for that variable. Example, if a liability is selected, I would have to subtract 2 from the index.
I have a search function which works when I only want to have only one search per page, but as it involves a string call I'm not sure how to modify it to multiple search requests on a page.
The below works fine for one call:
<script type="text/javascript"> function showHint(str){ if (str.length==0){
[code]...
The above doesn't work and I am not sure what do about the showHint(str) as clearly I am not representing it properly in my attempt to modify the script.
this script play on the disable option of form elements...
but in order to set it up i need to write all the "name" of all form elements inside the <input type="checkbox" name="control1" onclick="enableDisable(this,'day','month','year','hour','min')" />
'day','month','year','hour','min' - those are just examples...i got much more of elemets...
how can i make this script recognize all the elements inside <form name="example1"> by itself...with no need from my side to specify all elements like this (this,'day','month','year','hour','min')" Code:
The problem: When the website loads, the background shifts up to incorporate the catfish popup and allow the content to not be masked. This is a cool function, though I don't want this to happen.
Question: How do I stop the website from adjusting up?
(I tried modifying this: catfishheight = 90; // total height of catfish in pixels catfishoverlap = 90; // height of the overlap portion only (semi-transparent)
This does allow the catfish to cover up the content, though the background image still shifts with the catfish load.
I have a javascript calendar which will be used for a booking form. The booking form is for the months of october, november and december.
The code is: //Global variables var winCal; var dtToday; var Cal; var MonthName; var WeekDayName1; var WeekDayName2; var exDateTime;//Existing Date and Time var selDate;//selected date. version 1.7 var calSpanID = "calBorder"; // span ID var domStyle=null; // span DOM object with style var cnLeft="0";//left coordinate of calendar span var cnTop="0";//top coordinate of calendar span var xpos=0; // mouse x position var ypos=0; // mouse y position var calHeight=0; // calendar height var CalWidth=208;// calendar width var CellWidth=30;// width of day cell. var TimeMode=24;// TimeMode value. 12 or 24 var StartYear =2010; //First Year in drop down year selection var EndYear = 5; //End Year offset. i.e. Current Year + 5 .....
//use the Month and Weekday in your preferred language. var MonthName=["October", "November", "December"]; var WeekDayName1=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; var WeekDayName2=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]; The only problem is when I look at the tcalendar in frontpage preview it shows 9 other months as 'undefined'.
Im working on a site for a friend, and we've setup a popup window for a couple pages, but with the code we have, the variables for the width and height are in the <script> portion of the code, and not on each individual popup code segment. Is there a way I can add "width=400" or something to each popup to change its width? Code:
I can't change the speed on any jQuery functions that use that parameter, for example fadeIn(). No matter if I add slow, fast, 100, 180000... my tags/images/whatever always fade in at the same speed which is something between half and one second. Is this a bug?
I'm using a preview slider on my Wordpress site, but it doesn't work the way I want it to. As soon as the preview is changing it shows the next preview on the rightand the previous on the leftside of the center preview.
So, I'm new to jQuery, but have a pretty good understanding. Still, I've come across an issue that I'm not quite sure how to resolve. I'm using wordpress, and have a .swf inside of a div, "player." The player class has no height spec, as the height of the .swf is different depending on the page. What I need to do is detect the height of the .swf on each page, and then apply that number as padding-top to another class?
The issue I am having is that my menu is aligning to the right, instead of to the left where the normal menu was. I have worked with the CSS for some time now, but have not been able to figure it out. I would also like to make the menu colors black text with a transparent background, and white text with a #333 background on hover. The web site address is: [URL]