Some of our customers gave me a link that opens HTML menu (HTML + JS). I need to use this menu into my application.
The menu locat开发者_C百科ion is something like: http://www.customer_web_site.com/?pagename=HTMLMenu
When I click the above link, I can open the menu and It looks okey, but the problem is when I put it inside an iframe in my page, it looks very ugly in terms of when the user click any link on this menu, only the iframe content get changed and I need the whole page get changed.
How can I accomplish that???
This has to do with the links in the menu, they need to have the attribute target="_parent"
that way the links will normally. I'm guessing you cannot edit the menu code, can you copy and paste it inside your website, that way you don't have to load it as an iframe
?
Actually I am deploying my application in Java Servlet Container, so I used some JSP tag that do the trick, it open connection to the remote url, copy the source code and put it in my page. it is c:import
精彩评论