Forum Moderators: open

Message Too Old, No Replies

how i open specific page in frame through a link

little part in my web ... need some help [=

         

barak0076

2:57 pm on Jan 7, 2009 (gmt 0)

10+ Year Member



hey ^^

ok i have a little problem in HTML.

i have 4 pages "index" , "side" , "page1" , "Gallery"

"index" is page with 2 frame (side and main..).
in the side frame there is the page "said" that have links to "page1" and to "Gallery" that open in the main frame("..target="main" ..").
in the main frame, when i open the web page there "page1"
in the "Gallery" i have links to pictures that connected in a row like that :
image1--link--> <--link--image2--link--> <--link--image3--link-->...
and in each page of image there is a link back to the web ("index")

my prublom is that when i click the link back from one of the images pages, it open "page1" in the main frame and i wont it to open the "Gallery" in the main frame.

someone can help me?

tedster

7:16 pm on Jan 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello barak0076, and welcome to the forums.

Have you given the frame where you want the page to open a "name" and "id" attribute and used that particular character string as the target attribute for the link?

You may want to refer to the W3C page about frames at [w3.org...]

The W3Schools site has some interactive pages that let you easily play with code changes to get a fell for how various approaches work - see [w3schools.com...]

I'm assuming here that you have coded the "back" link. If you are speaking about the back button, that behavior is controlled by the browser.