Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Javascript links in HTML Frameset (navigation)
Index -> Web Design
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
GenesisXCS




PostPosted: 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


("<" 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!
Sponsor
Sponsor
Sponsor
sponsor
Gyonka




PostPosted: 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?
Display posts from previous:   
   Index -> Web Design
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: