rolf5th 0 Posted December 29, 2014 Report Share Posted December 29, 2014 I want to hide the real URL in the address bar by using frameset, I saw a thread with this code Here is the v4 code:ui text box("Url", #url)load html("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\"\"http://www.w3.org/TR/html4/frameset.dtd\"><HTML><HEAD><TITLE>A simple frameset document</TITLE></HEAD><FRAMESET cols=\"*\"><FRAMESET rows=\"1, *\"><FRAME src=\"about:blank\"><FRAME src=\"{#url}\"></FRAMESET><NOFRAMES>frames not supported</NOFRAMES></FRAMESET></HTML>")John but it only display blank page. I remove <FRAME src=\"about:blank\"> but still blank page. What I want to achieve is for example display google in browser but display different from the address bar.Can someone make a working code for me. Thanks Quote Link to post Share on other sites
Edward_2 85 Posted December 29, 2014 Report Share Posted December 29, 2014 I always try this first before i ask a question. https://www.google.ca/search?q=<FRAMESET http://www.sitepoint.com/web-foundations/frameset-html-element/ http://www.echoecho.com/htmlframes02.htm Quote Link to post Share on other sites
rolf5th 0 Posted December 29, 2014 Author Report Share Posted December 29, 2014 I always try this first before i ask a question. https://www.google.ca/search?q=<FRAMESET http://www.sitepoint.com/web-foundations/frameset-html-element/ http://www.echoecho.com/htmlframes02.htm I actually search google before I asked, I even used site:ubotstudio.com "frameset" search operator just in case there is another thread with the same problem. I'm just wondering why this code seems not to work but seems to work with others. ui text box("Url",#url)load html("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\"\"http://www.w3.org/TR...frameset.dtd\"><HTML><HEAD><TITLE>A simple frameset document</TITLE></HEAD><FRAMESET cols=\"*\"><FRAMESET rows=\"1, *\"><FRAME src=\"about:blank\"><FRAME src=\"{#url}\"></FRAMESET><NOFRAMES>frames not supported</NOFRAMES></FRAMESET></HTML>") When I tried it, I got blank screen, like the attached image! can someone check whats wrong? http://postimg.org/image/czdbjocob/ or maybe i misunderstood the purpose of the code! Quote Link to post Share on other sites
darryl561 177 Posted December 29, 2014 Report Share Posted December 29, 2014 You were trying to show google in the iframe. Google somehow prevent they're site from showing in iframes. Enter http://bing.com in the textbox and it works. Cheers. 2 Quote Link to post Share on other sites
rolf5th 0 Posted December 29, 2014 Author Report Share Posted December 29, 2014 You were trying to show google in the iframe. Google somehow prevent they're site from showing in iframes. Enter http://bing.com in the textbox and it works. Cheers.Jesus!!! Why did I go for google to test the code!! Thanks a lot! That fix it! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.