can anyone help me with a code to remove frames??
when the link is clicked in the first set of frames - i want it to load a webpage but remove the previous frames in the browser when it loads (either through a HTML command attached with the hyperlink - or a HTML command at the start of the new page)
Code:
function makeDatabase() {
outline = new makeArray(16)
outline[0] = new item(false, '<font size="2"><span style="font-family: Arial Narrow"><a title="Go To Our Homepage" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#FFFFFF">Home</a></p>', 0)
outline[1] = new item(true, '<a title="click to learn more..." href="http://www.startermotordrives.co.uk/fishnetproductions/promotion/promotion.html" target="showframe" style="text-decoration: none"><font color="#008000">Promoting Your Business - Why?</a>', "")
outline[2] = new item(false, '<a title="advertising is an essential investment for any business with growth and success in their sight" href="http://www.startermotordrives.co.uk/fishnetproductions/promotion/advertising.html" target="showframe" style="text-decoration: none"><font color="#008000">Through Advertising</a>', 1)
outline[3] = new item(false, '<a title="offer your customers special deals & discounts" href="http://www.startermotordrives.co.uk/fishnetproductions/promotion/techniques.html" target="showframe" style="text-decoration: none"><font color="#008000">Other Techniques</a></p>', 1)
outline[4] = new item(true, '<a title="---------" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#008000">Modelling</a>', 0)
outline[5] = new item(false, '<a title="---------" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#008000">Inexperienced Models Needed!!</a>', 1)
outline[6] = new item(false, '<a title="---------" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#008000">No Experience? Apply / Contact Us</a></p>', 1)
outline[7] = new item(true, '<a title="---------" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#FFFFFF">Products / Services</a>', 0)
outline[8] = new item(false, '<a title="---------" href="http://www.startermotordrives.co.uk/fishnetproductions/examplebook04aug/index.html" target="showframe" style="text-decoration: none"><font color="#FFFFFF">EXAMPLES OF ALL PRODUCTS</a>', 1)
outline[9] = new item(false, '<a title="---------" href="http://www.startermotordrives.co.uk/fishnetproductions/stationary.html" target="showframe" style="text-decoration: none"><font color="#FFFFFF">PRICES</a>', 1)
outline[10] = new item(false, '<a title="Place Your Order Here.." href="http://www.wests.de/gary/stationeryorder.htm" target="showframe" style="text-decoration: none"><font color="#FFFFFF">ONLINE ORDER FORM</a>', 1)
outline[11] = new item(true, '<a title="---------" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#008000">Brochures</a>', 1)
outline[12] = new item(false, '<a title="click to view examples of our designed & printed high quality full colour folded brochures" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#008000">Full Colour - Examples</a>', 2)
outline[13] = new item(false, '<a title="click to view examples of our designed & printed high quality cost efficient folded brochures" href="http://www.startermotordrives.co.uk/fishnetproductions/home.html" target="showframe" style="text-decoration: none"><font color="#008000">Low Colour - Examples</a>', 2)
outline[14] = new item(true, '<a title="Business Cards, Letterheads, Compliment Slips, Labels, Brochures, Flyers, Leaflets, and more..." href="http://www.startermotordrives.co.uk/fishnetproductions/stationary.html" target="showframe" style="text-decoration: none"><font color="#FFFFFF">Business Stationery</a>', 1)
outline[15] = new item(false, '<a title="click to view examples of our designed & printed high quality full colour business cards" href="http://www.startermotordrives.co.uk/fishnetproductions/businesscards" target="showframe" style="text-decoration: none"><font color="#FFFFFF">Business Card - Examples</a>', 2)
setStates()
setImages()
}
that is the particular part of the Javascript code which has all the links in the first of the set of two frames on the homepage
when the
outline[8] link is clicked for
EXAMPLES OF ALL OUR PRODUCTS - like all the rest of the links, it loads in the
second frame - which is what the
target="showframe" command makes happen - and how i want it - EXCEPT for that link, i want it to load a whole new webpage and set of frames which the code for is as follows
Code:
<html>
<title>Professional Design, Photography, Editing & Printing @ FISH NET
PRODUCTIONS</title>
<frameset cols="225,*">
<frame src="http://www.startermotordrives.co.uk/fishnetproductions/examplebook04aug/nav.html">
<frame src="http://www.startermotordrives.co.uk/fishnetproductions/examplebook04aug/page03.jpg" name="showframe">
</frameset>
</html>
but as said in previous posts - if i remove the
target="showframe" command from the Javascript created menu on the homepage - then it only loads the first frame listed in that code for the new page
clicking on the new links in that frame also do not make the pages load in the other frame
i need help plzzzzzzzz!
