Windows Popup Without The Microsoft Stuff
Mar 29, 2007Is it possible to have a pop up window without the Microsoft stuff at the
top?
Is it possible to have a pop up window without the Microsoft stuff at the
top?
I made a pop up window for my site for my Admin Controls and the pop up javascript window works for every browser but IE7 (Not that I'm surprised)...
How to make a fixed pop up window that will work for all of the browsers out there right now.
I have a parent window that potentially open a lot of pop windows(let call
them children windows) from different page on the parent. Over time, those
children windows can add up on the screen if the users don't close them
manually. What I'm looking to do is I want to have all the children windows
closed itself when the parent windows is closed by either X it out or close
by the window.close method in the parent window. I know every children
windows has it own window name. What I could do here is look for those
children window names then close it using a script in the parent window. But
the challenge is, I don't know which windows are opened when the user about
to close the parent window. I would get a object not found error if i
reference a none existent children window name. I want to avoid that error.
I want to know all the available pop up windows at the time when the parent
window is about to close then close them out. Does anyone have some ideas?
I've spent hours adapting various scripts from this forum, but haven't
been able to make anything work yet. Any help would be appreciated.
What I want seems simple - which is why I can't believe I can't find
it in the archives.
I want to create a simple dropdown - so that selecting any item will
force a popup window to appear. I need to control the size and
atributes of the popup window (ie the popup window will show sample
colors / patterns of a product).
I've a problem I hava a page with different popup windows, when I hit a link the first one pops up and with the first open i would like to hit the second link in the parent page so the second links pops up a window in the first popup. The way I have it now is working but with each link the
size of the popup window should be different but that doesnt happen how can I solve that problem?
this is my code:
I have a project for a beauty salon/spa in which a number of pages have pop-up windows with nothing but price lists.
I'm using a simple script for the new windows:
The pop-up windows work, but the browser (both Firefox and Safari) is resizing the image down to fit the window size of 600 x 800. All the images are 600 px in width, but some are as tall as 1400 px. Right now the pop-ups are just images (gifs). Do they need to be HTML, or is there a way to "turn off" the rescaling so it will display the images at 100%?
In the past I write the jave script to popup windows in the browser for tell our visitor about news & event but now most of browser will block popup by default. Someone can show me an example about the professional popup with out the block.
View 4 Replies View RelatedI'm trying to make a window popup in a 250x250 window.
<script language="javascript">
function MyOpenWindow() {
var MyURL = 'http://www.xyz.com/developers/pops/categories.php'
var MyWindowName = 'GoldFiles Categories'
var MyWindowOptions = 'width=250,height=250'
window.open(MyURL, MyWindowName, MyWindowOptions);
}
</script>
<a href="javascript:MyOpenWindow();">Site Categories</a>
I'm not terribly familiar with JavaScript, and was hoping someone more experienced could tell me if this is correct, and if so, were do i put this code? Also, I'm trying ot mix it in with a PHP echo(' <script> '); php code block.
I'm trying to do what they are saying at this link: [URL]. First, they tell me to do what is listed under the "Scripting Disabled" section:
<a href="file.htm" onclick="window.open('file.htm'); <br>
return false;" target="newWin">
Then, down in the page in the "The Perfect Pop-Up Script" section it has a large script for me to use. I'm wanting to use it at my page [URL]. I want to make each of my images pop up windows like at this site: [URL] So, are they telling me to use the html in both sections? Where would I put the html in the top section vs. the script in the lower section?
Do I have to make another webpage and just paste the script in there and then call it, like they say below: "To call the function you would use the following code:"
<a href="my-pop-up-window.htm" <br>
onclick="popUp(this.href,'console',400,200);return false;" <br>
target="_blank">This is my link</a>
I'm a bit confused where I am supposed to inserting the page name for the popup that I want to pop up vs inserting the pagename for the script page that I guess I have to make. So what are the steps that I would take to do all of this?
I have one page with <select> list in it, which opens a popup with
another <select> list. Those two list are linked... When I select
something in the list that is in popup window and confirm the selection
(by pressing button), I call a function that fills the "parent" window
and forces popup to close. All this is accomplished by directly
accessing another list:
for(var i = 0; i <= selLength; i++){
name = parent.window.opener.listValues.options[i].text;
value = parent.window.opener.listValues.options[i].value;
self.document.form1.itemList.options[i] = new Option(name, value);
}
And this doesn't seem to work with IE. With Firefox is OK.
Any ideas how to make it work with IE?
I want to know if I can open an another page or a form in popup using jquery?
View 1 Replies View RelatedI have a client which would like to use Adobe Contribute to maintain their website, and the website requires popup windows (for larger images) or a lightbox feature. The problem is how do I make images popup into new windows, without toolbars, etc. I would prefer lightbox than popup windows, if possible. How I can do this, so the client can add more images, as they maintain their website? For anyone that hasn't used Contribute, you can only edit <a href="page.htm"> and nothing else for the links, so it means onclick can't be added to <a href="page.htm">. The only way to add a link is to click on a button in the tools.
View 1 Replies View Relatedfor opening a PopUp Window I use the Popup.js from Adrian "yEnS" Mato Gondelle. Adrian has written a function to center the popup by calculating the window height/with and popup width/height as well ans putting the coord in the middle of these coordinates. Like this:
function centerPopup(){
//request data for centering
var windowWidth = document.documentElement.clientWidth;
var windowHeight = document.documentElement.clientHeight;
[Code].....
My Problem with this is, that it only centers the Popup correctly if you haven't scrolled down the page. What I need is a jQuery way to get the height of the actually scolled position to calculate the correct value for the top css parameter as well, to get my PopUp every time in the correct top/left position without having this scrolling bug. Is there a way in jQuery how I can get the scrolled down coordinates? I need the height of the scrolled position and by adding the half height of the screen resolution I have the css top value which I need here.
This is my first post to this forum. When a button in parent window is clicked multiple times, more than one popup window is opened. This problem is occurring in linux firefox and mozilla browsers. In windows the code is working fine. Is there any option in window.open() method to open a popup window once. s there any known issue regarding this case?. Need a workaround to fix this issue.
View 1 Replies View RelatedI read about window object and specifically about creating popup windows. The code below produces a popup window when a link is clicked:
Code JavaScript:
var Survey =
{
init: function()
{
var surveyLink = document.getElementById("survey");
Core.addEventListener(surveyLink, "click", Survey.clickListener);
},
[Code]....
I would like to add a "Close Window" button on survey.html page and when that button is clicked, the window would close. How do I do that? I know that I should use (reference to popup window).close(), but how and where do I attach even listener to that button?
For some reason pop up windows are no longer working on my pc. And no, I
dont have any popup killer installed. The problem is across all websites I
look at on my browser.
Hey JavaScript gurus!
Here's a weird one:
If I check (with an alert) this line:
vStrDate2 = vDate.toLocaleString();
I get: Saturday, August 14, 2004 7:57:30 PM (as I should)
but this operation...
vStrDate = vDate.getMonth() + "/" + vDate.getDate() + "/" + vDate.getYear();
Avails me: 7/14/2004 (!?!?!?!)
I check my computer date and it definitely believes (as do I) that it is
August. Any idea why getmonth() thinks it's July?
Also, is there an easier way to get this American date string?
im really new to Ajax and JavaScript, but I did a lot in ActionScript 3 and C#.
[Code]...
... like if you input text, you can't select it by sweeping it with the mouse, or shift-left arrow. Which I thought were out of the box features.You can see it in the bottom right corner of the map here I don't think the autocomplete has anything to do with it (I disconnected that and nothing changed) but maybe because it gets made by innerhtml?
View 12 Replies View RelatedI just came back from a trip to find that my teacher has given us a new task,and it has javascript in it, witch is something I have barely been working with since we have not been given any tasks with it before.And the worst part is that I only have 2-3 days to do it.The task is a site that must has a javascript image gallery with thumbnails and when you click the thumbnail the image in it must fill the frame of the images in the gallery.. (Don't know if any one gets that )Adding a picture to this post. http://bildr.no/thumb/654358.jpeg
View 1 Replies View RelatedGot some problems with a php script that outputs a jQuery script.
The purpose of the jQuery code is that when you select an item from the select field that other items need to be disabled(works correct in all conditions) and that at the same time text in corresponding divs' text are altered.The thing is that the script basically works.. however when you've made a selection only the disabling works everytime but the divs are only updated once, so you need to refresh the page if you want to do it again..[code]
I'm working on a list with doctypes and fases. There are n types and n fases. The fases can be ordered by dragging them.
example:
[btn Append new type]
- a
- a.1
- a.2
[Code]....
I have a fancybox (lightbox) to append new doctypes and fases, but after appending either one, the functions dont work anymore (dragging and opening the lightbox of the appended doctype.
The HTML gets appended without a prob. But it seems that the initiation of the draggable <ul> and the lightbox links doenst work.
I tried adding Javascript to re-initialize the functions, but this doenst work.
How can i fix the prob that appended links with the right class show the lightbox when they are clicked, and how do i make an <ul> draggble after one is added?
p.s.
function appendFase(docTypeId,appendThis){
$(docTypeId).append(appendThis);
$(docTypeId).sortable('refresh');
}
gives error's...
Code:
h=0;
if (h > 0)
{
function hidestuff(){
document.getElementById('example').style.visibility = 'hidden';
}
[Code]...
If i want the function "show stuff to execute only when that variable is 0, what event should i use?
Here is what I have thus far...
[Code]...
But as soon as I throw in the onComplete stuff fancybox fails to work.
I'm looking for some javascript that'll toggle hidden content. As I'm not experienced in this, I want something which is cross-browser reliable - and I'm having trouble finding something suitable. Jquery has been suggested as an option... and I found something which appeared to do the job, apart from not validating as it uses a span to include the toggled content - which is a problem as I need to included block level stuff to be hidden. Also, it came as two buttons - show and hide - and I'd prefer a single button, or preferably a normal html link.
View 6 Replies View Relatedbelow is clickunder code , but it open under windows when visitor click everywhere on the pagei need it be speacial for links , whenever visitor click on speacial link , it opens windows
<SCRIPT LANGUAGE="Javascript">
function PopShow3() {
CookieTest=navigator.cookieEnabled; if(CookieTest)
[code]....