How To Disable Or Prevent Sounds / Popups

Aug 7, 2011

I run a website and we have an ad agency who despite our repeated requests, does not filter run of network ads to make sure no popups are served or ads with sound are run. However, we can't afford to drop them and no other agency is going to give us the fill rate/CPM we are currently getting. So we need to take matters into our own hands, and I hope it's possible. We need to put a script on our site which overrides any javascript/flash served via ads and prevents popup windows from opening (or auto-closes them). We also need a way to disable sound within the current tab. Is that possible at all?

View 1 Replies


ADVERTISEMENT

Prevent / Disable Right Click

Jan 24, 2006

What is the command to prevent "right clicking".

View 12 Replies View Related

Prevent User From Going Back Or Disable Submit?

Jun 30, 2009

i have a form being filled. i don't want the user to be able to submit twice. how can i either prevent the user from going back or disable the submit button?

i am currently disabling the submit button but when the user clicks back(from the next page) it asks whether it should resend data. when the data is resent it loads the original version of the page(without submit disabled).

View 9 Replies View Related

Way To Prevent Tab Text Highlight / Disable Tab Text Selection

Apr 21, 2011

Here's a sample form:

Code:
<form action="#" method="post">
Name:<br />

[code]...

View 3 Replies View Related

Prevent Tab Text Highlight / Disable Tab Text Selection?

Apr 21, 2011

Here's a sample form:

Code:
<form action="#" method="post">
Name:<br />
<input type="text" name="name" value="your name" /><br />

[Code].....

When you tab to a text input, the value gets highlighted. How can it be disabled?

View 7 Replies View Related

Possible To Prevent Tab Text Highlight / Disable Tab Text Selection?

Apr 21, 2011

Here's a sample form:

<form action="#" method="post">
Name:<br />
<input type="text" name="name" value="your name" /><br />

[code]....

View 1 Replies View Related

Any Way To Parse Sounds From Mic?

Aug 1, 2011

I know javascript can't do this natively but with flash or java it should be possible right? I'm thinking of doing something along the lines of a tuner ( [URL] , but a bit different). Any framework for reading notes from the mic with javascript? Preferably something which takes care of all the flash/java integration.

View 1 Replies View Related

Playing Sounds Sequentially

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

Sounds On Mouseovers That Will Work With Most Browsers?

Mar 26, 2007

I'm trying to get sounds to play on image mouseovers using dreamweaver
8, and I found out that the code it generates to do this only works
for IE. Is there a way to do this so that it will work with most of
the popular browsers? I don't care if it can be done with dreamweaver
or if I have to hand code or copy code from somewhere, I just want it
to work.

Here is what DW creates:

function MM_controlSound(x, _sndObj, sndFile) { //v3.0
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "play";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "play";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}

View 4 Replies View Related

Graphic Buttons / Sounds And Links

Jul 17, 2010

I want the code for a button effect. The button is for a graphic button, on clicking it it changes its graphic to an ('on' image), plays a sound effect, then changes graphic to the first image('off' image), then it goes to a link.

Files would be
Images/offbutton.jpg
Images/onbutton.jpg
sound/buttonclick.wav

View 5 Replies View Related

How To Make Sounds With Events Without Flash

Apr 2, 2010

I've heard a lot of talk out there about how HTML5 will replace Flash and Silverlight. And the iPad is already dumping Flash. So, for those of us who use Flash for more than just video, how are we supposed to attach sounds to events with JavaScript? Is there a JS API for accessing the audio in HTML5 that allows event based sound effects? (SoundManager embeds a flash sound player)

View 7 Replies View Related

Playing Sounds On Button Click From Source

Oct 14, 2010

I need to play sounds with javascript. When the user clicks the button it will run the function and play a sound either from the source or embedded into the website (which ever way works).

View 4 Replies View Related

Popups

Nov 20, 2005

I need when a page is accessed to launch 2 popups then close itself. Can anyone help? All help is very much appreciated. One popup is going to be a regular page and an add then for other popup if any ones curious.

View 1 Replies View Related

Certificates And Popups

Jul 23, 2005

Just wondering, if one provides/uses a certificate on the website, does that
solve the problem with blocked popups?

I am building an application in PHP/JavaScript that will be used only on our
clients' computers, but new clients are added frequently.....

View 2 Replies View Related

Popups And Resizing

Jul 23, 2005

I am using a popup window to show pictures. Each time the user clicks on
a thumbnail in the mail HTML page, the popup either appears or reloads a
new picture.

Some pictures are portrait, and some are landscape. I build the popup
html dynamically. How can I a) resize the popup window to fit the image,
and b) pop it to the forefront once the new picture is loaded?

View 8 Replies View Related

Can't Nest Popups..

Dec 11, 2006

I am trying to get a fairly complex database form set up..at various
stages I need to open popups to edit subsections, then close them..

Now this all works fine from the main screen, I can open a popup using
window.open() and it spawns in a new browser or tab, do my stuff, and
exit to the main screen..

However if I try to open another popup in the child popup, and return to
THAT with a window close in the grandchild, firstly it never opens in a
new window, but in the child window, and secondly it closes itself and
returns not to the child window but to the parent window.

I have googled till I am blue in the face but no joy..no one seems to
have a snap solution for this one.

I suspect I need to use the window object that window.open returns,,but
have no idea how..?

View 2 Replies View Related

Popups And Browsers

Nov 17, 2006

On my site, I would like to open a centred pop-up with thumbnails. Clicking on them you get the full image with navigation arrows leading to new photos, etc.

I want to have pop-up dimensions suited to what's in the page and if the photo is vertical or horizontal.

Now, the code here under works well with FF2.0 and NS 8.0, but IE6 and Opera 9 just make the window.close() in func_aperta() and closes the pop-up.

What's wrong? Any ideas? Code:

View 5 Replies View Related

Multiple Popups

Oct 11, 2005

i'm working on my band's website and I want to be able to make multiple popups on one page. as in, the links you press will all come up in DIFFERENT popup (barless) windows. but no matter what i try, no matter what link you press they all come up in the same popup window. im hoping to make all the links come up in different sized seperate windows! anyone know how to do this?

View 7 Replies View Related

Popups Not Working In IE8?

Oct 21, 2011

For some reason, in IE8, on product pages (Example) of my ecommerce site, the 'Size Chart' and 'Email to a Friend' popups don't work, and the product image lightbox won't work eitherbrowser I have tested in, including IE7. It seems to only be IE8 that is having this problem.Upon looking at the page source, one thing I have noticed that both the 'Size Chart' and 'Email to a Friend' buttons have in common, is that the popups seem (I'm far from an expert) to be 'triggered' by a span element (class="more") within the HTML. For example:

<div class="row ">
<label >Size: </label>
<strong class="fl"><select name="size" id="size" onchange="checkstock(this.value)"><option

[code]....

View 6 Replies View Related

Javascript Popups

Feb 25, 2004

I have a quick question about javascript popups...

At the moment I have the function

function openWindow(page,width,height)
{
window.open(page,"my_new_window","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=" + width + ", height=" + height)
}

Which is opened by the link

<a href="java_script_:;" onClick="openWindow('popups/popup_template.htm',&#39420;',&#39640;')">

This works fine and I get the popup just how I want it.

However, When that popup loses focus (IE the user clicks on another page) that popup goes behind all the other open pages. Then If I open another popup with that one still open it stays in the background.

I know that I can use

Onclick="self.close()" and OnBLUR="self.close()"
to close the popup when the user clicks, but I need them to be able to click in the popup.

Does anyone know an OnLoad fucttion or method that will bring the popup to the front when the user opens another window.

OR

Is there a better way of doing this.

View 2 Replies View Related

Page Popups Because Of JS

Jan 14, 2005

There is a webpage (of another website) "page A" (a registration form) that I have to use as a popunder on my website.

However, due to the code for the form validation (email & other entries) on Page A, the page does NOT remain as a popunder, but popups above my actual website's main page....

Is it because of this attribute in the body tag?
<body OnLoad="document.form1.email.focus();">

If so, what counter can I use to beat it poping up above the main index page?
PS: Cannot make changes to PAGE A, just my own Index page....

View 19 Replies View Related

Using Popups For Confirmation

Jun 10, 2006

I have noticed some websites use a popup system for confirmation... I know that hotmail uses a similar feature for adding file attachments. So I was wondering how exactly a website would have that feature work.

What I need to know is how to make a popup that...

a) Popups up in the middle of the screen and ALWAYS popups up (the popup blocker in IE wont disable it)

b) A Popup window that cannot be ignored. Therefore the user cannot complete any other actions on the webpage (the page that is displayed on that particular browser instance window). If the user attempts to click outside of the box then it will not allow them to.

c) Once the popup window has been completed (the user clicked the ok button to confirm the message) then the window will disapear and the user will be focussed back onto the original window where he/she was browsing on.

Most of the stuff is simple javascript. (opener.focus() and self.close()) but when it comes down to making popups be the center of control, I am lost.

View 3 Replies View Related

Unblockable Popups?

Jul 19, 2006

I'm doing a website at the moment for a shooting club which is opening in a few weeks time. I'd like to have a popup on the home page which appears on a user's first visit to tell them about the opening day. I have the cookie sorted to detect whether they've visited before or not, but how do I make a popup which won't get blocked by all today's browsers and popup blockers? Is there a way that genuine useful popups can be verified and not blocked?

View 2 Replies View Related

PopUps Display Only Once

Apr 27, 2011

I have a Jscript popup which comes after 5-6 seconds of my page load.

This happens for all the pages.

I have tried the following..

This load the popup on load.

Now, i want to make sure that if a user once clicks on cancel, he will not get the popup for rest of the pages also.

But if he opens the pages individually the next time, he will get the pop ups.

So it will be displayed only once after he clicks close and will not come the next time.

View 1 Replies View Related

Popups Relative To Resolution?

Jul 20, 2005

Does anyone know where I can get a script for a pop-up where I can control fixed positioning of a popup based on browser resolution?

two res's: 800 x 600 and 1024 x 768 ....

View 2 Replies View Related

Multiple JS Hover Popups ?

Jan 21, 2010

I'm trying to have an ordered list, each item with its own image. Then, I'm trying to use JS so that a different popup is generated for each image.

Currently, I'm using CSS classes to define the appropriate popup image, and this seems to work fine as I can see the popup contents in Dreamweaver.

I think the issue is the 'getElementById' thingy. As whichever image I hover over, it always pulls the first hidden popup.

JS

Code:

HTML

Code:

CSS

Code:

Is there a way form me to also pull the class that is referenced in the html, so that the appropriate popup is generated?

I don't think I'm using the code highlighting properly and I intended to link to the page, so you could see what I'm talking about, but apparently that's not allowed.?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved