Computer Science Canada

Javascript links in HTML Frameset (navigation)

Author:  GenesisXCS [ Sun Apr 03, 2011 5:57 pm ]
Post subject:  Javascript links in HTML Frameset (navigation)

So, the issue I have currently is to get NAVIGATION FRAMESET working with Javascript links on the navigation frame.

- Index.html (The file containing the FRAMESET Code)
- menu.html (navigation frame)
- logo.html (original output frame)


This line is found in my MENU.HTML:

The Javascript is used to transform the XML file into HTML via XSL.

"<"a href="javascript:link('stock.xml', 'company.xsl');" target="main">Whatever</a>


("<" is to prevent the page to actually loading the hyperlink WHATEVER")

However, this line used in combination with the altogether does not work, albeit working by itself (ie. just running menu.HTML) Is there something wrong with the TARGET Attribute, or do I have to revamp everything altogether?

Thanks!

Author:  Gyonka [ Sun Apr 24, 2011 10:40 am ]
Post subject:  RE:Javascript links in HTML Frameset (navigation)

let me get this straight:

are you trying to load an different web page as an IFrame?


: