HTML - Popup Doesn't Open In Ie
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 Similar Tutorialshai, 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 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. Hi 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? I have a pdf file that is the catalog for my business. Is there a way to make it so that i can create a link that says "view" and if people click on it, then the standard "FILE DOWNLOAD" box does not come up... and it just opens the file in a separate window.... and have a "download" link where if they click that... then it just downloads the file. I know that i am weird... but i think it would be something that not everybody has... and something that would be kinda cool. Thanks in advance.... Mark We have an web application that currently uses standard javascript popups. If we change them to open in a new tab instead of popups, will popup blockers still treat the opening into a new tab as a popup? Thanks, s-one Hi, sorry for my english. I'm searching a script to make a particulary popup. In this link there is an example, is flash popup with spot Microsoft. LINK EXAMPLE POPUP I use this code but I search the code for flash popup not for img popup Code: <script> Crea(); function Crea(){ var div = document.createElement('DIV'); div.id='Banner'; div.style.position ='absolute'; div.style.top = "250px"; // Distanza dall'alto div.style.left = "200px"; // distanza da sinistra div.onclick = Chiudi; div.innerHTML='<img src=popup.jpg>'; // Percorso immagine document.body.insertBefore(div, document.body.firstChild); } function Chiudi(){ var div=document.getElementById('Banner'); div.style.display='none'; } </script> Thanks Hello! I am in need of some assistance with pop-up windows... Thisis an example of the code I am currently using for pop-up windows (below), it opens a new window that displays an image and it works great!... Only now I require the same format (including the text underneath), only instead of having the pop-up windows display images, I need them to display a body of text in html format.... Can anyone please assist me with this? Thank you!!! <center><html> <head> <style type="text/css"> div.img { margin:2px; border:0px solid #0000ff; height:auto; width:auto; float:left; text-align:center; } div.img img { display:inline; margin:3px; border:1px solid #ffffff; } div.img a:hover img { border:1px solid #0000ff; } div.desc { text-align:center; font-weight:normal; width:120px; margin:2px; } </style> </head> <body> <div class="img"> <a target="_blank" href="klematis_big.htm"> <img src="klematis_small.jpg" alt="Klematis" width="200" height="150" /> </a> <div class="desc">Add a description of the image here</div> </div> <div class="img"> <a target="_blank" href="klematis_big.htm"> <img src="klematis_small.jpg" alt="Klematis" width="200" height="150" /> </a> <div class="desc">Add a description of the image here</div> </div> <div class="img"> <a target="_blank" href="klematis_big.htm"> <img src="klematis_small.jpg" alt="Klematis" width="200" height="150" /> </a> <div class="desc">Add a description of the image here</div> </div> </body> </html> 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> uhh hi!.. i'm very new here and i'm relly hoping that you guys will help me.. My popups work great on firefox.. but when i try it on explorer it won't work. i really need to fix it coz all my friends' browsers are explorer... site is freewebs.com/bamc05 it's on the members page... Thanks! Hi! I'm creating a website for my portfolio for all the videos that I have created during college. I have some hotspots on an image that I would like to use for the site, but I don't know how to create them as pop-ups (whenever I click on the hotspots the opened window just gets redirected to another page). I would like for these hotspots to open up a seperate window with my videos in them, and I'd also like the popup window to be a certain size. Can anyone let me know how to do this? Thanks. Hey, I wanna know how to change a URL in a Popup and what I need to do. say I have a website domain name "mrcrans.com" and I made a popup it would show "mrcrans.com" is there a way I can make it so it says another url? thanks I want to put a link on my page, and when the viewer puts the mouse over, I want there to be a choice of two links to choose from and click. What's the best way to do this and is there any disadvantage to the method? Hello, I need some help with showing a pop-up in an application. This is a part of the HTML: HTML Code: <?xml version="1.0" standalone="yes"?> <Legendgroup> <Name>AERO</Name> <DisplayName>Aerorama's</DisplayName> <ShowInLegend>true</ShowInLegend> <DefaultVisibility>true</DefaultVisibility> <Legendentries> <Legendentry> <Name>AERO11</Name> <DisplayName>Aerorama's 2011</DisplayName> <MinScale>0</MinScale> <MaxScale>2501</MaxScale> <ConnectionName>Spatial</ConnectionName> <TableName>AERORAMA</TableName> <WhereClause>Where EXPIRED is null</WhereClause> <Tooltip>Toon Aerorama: <%.RECORDINGDATE%></Tooltip> ------------------------------------------------------------------ <ShowInLegend>true</ShowInLegend> <DefaultVisibility>true</DefaultVisibility> <IsRaster>false</IsRaster> <DisplaySymbology> <Color>RGB(0,165,0)</Color> <Font>WebDings</Font> <FontChar><![CDATA[µ]]></FontChar> <TextSize>10</TextSize> </DisplaySymbology> <HotspotSymbology> <Color>RGB(231,99,231)</Color> <Weight>3</Weight> </HotspotSymbology> </Legendentry> </Legendentries> </Legendgroup> I can select the symbol and want to open a new window (pop-up). In the table AERORAMA there is a column named PATH and contains this kind of info: \\st001b\Data\GIS Fotos\Fotos\Aerorama\zuid\BopZ_0004.html It's a path on some internal storage drive. I want the file above to be openend in the new window. How can i alter the HTML code above to make this happen? I thank you already! Marteijn Hi, I'm having an issue with my website.. I can' t open my popups anymore. If you click on any of the pictures you will see that nothing happen. http://bridge.narbonne.assoc.pagespr...animations.htm I'm not a webmaster, and this is a old website... Maybe I guess it needs some modifications in the code? This is javascript... Thank you for your help. Cheers Hi Guys/Girls, Im in a sticky situation i have been searching the web and forums for a tutorial or example on how to create a popup box when the mouse cursor glides over it. what i want to achieve is something like this if you can please browse to http://www.uncle-buck.co.uk/Need-Mon...ncle-Buck.htm# if you hover over "See representative example >" you will see a popup box appear i want to achieve just that im not fussed on the color etc at the moment i ideally would like to get the functionality working correctly and then make it look nice later. if someone can help me i really would appreciate or even better if you know of or have seen a tutorial based on this then please do share it with me. Hope to hear from someone soon. Thanks Hi it is possible to have a pop up appear when the mouse is passed over an image/link Also is this code complecated code because im only a novice. thanx. hello, how can I create a full screen pop up like the boss panic button on www.workoplis.com the code i saw was Code: <a href="javascript:void(0);" onClick="fullScreen('http://www.workopolis.com/boss_button.html');" class="nav2off" target="_top">Boss Panic Button</a> thanks in advance.. This is a real newbie question. I'd like a one of my links to be a popup into a smaller window w/out the File, Edit, View, Address bar, etc. I can do it with java like win = window.open(blah blah blah) but can I do it w/just HTML? |