HTML - How To Open Window Popup In Current Web Page
hai,
could anyone plz tell me, how to open window popup in current html page ( that means not in different window) without statusbar,locationbar,titlebar and menubar and scrollbar. Thanks®ards kelvin Similar TutorialsHi all, I am wondering if anyone know how to have a link, once clicked, open a popup window WHILE also changing the page in the existing window. I know how to code them separately, but I do not know how to combine the two actions. HTML Code: <A HREF="javascript:popUp('popup.html')">link name</A> My site currently uses the above code to open popup windows. Any help would be much appreciated, David Here is the case. I have an HTML page that opens a pop-up. Within the popup I need upon click to open a new window. The code is as it should be according to all references: <a href="some url" target="_blank">text</a> Everything is ok with IE6 and IE7 - a new window is being opened. What happens in Firefox is very strange - tabs are shown and the currently opened popup becomes one of the tabs and the new window opens in a new tab of the pop-up window instead in a new normal window. Did anybody encounter the same problem? Any solutions? Hi Guys, I send php emails to myself and when click on the link it opens a new windows. Is there anyway I can force the link to opened in the current window its in ? Hi all, I'm currently using the script below to resize a user's browser window when the site is opened: Code: <script language="JavaScript"> <!-- window.resizeTo(850,630) --> </script> Is there a piece of code I can add to this so that the browser window cannot be resized? This isn't a popup window, just the standard window. Thanks in advance, Baskervillain. Hello All, I am searching for a solution for a friend of mine. He has a new website, that runs perfectly in Firefox, and Chrome, however not in Internet Explorer. He runs IE6 in XP. Yes, i konw, IE6. The issue is that there is a program that will ONLY run in IE6. Upgrade IE, and it will not work. There is no option here. So what I am trying to find is some sort of coding that in Firefox / Chrome, that when that coding is reached (could be a plain .html or .php document) that ie6 will then open up for that page to be viewed. This will enable my friend, to use their new website in either firefox or chrome, however when that program is required, and they click on the link in firefox or chrome, then ie6 will open up and off they go. Any ideas? Chris. Hi, i want to open a new popup window after the link is pressed. HTML Code: <script type="text/javascript"> <!-- function openPopup (url, speed) { var w, h; if (speed == 'dsl') { w = 640; h = 520; } else if (speed == 'isdn') { w = 320; h = 280; } window.open(url, "Garden-Hotel", "toolbar=no, location=no, status=no, scrollbars=no, titlebar=no, directories=no, menubar=no, resizeable=no, width="+w+", height="+h); } --> </script> ... <a href="movies/gh_german_wmv_dsl.html" onclick="window.openPopup(this.href, 'dsl'); return false;">Mediaplayer (nur IE)</a> IE 7 just opens the link in the same browserwindow, although javascript is activated. Anybody knows why? Thanx... p-flash Hello I'm now well on my way to making my first website from html code. Please could someone give me the examples of: 1) Opening a link in current tab 2) Opening a link in new tab 3) Opening a link in a new window Hey I was hoping maybe someone could point me in the right direction. I'm looking for a technique to create a div popup window on a site automatically when it first loads. Its for a client of mine http://www.parkersonponce.com. Next week is their one year anniversary and they want to promote their specials, etc.. for next week on the homepage but the design is so tight knit already I'd have to redesign the site in order to have this so I was thinking to just have a div popup window to display the event ad would be a much simpler way, especially seeingthat they want to take it down after next week. I think this can be achieved with a z-index but I'm not sure the exact technique, anyways any help you guys/gals could give right away would be awesome. Hello all, Can anyone please send me some code to do this. i have an image. when someone clicks it i want a new window to popup, i can set the width and height. and there is a close window link when the window pops up that can close it. i know this is simple but everywhere i go tis so confusing.. any snippets or help?? thanks all!! Can anyone shed some light on why this will not open in a new window to the specified measurements? PHP Code: <span>{literal}<script>function fbs_click() {u="{/literal}{$enc_url}{literal}";t="{/literal}{$title_short}{literal}";window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+enco deURIComponent(t)','sharer','toolbar=0,status=0,width=626,height=436');return false;}</script><style> html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none; } </style> <a href="http://www.facebook.com/share.php?u={/literal}{$enc_url}{literal}&t={/literal}{$title_short}{literal}" class="fb_share_button" onclick="return fbs_click()" style="text-decoration:none;">Share on Facebook</a>{/literal}</span> It opens in a new tab as opposed to what I have specified 626x436. Any ideas welcomed. Geoserv. I have this JS of a popup. Two things I don't understand. First, when I look at it in Dreamweaver It shows in the design window the text ( link to popup ) how can I get rid of that. second question is, How can I get my popup smack right in the middle of the screen istead of top left. Thank you Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script language="javascript" type="text/javascript"> function popitup(url) { newwindow=window.open(url,'http://www.rrc.mb.ca','height=200,width=200,'); if (window.focus) {newwindow.focus()} return false; } </script> </head> <body> <input type=button value="Open Red River Collage" onclick="return popitup('http://www.rrc.mb.ca')" /> </body> </html> What I want is to be able to execute a file from a batch file that will pop up a little window that says something like "installation complete" and then "close this window to continue" and that's it. Nothing fancy like resizeable or scroll bars or menu bars or anything like that. Just need to get the message across. I thought HTML might be the best to do this in because the machines it will run on might not have Java or .NET installed and will not have access to the internet to install them. I know I'm not supposed to just ask for people to code for me, but I thought this was about the easiest thing in the world for you people to do - a lot easier than some of the hard stuff I found looking around these forums. Thanks guys. I noticed that recently my home page is spewing out a noxious popup window! I never set up any popup windows in the code and the word "popup" does not exist in the code of the page. There is one Google adsense banner on the page, one Firefox3 advert link, and two affiliate links. My guess is that it's got to be one of the affiliate links. The popup window address always starts with the same IP # so the various popup are originating from the same place. Is there a quick way to find out the origin of the popup window? I am struggling with a tutorial right now. I have a picture that when clicked on takes the user to another PHP page. At the end of the URL I have added several variables that I send to the new page. Currently the above works. However, I also want to make it so the new window opens in a little pop up window that I can control the size of. I can make that happen, but only if I don't add the variables to the end of the URL. This works <a href="game.php?name=<? echo $gameName ?>&swf=<? echo $swf ?>&width=<? echo $width ?>&height<? echo $height ?>"><img src=<? echo $picture ?> width="310" height="223" border="0"></a> This works <a href="javascript:void(0);" NAME="<? echo $gameName ?>" title="Kesler" onClick=window.open("game.php","Ratting","width=<? echo $width ?>,height=<? echo $height ?>,0,status=0,");><img src=<? echo $picture ?> width="310" height="223" border="0"></a> But combined they do not work <a href="javascript:void(0);" NAME="<? echo $gameName ?>" title="Kesler" onClick=window.open("game.php?name=<? echo $gameName ?>&swf=<? echo $swf ?>&width=<? echo $width ?>&height<? echo $height ?>","Ratting","width=<? echo $width ?>,height=<? echo $height ?>,0,status=0,");><img src=<? echo $picture ?> width="310" height="223" border="0"></a> Anyone know how I go about this? Hi I have attached a file below. I am trying to develop window of that kind can anybody suggest me how to develop that window. Hi. In my HTML page I have a link that open a popup window. I want to send some data to this popup page (Same as sending data to other html page: home.html?DATA1="12"&DATA2="coolman") Is this possible? I recently created this website to highlight a trip to New Orleans. I did something similar for a trip last summer to Africa. As you can see, the pages are designed with small image icons, and you must click on the icons in order to see a popup of the full image. However, when viewing the page on monitors with lower resolutions, some of the images create a flickering effect and prevent the viewer from seeing the larger popup image. Does anyone have any recommendations? Ideally, I'd like to find a solution that doesn't require me to resize the images. After all, they're not that big. If someone can offer a particularly good solution I'd be willing to compensate you for your time, since I intend to create numerous more travel pages like these. Thanks! Hi, i have a strange offset of content in top and left sides in popup windows. in the link below you can see the problem if you click on any little squa http://www.mantasn.puslapiai.lt/ does anybody know any easy solution to fix that? i mean i want to get rid of these white empty spaces in top and left in the popup. i used this script to define the popup size(maybe there's the problem): <script type="text/javascript"> <!-- function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, windowname,'width=805,height=605,left=100,top=200,scrollbars=no'); return false; } //--> </script> thanx for help in advance, i am still very new to this whole html thing.. I have a site that opens a new window to this link: http://www.myvira.com/part_reg/part_...this_event=154 If you click the "Pay Fee" button link, I want it to open the payment window in a new one but it either keeps it in the current window or back to the main window that this all started from (http://www.myvira.com and then click on the "Register for Race" item). Any help would be much appreciated!!! Hello everyone, I've been stuck on this for a good few hours trying to figure it out. At which i have to come to a conclusion that it's a User Browser preference. I was using the target="_blank", and it just keeps opening in a new tab. Anyone have a simple quick solution to make sure it opens in a new window? |