Forum Moderators: open
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?
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.