Matt Posted January 9, 2006 Share Posted January 9, 2006 On my site (Artemis Fowl Confidential) I'm going to add a layout changing feature. It's in frames, so I was wondering if anyone had a piece of code that does the following:- When you click the image, a new full size window comes up with a certain page in it,- The old page exits itself.Has anyone got any code that could do this?Thanks for you help in advance,Matt Link to comment Share on other sites More sharing options...
aspnetguy Posted January 9, 2006 Share Posted January 9, 2006 You just want to open a new pagein the frame??? Or have the layout change but keep the same content?If it is the second choice then you need a server side lanaguage like ASP to do this. Link to comment Share on other sites More sharing options...
Kcarson Posted January 9, 2006 Share Posted January 9, 2006 You just want to open a new pagein the frame??? Or have the layout change but keep the same content?If it is the second choice then you need a server side lanaguage like ASP to do this.<{POST_SNAPBACK}> It sounds to me like he wants the image to link to a new page that is outside of the existing frames. Or to put it another way, when the user clicks on the image, it doesn't open it up inside the frame, but opens it up in the entire window.Matt, Is this correct? Link to comment Share on other sites More sharing options...
Matt Posted January 12, 2006 Author Share Posted January 12, 2006 Yeah, but I also want the current window to close then they click on it. Link to comment Share on other sites More sharing options...
aspnetguy Posted January 12, 2006 Share Posted January 12, 2006 use this <a href="somepage.html" target="_parent"><img src="img.gif" border="0" alt=""></a> This will open it in the same window but takes up the whole window.This is valid HTML 4 but not XHTML. Link to comment Share on other sites More sharing options...
Matt Posted January 17, 2006 Author Share Posted January 17, 2006 Thanks... I just need it doing for now, I'll figure out ways of validating it at a later date.Thanks,Matt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now