HTML - Auto Launch Of A New Window
Hi.......I need to create a webpage (lets call this Page 1) in HTML only that will automatically launch a new browser window pointing to a different URL (lets call this Page 2). I don't Page 1 to redirect to Page 2, I want Page 1 to remain at Page 1.
I can do this in javascript no problem, but I'd like to be able to do it using HTML, as the javascript secuirty dialog popup causes a problem for the users in my company. Any help is much appreciated. Thanks Gav. Similar TutorialsI remember some 6 years back when I used to play around with HTML that there was a code that I could use. What it did was when you closed out the webpage it would cause another webpage to load in it's place. much like what a lot of porn sites do for traffic. Any information would be appreciated. "Lifes a ***** than you go to hell" Hi.. hopefully some one can help me on this.. I'm sure its pretty easy? If I have some text that opens a sized new window (seen at : http://www.newquaysfinest.co.uk/virt...quay-c259.html HTML Code: <a onclick="window.open('http://www.360newquay.co.uk/ripcurl/Tourviewer_boardmasters.html','','width=784,height=489,left='+(screen.availWidth/2-225)+',top='+(screen.availHeight/2-202.5)+'');" href="virtual-newquay-c259.html"><font color="#009900" size="5"><strong>Virtual Ripcurl Boardmasters</strong></font></a><font size="4"><font color="#cc0000"> </font><br /> what code do I have to use with for an image file to launch a similar sized window? example image: images/ripcurl_boardmasters_07.jpg please help Cheers Hello, This is gonna be difficult for me to explain, but here we go. I am wondering how I create a page that automatically (as far as possible) re sizes when you make the window bigger and smaller. So that the use of scrollbar is minimal. Do you understand what I am trying to say? Kind of floating in a way. I am using dreamweaver and am gonna code this site in xhtml strict (right choice?). Have a nice day, helen Ok most of this will probably come out as gibberish but here goes. First a bit of background; I use DVDProfiler to catalogue my DVDs. I have trailers for most of my films stored on my pc. In DVDP there is a notes window that can contain HTML. The data stored in this field is stored along with the film data so I have the code below in there which launches the trailer. This is fine, however, I need to use the notes section for something else so I need another option. DVDP also allows the use of HTML windows but these are independent of the film profiles so it would have to have the ability to read the path from the notes section or some other bit of data that identifies the film (ie the title or UPC) Anyone have any idea how this could be done? HTML Code: <A HREF=F:\TRAILERS\2Fast_2Furious_720p23.976_51_6.5Mbps.wmv>Play Trailer</A> is it possible to have a hyperlink that runs a file.. i.e. if a txt file it will open it through notepad.. if csv it will do so through excel.. Howdy all my website is setup with a frameset.. and i'd like to keep it "intact" (as of the music player). now.. what i like to do is.. Whenever someone accesses a page directly (for e.g. www.mysite.com/hello.html , it is then automatically set to launch the frameset with the "hello.html" page too. is that possible?. im sure it is. can you guys/girls point out a solution. Thanks heaps! 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? 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. Hi Everyone, I have a div element on a page that has as a child a large node (content is "Ajax'd" into this child). The containing DIV has overflow : auto so that the user can scroll up and down the large content. The function of the containing DIV is simply to provide scrollability and the dimensions of that DIV shouldn't affect the dimensions of it's content. When I use an IFRAME to provide the scrollability, resizing the IFRAME is fine. The desired effect is to make this look like an IFRAME in effect, it is in effect supposed to look like a desktop app with a multiple document type pane. This is a crap idea I know, but it's outwith our hands. So we can't radically change the way that the produt looks at the moment. When I use the DIV, then resizing this must cause the browser to recalculate all of the childrens widths which takes ages. Does anyone have any suggestions apart from using an IFRAME for this ? What I want is to be able to resize the containing element without recalculating the widths of all its children. The document div with the scroll bars is held inside a Dojo ContentPane widget with resizable borders hence the noticeable redraw lag when the user changes the size of something. many thanks, Woody. Hi Guys, Does any body know where in html you can change auto-formatting on or off Because previsouly i had turned it on and when i press ctrl + a then ctrl + X and then repaste the code HMTL would automatically format it.... This would be really handy if some one can tell me please... Thanks. <embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=5893249792876905264&hl=en&fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash"> </embed> Here's my question, what do I need to do to make the player from above, to start playing as soon as the web page downloads ? By the way, I am a certified HTML newbie. Another word, please be easy on me. Thanks. Please help, I have taken my website from fireworks and exported it to Dreamweaver. In my editable html text area I can't change the H1 to a h2 tag with out the entire table changing due to colspan and rowspan automaticly being added by either fireworks or by dreamweaver. If I delete the colspan code the table collapes??? The tutorial I am following allows the instructor to change on his with ease. Firworks cs3 and dream cs3 Thanks you in advance. Yes im a begginner...lol Hello i have created a webpage using css/xhtml i have a webpage with div tags for each modules like header content left / right/ main and footer my prb is if i add more para or images in content division the contents hide behind the footer div. its not showing . i want tihs page to extend automatically by conteents. my footer should display end of the contents. my contents maybe a dynamic from db. how can i bring my footer div bring down depend on content extend/???? thanks This is my first time posting here and was needing some help regarding auto refresh in html. I have a web page on our local network for my work that uploads screen shots of security cameras around the different locations. I have the page set to auto refresh and when it does refresh to redirect to another page that has a different set of cameras on it. The redirect works but the problem is after leaving this page up and running for several hours it will get stuck after a redirect and will keep trying to load the page for hours and wont redirect. It usually gets stuck on grabbing one of the images of the cameras, and then has problems displaying the image which then causes the page to sit and try to load for hours with no redirect. I was just wondering if there is anything that i can do for this? I am new to html and dont know much so any help will be greatly appreciated. Dpat Hi: I need to skip from one input field to the next (over 18 fields) *without* using the <Tab> key. Each of these fields is a one numeric string integer (i.e., '0' thru '9'). These input fields will be the <td> elements in a table across 18 columns, with four rows (each of 18 columns). Question: When the user enters a numeric character, how can I automatically 'skip' to the next input field without the user pressing the <Tab> key. Thank you. -Mel A little out of my depth here, and my site is based on a DW template. I have a photo section with thumbnails, that is expanding. I have gone from 10 rows to 30, and in the process broken something. I have compared the code from my original 10 rows to the 30 and cannot find anything that would cause the issue, so am hoping for some help. http://www.uniquefinishing.co.uk/photopages/photos.html On the top horizontal menu, click on "Videos", then "photos". See the table has dropped? This is the only consistent replication of the issue I can find. If you now keep clicking on the same "photos" link on the top menu, it randomly drops and fixes itself occasionally. This happens randomly from any page to the "photos" page. Where should I be looking? can someone help me to write a code to autoclick the following codes? note that the codes are partial codes.. help me to write the solution into a script file Code 1 <table class="bgmain" width="99.75%" border="0" cellpadding="0" cellspacing="0"><tr><td valign="top"> <form method="POST" action="tvalidate.php"> <input type="hidden" name="id" size="20" value="29409"><input type="hidden" name="xfile" size="20" value="29409.pdf"> <input type="submit" value="Download" name="Enter"> </form> Code 2 <div class="smallcurve"> <div class="t"><div class="r"><div class="b"><div class="l"><div class="tl"><div class="tr"><div class="bl"><div class="br"> <div class="smallcontent"> <table width="100%" border="0" cellpadding="5" cellspacing="0" align="center"><tr><td> </ul> </td></tr></table> <center> <form method=POST action=http:blablabla.com/29409.pdf><b>Full-Text Document View/ Download :</b> <input type=image border=0 align=absmiddle src=./images/pimages.jpg title="Click here to view full- text item"> |