Jive Posted March 27, 2007 Share Posted March 27, 2007 Hi peeps Ok, I know this is going to sound really stupid but I've been looking for a while now for the solution and have googled a fair few times but to no avail I've got a link on a web page that links to another page, the page that I am linking to is a basic html page with a simple table, 1 column with 3 rows. What I want is the linked page to open but with a fixed size approx 600w x 900h and for the life of me I can't find the code to force this to happen. If someone could either point me in the right direction or let me know what I need to put in the code that would be fantastic and will get a big from me Link to comment Share on other sites More sharing options...
SMiFFAD Posted March 27, 2007 Share Posted March 27, 2007 you want a pop up window... the only time ive ever used one was in my dreamweaver training I know its easy..... just cant remember off the top of my head how you do it though. If you have DW it will be lurking in the help files somewhere. ill have a look later. Link to comment Share on other sites More sharing options...
Jive Posted March 27, 2007 Author Share Posted March 27, 2007 Yep that's it, a pop up window but only when the user clicks on the link. Yep, I'm using Dreamweaver and I've got the bible as well and I still can't flipping find it, which is why I've come here to people who know Link to comment Share on other sites More sharing options...
SMiFFAD Posted March 27, 2007 Share Posted March 27, 2007 link text Try that... but replace the dumb links/names Do a search on dw help for "pop up window", thats where i got it from and it works: http://www.asdesignsweb.co.uk/pop_up.html Link to comment Share on other sites More sharing options...
Jive Posted March 27, 2007 Author Share Posted March 27, 2007 Yeah I've done a search through just about every document I can think of, including the bible and still no joy Ok, so far so brilliant and thanks for your help, another question for you, probably should have said this first so apologies. The link that I'm wanting to code for is an image, so almost like a gallery except the image will be embedded in the table. So the user will be clicking on a thumbnail of the person and the page will "pop up" - now I've played around with your code trying to get the image to work properly and I'm still struggling. By the way, this is for an internal site so not linking to the outside world. Again, if you could give me some pointers on code that would be brilliant Link to comment Share on other sites More sharing options...
Pot Posted March 27, 2007 Share Posted March 27, 2007 Substitute : For : Link to comment Share on other sites More sharing options...
Jive Posted March 27, 2007 Author Share Posted March 27, 2007 Cheers Pot Gotta say that I'm getting confused now as it's still not working, grrrrr who'd want to be a web developer I'm gonna post the link I've got so far, although I'm sure I've completely mucked it up oh and stop laughing at my complete and utter numptiness The first anon.gif is the thumbnail and the second link anon.htm is the web page with the table on it that I want to open up with 600 x 900 - I changed the size so i could tell it was working as it would just be a small size window. Help me Obi Pot and Smiffad, your my only help Link to comment Share on other sites More sharing options...
Pete Posted March 27, 2007 Share Posted March 27, 2007 Look through these excellent examples. http://www.irt.org/script/window.htm Link to comment Share on other sites More sharing options...
SMiFFAD Posted March 27, 2007 Share Posted March 27, 2007 Just open the piccy in the pop up, you dont need another html page with a table... just make sure your pictures the right size to fit your window. Unless of course your wanting to add text to it etc in which case ignore me Ill have a play with the code and see what i can come up with for you. This what your trying to do?: CLICK ME View the source and youll see how its built. Link to comment Share on other sites More sharing options...
Pot Posted March 27, 2007 Share Posted March 27, 2007 OK... Try this... Put this into the section of your code... Then for the links use : LOCATION OF THE THUMBNAIL Link to comment Share on other sites More sharing options...
Jive Posted March 27, 2007 Author Share Posted March 27, 2007 Ok gents, thanks for all the info and reading your code and link I'm almost getting there but I think (after reading my last post) that I may have misled you. So I'll start again I have a web page built, blah blah blah project blah blah blah at the top, under this is a table with thumbnails of the people in the project. What I would like is for a user to click on a thumbnail and this then opens up another web page which has a very simple table, 1 column with 3 rows, almost like the one smiffad posted, the first row is the name of the person, 2nd row is the bigger picture of the person and the third row is a description of what they do in the project blah blah blah. Hope that makes sense Again, all help much appreciated for your time spent with any help for a complete n00b If I've led you up the crooked path then please feel free to beat me with your PMs Link to comment Share on other sites More sharing options...
SMiFFAD Posted March 27, 2007 Share Posted March 27, 2007 try this again then: CLICK im hitting the hay now so best of luck lol. Link to comment Share on other sites More sharing options...
Pot Posted March 27, 2007 Share Posted March 27, 2007 Do you have the html already done for the page you want in the popup?.. Link to comment Share on other sites More sharing options...
Pot Posted March 27, 2007 Share Posted March 27, 2007 Actually, SMiFFAD's got it spot on from what I can see... Link to comment Share on other sites More sharing options...
Jive Posted March 27, 2007 Author Share Posted March 27, 2007 Yep, that's exactly what I needed, muchograssyass my good friends and here's what I promised. & Smiffad, can you leave that page up for a day or so as I'll not be able to grab the code till tomorrow afternoon or evening. Again, thank you very much for your help, much appreciated! Link to comment Share on other sites More sharing options...
SMiFFAD Posted March 28, 2007 Share Posted March 28, 2007 Yep, that's exactly what I needed, muchograssyass my good friends and here's what I promised. & Smiffad, can you leave that page up for a day or so as I'll not be able to grab the code till tomorrow afternoon or evening. Again, thank you very much for your help, much appreciated! Yeah not a problem, it'll probably still be there in years to come knowing my house keeping! Another useful thing ive found, if you use Firefox, it has lots of usefull plug ins for analysing web pages/css etc. Down load a few and have a play with it. Web pages can be the most infuriating things when they dont work the way they should, and its normally omething small hidden away thats causing it. Link to comment Share on other sites More sharing options...
michael Posted March 28, 2007 Share Posted March 28, 2007 I don't know if it will be of any use to you but I have a small demo page I did for someone ages ago that has some of the stuff you crave, feel free to steal the code: http://www.megaboost.co.uk/old/demo/ Link to comment Share on other sites More sharing options...
Jive Posted March 28, 2007 Author Share Posted March 28, 2007 Yeah not a problem, it'll probably still be there in years to come knowing my house keeping! Another useful thing ive found, if you use Firefox, it has lots of usefull plug ins for analysing web pages/css etc. Down load a few and have a play with it. Web pages can be the most infuriating things when they dont work the way they should, and its normally omething small hidden away thats causing it. :nana: You can take it from the above that it's worked a treat, copied your code around mine, made one small change that I tried to guess and it's flamingtastic, thanks again, your all lifesavers Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now