Popped Up Window Not Resizeable As Defined
Jul 20, 2005
I'm popping up a window with the following piece of javascript :
MyWindow =
window.open(filestring,'MyWindow','directories=no, status=no,scrollbars=yes,r
esizeable=yes,menubar=no,toolbar=no,screenX=25,scr eenY=25,top=25,left=25,wid
th=650,height=500').focus();
Everything about the window is correct except it is NOT resizeable - the top
right expand button is insensitive and the window borders cannot be grabbed
and dragged - WTF????
View 1 Replies
ADVERTISEMENT
Jul 23, 2005
I have a situation where a bit of script needs to pop up another
window, and then call a script in that new window. My conundrum is
that the script should not be called until the new window has rendered
completely. What's the best way for the new window to tell its opener
that it is fully rendered? The thought that occurs to me is having a
script at the bottom of the new window that calls a script in the
openening window that then calls the "real" script in the new window.
The obvious solution (having the new window just call the script
itself) isn't feasible because the opener has the information that the
new window's script needs. Is there a better way to do this? I
apologize if I've explained my situation poorly.
View 3 Replies
View Related
Jan 20, 2010
In my main window, I create a popup window. Is there a way to bring the main window back to the foreground (make the main window the focus window again) from the popup window using JS? Like from a link or a button?
View 1 Replies
View Related
Jan 13, 2006
I'm popping a window with media player playing a video inside. Trouble is, even though I've told the window statusbar=no in it's defined size, within mediaplayers code is a param showstatusbar=1 so the popped window thinks it's now supposed to show the status bar when only the mediaplayer is.
window.open("about:blank", "videoWindow", "statusbar=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, width=350, height=350");
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="FileName" value="videos/<?php echo $file_name ?>">
<param name="showstatusbar" value="1">
<param name="controltype" value="1">
<param name="showcontrols" value="1">
<param name="AutoStart" value="1">
<Embed TYPE="application/x-mplayer2"
pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"
SRC="videos/<?php echo $file_name ?>"
Name=MediaPlayer
ShowControls=1
showstatusbar=1
AutoStart=1
Width=320
Height=288
</embed>
</object>
The bold params above are influencing the window's status bar.
View 7 Replies
View Related
Aug 19, 2010
i have the following which works fine in production but not in my dev.
#output
{
width: 50%;
[code]....
View 1 Replies
View Related
Jan 19, 2010
I am building a website with a very plain main page. It displays some text but it also displays a random background avoiding scrollbars, etc. I've managed to do the random image thing, but I also want it to scale the random image. Also I have tried this same thing and I got it working but in a different file, I just don't know how to combine this two solutions. I attach the code of both files:
[Code]...
View 1 Replies
View Related
Jul 18, 2010
Is there any javascript code that I can use in "window.open" that will pop up a window of whatever the user has set as the default browser window size? (This should be the size of the browser window when they first open it)
Also, any code to go to the user's defined homepage as set up in their browsers preferences?
View 4 Replies
View Related
Jul 20, 2005
I'm trying to use window.open from inside a user defined function, and
it's not working.
Mountain Man
============
<script>
function openFootnote(contentURL) {
window.open('contentURL','footnotes','height=180,w idth=160');
}
</script>
I've tried calling on the function 2 different ways, as shown below.
Nothing happens either way.
<a href="javascript:(void)" onClick="openFootnote(fn1.html);">...</a>
<a href="javascript:(void)" onClick="return
openFootnote(fn1.html);">...</a>
View 2 Replies
View Related
Jun 9, 2011
I've got some text that I want to change what it says:(63%) on RRP (£80.00) The percentage value and RRP Price will change dependant on the product and its discount. All I want to change with jquery is the text:
%) on RRP(
to the following
% OFF! RRP
I've put it into jsfiddle below.
View 13 Replies
View Related
Aug 13, 2009
I know it's something stupid I'm doing but I can't figure it out. Essentially I'm trying to load two objects with URLs with two websites that can be loaded(displayed) and unloaded(hidden) at the click of a button.
I've spent an hour trying to debug this and I'm at my whits end! I'm doing this with changing the width and height of the divs that contain the objects that will load the websites. But, in Firefox I get an error in the error console saying : loadUnload is not defined. why? code...
View 1 Replies
View Related
Aug 29, 2007
I call submit() and get a javascript error 'Submit not defined' in Firefox..
My very expensive javascript Bible assures me its built in ..so where oh
where have I FSCKED up?
Its all within a form..that all works but I haven't yet defined a submit
button, because ultimately I want a clickable image with dreadful
graphics emblazoned on it..or something.
Heres the snippet..
if (confirm(message))
submit();
View 10 Replies
View Related
Jan 23, 2009
Script: Firebug says "replaceshow" is not defined, when it is.. I don't see any syntax errors?
Code:
<script type="text/javascript" src="prototype.js"></script>
<script>
function replaceshow(show_id,dog_id) {[code]......
View 3 Replies
View Related
Apr 16, 2010
I am working with a dice game that is going to roll three dices and it works. Now that I am going to count the hits, my Firebug says that: tarning1 is not defined. What have I done wrong? Here is my code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
[code]....
View 9 Replies
View Related
Jun 30, 2011
This is an admittedly convoluted script, so I'm not surprised it's a bit buggy.Basically, I'm arranging several hundred small divs on a page. This code writes each of them onload, and checks urlArray to see if the specific div being written has a function attached to it, then enables onmouseover/onmouseout hand pointer/default pointers to it, and, of course, runs the function onclick.
var urlArray = ["main", "none", "none", "none", ... (snip) ]
var i = 0;
function writeDivs(){[code]....
The script as it appears here runs great in chrome, but Firefox tells me that "main" is undefined whenever I click or roll over the div, and IE says "object expected" when I click."main" is the name of a function defined in an external js file (though pasting the function into the main document doesn't do anything).In fact, the whole of the above script may not even be relevant, since the following doesn't work either:
document.write("<div class='posDiv' id='div"+i+"' onclick='javascript:main()' >"+textArray[i]+"</div>");
View 8 Replies
View Related
Aug 1, 2009
I think I have a simple problem, but unfortunately my JS skills are such that even something like this goes over my head. :/I have a site: buypermasetinks.c0m <-- I guess I'm not allowed to post real links yetOn the product pages, it uses JS to calculate the pricing of the different inks, based on their sizes. For some reason the JS no longer is working.I checked the error console and this is what I've found:Error: cloneObject is not definedSource File: buypermasetinks.c0m/permaset-aqua-standard-color-range-water-based-inks-pr-21143.h t m l Line: 667Here is the code found there:
/* Get variant wholesale prices */
if (variants[variantid][3]) {
product_wholesale = [];
[code]....
View 3 Replies
View Related
Aug 20, 2010
I've tried to add a Lightbox script to an already existing page that already had a javascript feature in it. Now I know that there's no limit to the number of scripts you can run simultaneously, but when I added the lightbox feauture, my compiler gave me the following error:
$ is not defined
his.elements = $(this.options.thumb...lements(this.options.itemsSelector);
This line of code was part of the original source code of the page, and hadn't been a problem before I added the Lightbox code. Why is $ undefined all of a sudden and where can I find a solution for this? Could someone point me in the right direction here? I'm not exactly a novice(yet) when it comes to Javascript and this project was due yesterday.
View 6 Replies
View Related
Jun 2, 2011
URL...This is my site and there are two dropdown menus on right side of screen under PRICE: $185.00 title when you open this dropdown it shows "Not defined" option automatically.
View 1 Replies
View Related
Jan 17, 2006
What is a cross-browser way to check if a function has been defined?
It seems that this code
if (myFn) {
myFn();
}
executes whether myFn is defined or not. When it is not, a JS error
results.
View 3 Replies
View Related
Jun 15, 2007
I'm new to Java programming. I've seen how finicky java is as far case
and space sensitivity sensitivity is concerned. However, I'm slowly
getting hang of it.
I came accross this weird problem that I just can't figure out. First
of all, here is a link to the script:
View 17 Replies
View Related
Jul 20, 2005
The following line
document.someForm.next = new Submit("next");
produces the error
Error: Submit is not defined
I find this surprising, given that Submit descends from Object,
and the constructor 'new Object("value")' is well defined...
Clearly JavaScript and I have very different ideas about inheritance.
Be that as it may, is it possible to generate a new HTML input
element on the fly (i.e. in response to some user action, such as
a mouse click)?=
View 4 Replies
View Related
Jun 13, 2011
get this error :Error: $ is not defined.this is my code
<script type="text/javascript" src="javascript.js"></script>
<script type="text/javascript" src="jquery.js" > </script>
function men(){[code]....
and in the html page i have one form and one button. the button issupposed to show the message from the form on click
View 4 Replies
View Related
Jun 17, 2010
I am currently working with a cms system that doesnt keep within the correct name conventions (pre defined).Within a form, I simply want to set a date to todays date:
<script type="text/javascript">
function initdt(mf) {
var t = new Date;
[code]...
This works perfect on a form I create, but sadly I must use a form within a pre defined system that uses "01-date" Is there a way around this? A simple way of setting 01-date to t.getDate();
View 2 Replies
View Related
Sep 3, 2010
I keep getting an error message in Firebug in relation to the accordion menu I created. "$ not defined $(function() {"
If the navigation is isolated on its own page, the error does not exist. It only occurs once it is brought into the Store Master page.
Working Version: [url]
Non-Working Version: [url]
The following code is cut from the head in the non-functional page:
You may view the entire code here: [url]
I DID NOT create the code on the aforementioned page. It's an ugly, nightmarish mess (at least to my non-ASP-loving eyes), so please don't hate me for bad form in the body code. The only code that I wrote for this page is the bit you see above and the hrefs for the side nav.
View 1 Replies
View Related
Sep 30, 2010
I am trying to get this function to work, it looks great in theory but I keep getting the error message file is not defined. What have I done wrong?The code is:
<head>
<script type="text/javascript">
function loadXMLDoc(File,ID){
[code]....
View 3 Replies
View Related
Jan 18, 2010
I'm a Javascript newbie and I have not been able to understand the problem in the below code. I have been stuck at it for hours now.
whenever I click the "Preview Dialog" button, I get the following error in firebug: callPublish is not defined code...
View 2 Replies
View Related
May 22, 2011
I was working on a site for A/B Testing and on the new page I was using to test with I installed "Nivo Slider". Everything looks and works great the only problem is when I change the region from US to Canada, that is when I begin to see errors like these: [url]
What you should be seeing is that each of those long columns are cut shorter to make everything look uniform but it seems when I uploaded the jQuery something is now off and causing things to go crazy.
Site A: [url] (how the Canada site should look as well)
Site B: [url] (testing site)
Site C:[url] (Canada site)
Again, I installed Nivo slider and do see an error related to it but dont think it is the problem necessarily. I dont know you guys would no better than me. I originally had a problem with it but did the no conflict thing and changed the $() to jQuery()
View 2 Replies
View Related