HTML - Openning In A New Window
hai i made a shotcuts.htm file to navigate to different folders in my PC. i created my own buttons for that the code is like this
<OBJECT ID="objShell" CLASSID="clsid:72C24DD5-D70A-438B-8A42-98424B88AFB8"> </OBJECT> <! <META HTTP-EQUIV="refresh" CONTENT="1"> <SCRIPT LANGUAGE="VBScript"> Sub CancelScript Self.Close() End Sub </script> <DIV ALIGN=center> <script language="JavaScript"> <!-- date=Date() document.write(date) //--> </script> </DIV> <body background="G:\sample.jpg"> <DIV ALIGN=center> <h4>SHOTCUTS TO FILES AND FOLDER IN MY PC</h4> <button onClick="window.location='f:\entertain\songs\audio\tel'" style="width:317; height:25" target="_blank">tel songs</button> <br> <button onClick="CancelScript"style="width:317; height:40">CANCEL</button> <br> </DIV> </BODY> <DIV ALIGN=right> <font size="2" color="blue"> only for my PC</font> </DIV> it is working fine.... when i press the button it is opening the window....... but it is choosing existining window. my requirement is to open in a new window.... could any one please post that code..... i have another doubt if time u have please reply ( what is <OBJECT ID="objShell" CLASSID="clsid:72C24DD5-D70A-438B-8A42-98424B88AFB8"> </OBJECT> ) what is this mean....... 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 all, I have two html file (first.html and second.html) i called the first.html from batch Command file, then the batch file calls the second.html file. what i want is that while loading the second.html it will close the first.html using script. If its a parent then i can use top.close() or parent.close() but its not a parent window. Here no parent file. please help me to do this. Thanks Jay I have constructed an html window within a window thusly: <object type="text/html" data="x/FE-000-EN.html" style="width:460px; height:800px; margin-left:20px;" width="24" height="24"></object> on the same page outside of that window I would like to place buttons which change the content of the window within a window. I use a basic hyperlink button, to click this link below and change the content of the window above I...? <a href="001.htm">001</a><font color="#FFFFFF">: S.S.H.U.T.</font><br> Thanks for your assistance =) You may view the complete site here if needed: http://fragmentearth.netfirms.com/ Hi, I have a java script function like this to open one child window form main window. Its working properly. function billingMain() { top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/billingMain.jsf','window1', 'width=950,height=400' +',menubar=0' +',toolbar=0' +',status=0' +',scrollbars=1' +',resizable=0' +',location=0') top.consoleRef.document.close() } But when my child window opened, i want to open another child window from previous child window. and here is the script follows for this, function UB92Main() { top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/claimInformation.jsf','UB92', 'width=450,height=250' +',menubar=0' +',toolbar=0' +',status=0' +',scrollbars=1' +',resizable=0' +',location=0') top.consoleRef.document.close() } here the second child window is not opening. How to resolve this. Thanks, Vinutha. Hey! This is my first post here btw. I want to ask silly thing: I need to make a simple POP UP window as link from an image. Can any1 explain me this thing, using easy words, please don't give me links to other websites, I've been everywhere cheers, ne3ga There is this website and she shows her art in a thumbnail and then when you click on it, it gives a description of the images along with the image in a pop up window. Does anyone have the code to do this? here is a link to one of them: http://glowstickdog.com/images/portfolio/im_you.php How do you create a link for a new window to pop up, and have it be smaller then the original window? I have the window, i just need a link to make it pop up in a smaller size. Thanks Hey i need a bit of help, how do i have a thumbnail link to a new page and have it pop up smaller then the original window? Hello, and thank you for granting me access to such a wonderfull Forum. Well here goes .... I have a code snippet which happens to be an affiliate banner. Once inserted into the web site code it is effective however: when clicked from a viewers perspective it engages as a 'pop-up' opposed to a new window (which is what i need). I am not yet wise in the ways of html yet but have just chosen 'blank' in DW to set that on other objects. This does not give me that option though - Im sure its just a matter of inserting target="_blank" somewhere, but I cannot figure out where. Can someone please tell me how to fiddle with this code to make it open in a new window instead of a pop-up? : <div class="style33" id="idALTxCOMxxJOINxFORxFREExx" style="position:absolute; top:2095px; left:140px; width:728px; height:90px; z-index: 0;"> <object name="cm728doschicas" id="cm728doschicas" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="728" height="90"> <param name="allowscriptaccess" value="always" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="transparent" /> <param name="movie" value=http://banners.alt.com/banners/alt/27066/cm728doschicas.swf?go_url=http://alt.com/go/g1003239-ppc /><param name="quality" value="high" /> <embed name="15671_27066_175x131_01" src=http://banners.alt.com/banners/alt/27066/cm728doschicas.swf?go_url=http://alt.com/go/g1003239-ppc quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="728" height="90"></embed> </object> <script language="javascript"> document.cm728doschicas.SetVariable('go_url', 'http://alt.com/go/g1003239-ppc'); </script> </div> Thank you so much hi there, does anyone know if you can open a new window in an already opened window? i need this to be done on my website, a script would be superb as i can't seem to find any online! many thanks Ok I was just informed that on our companies site that there is a new window that pops up when a link is clicked. This is supposed to happen but the one thing I am trying to figure out is that the new window is rather small and the customer has to always enlarge it. They are using IE. I have tested it with IE7 with the same results as reported but it has also been tested with FF and SeaMonkey and the new window is large. Is this an IE thing, perhaps a setting or do I actually have to add something to my CSS/HTML to account for this? Thank you for the help. When using <a href="" target="_blank"> is there a way to specify the size and title of the new browser window? Is there a way to get rid of the browsing buttons as well so it's just a pop-up window...? Or is there another HTML way to do this? 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. I have read a bunch of stuff on this and checked the 14 pages, but I am getting confused. Will I be able to have my site open up full size according to the setting of the user computer by added a script to my site pages? TIA I have a link that needs to open in a new, smaller window. I have the target="_blank" attribute set but the window opens at full size. I know that some people advise against opening links in a new window, but I need this one to do so. Any help greatly appreciated. Hi, i am trying to create a link that will take the user to a new window that doesnt have a url text box, so the user wont know where he/she is going. i think it would be like a pop up window, but i am not able to do it. i tried different targets like: <a href="http://www.google.com" target="_blank">Haga Click Aqui para ver Presentacion</a> i dont want the person that clicks on it, to see the on the top of his/her window http://www.google.com ANY ADVISE WILL BE REALLY APPRECIATED... Thank you Avi Hi, can any one show me how to change this HTML to make the link open in a new window? I am new to HTML and cant see which part selects how it opens. HTML Code: <!--- begin Howdens.com dropdown ---><form action=" " method=" GET " id=form3 name=form3><table border=" 0" cellpadding=" 1 " cellspacing=" 0 " width=244><tr><td bgcolor="#ffffff" align=" center " ><a href=" http://www.Howdens.com "> <img src=" http://www.howdens.com/i/link2us/small-howdens-stack.jpg " width=244 height=76 border=0 alt="link to Howdens.com"></a><br clear=all><SELECT NAME="URL " SIZE=1 onChange="window.open(this.options[this.selectedIndex].value,'_top')"><OPTION selected="choose one " >choose one<br><option value="http://www.Howdens.com ">Howdens.com</option><option value="http://www.howdens.com/kitchens/">Kitchens </option><option value="http://www.howdens.com/appliances/">Appliances</option><option value="http://www.howdens.com/joinery/">Joinery</option><option value="http://www.howdens.com/bathroom-cabinets/">Bathroom Cabinets</option></select></td></tr></table></form><!--- end Howdens.com dropdown ---> Thanks for any help. I want to have clickable picture that brings up another little window where I can have the full size image with also being able to add details about the image beside it but I want the window not another full-size website sized window, I just want it to fit the image and extra text beside it. So basically a restrcited sized window to pop up. Anyone know the code for that please? |