HTML - Launch New Sized Window From Image?
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 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.......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. I'm setting up a table showcasing a bunch of logos and they're all different widths. I saved the Jpegs as all the same height. I need help coding it though I want the page to look like this but it looks like this when I use this code Quote: <table border="0"> <tbody> <tr> <td><a href="http://www.champssports.com"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/02/champs.png"/></a></td> <td><a href="http://www.ladyfootlocker.com"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/02/footlocker.png"></a></td> <td><a href="http://www.drjays.com"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/02/drjays.png"></a></td> </tr> <tr> <td><a href="http://www.shoecity.com"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/02/shoecity.png"></a></td> <td><a href="http://www.shiekhshoes.com"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/02/sheik.png"></a></td> <td><a href="http://www.finsihline.com"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/02/finishline.png"></a></td> <td><a href="http://www.jimmyjazz.com"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/02/jimmyjazz.png"></a></td> </tr> </tbody> </table> and I don't even know how I would code that green square image that says "thes are some of our retailers" it wouldn't go within that table right? Any help is appreciated! Hi i have a table with a picture within its only cell . How can i lock the size of the table so that it wil not get any larger should a larger image be put in it? I have tried setting the width and height to a fixed value but that does not seem to do keep it fixed. Ideally i would like the image to resize itself to match the maximum values of the table but this i suppose will probably be a good bit harder? 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.. 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> 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 guys. I was hoping somebody can help me with this problem. I have an image that I would click on and it would open in another window, in a larger size. The only way I can presently do this is by using the target="_blank" code but this opens a window with scrollbars and the address bar. I would like just the image. Also with this method I have to use 2 images, a small pic, and a larger version. Is there any way to use just one size image, and have it open in a new window in a bigger size? Please look at this page to see what I would like to do, i.e. clicking on an image and have a pop-up window open up with a larger version of that image. http://www.currys.co.uk/martprd/product/seo/733683 I would appreciate any help with this. Thank you. Hi, I have a background image in my website and I want it to look the same in all window resolutions. However, when I resize the browser's window and I make it smaller althuogh I can see all the contents in the page I only can see a part of my background image. My CSS is like this: Code: body.secondary { background-image:url('images/flowers.JPG'); background-repeat:no-repeat; background-position:right top; background-attachment: fixed; } And if you need it this is the page. Many thanks! Cheers! Hi, Want to open a window without addressbar and menubar with loading image for the button click. i want to c the loading gif right after opening the window. its very urgent anybody help me on this Thanks, 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 been searching around but am unable to find what I'm after... I am currently using the following code to open a new window (the new window needs to be 800x600). It currently does what I want it too. But instead of clicking on the word 'enter' to open the new window, is it possible to make an image do this instead? So when the user reaches the site and clicks the image a new window will open up (but at 800x600, not just a new window). If so I would be grateful if somebody could direct me to the correct coding to use. CSS: #enter { /* border:red solid 1px; */ margin-top:-300px; margin-left:auto; margin-right:50px; height:600px; width:800px; HTML: <a href="index2.html" target=open1 onClick="myRef = window.open('','open1', 'left=50,top=0,width=800,height=600,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars =0,resizable=0,copyhistory=0');"> enter </a> Thanks Tom Hi - I am fairly new to coding but really enjoying it I am trying to create a background image effect as seen he http://www.prada.com/ and http://news.jam-factory.com/ - The background image fits to the window, without distorting the image, and bits are hidden when needed Here is my attempt: http://www.piersart.co.uk/random - but when the window is tall and thin, a black strip appears at the bottom. What am I doing wrong? I don't quite understand how to use overflow, if that is something I should be using. Do I have to use Javascript (to get window dimensions, or resize the image)? If so, how? Many thanks in advance I'm looking for a routine or function that allows for floating popups when the pointer is placed over a hot spot on a client-side image map. Currently there are plenty of sources for code out there that show a popup when floating over a text URL or an IMG URL, but when putting a mouse pointer over an image map the same code does not work. Even when declaring the image map an OBJECT rather than just a basic <img>. So essentially, I want the mouse to hover over an image map, and then have a small pop up of an image show up. Thanks in advance help is greatly appreciated. Hi Can someone tell me how I can stop an image from moving behind a table - next to it - when the browser window is reduced? Here's the page http://www.tall-shiprace.com/2009/04/19/1247/ When I re-size (from the bottom right corner of the browser) the image floats behind the table - to the left of the image. Can this be stopped?? Hello all, I am so stuck , after spending all of last night reading and crawling across google to find coding for my problem, I am still so lost! Basically, I have a webpage which is going to have lots of small clickable images on it, and each image is going to be linked to bring up a pop up window that opens up full screen (without scroll bars, no searchbar, etc, just a window thats resizeable), which will have the image click on as a larger view. I know this is javascript coding, but each time I found solutions across the net, it was usually only for if the page had one image that was going to be made larger. If you click on this site, this shows what I'm after (and click on one of the little images).... any ideas??? Hi there, I have put a youtube video source in dreamweaver, and was wondering if anyone could tell me how i make it so the browser window the video is in clings to the video, i.e the frame is the exact size of the video. Also, however this is done, would it be the same code with images? Thanks in advance, Rob Here is the code <body> <td><a href="<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/NIktYSst2mw"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/NIktYSst2mw" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> </body> </html> 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 |