when i work at the same tab, everything is fine, but when i ctrl+click one of the link from left site, it will be opened at the new tab alone without "menu.html". i mean i don't want the pages without menu side at the new tab.
is there any way to do that?
here is index html:
<frameset cols="20%,*" frameborder="1">
<frame name="menu" src="menu.html" noresize="noresize" />
<frame name="main" src="main.html" noresize="noresize" />
here is menu.html (left side):
<table>
<tr><td>Link 1</td></tr>
<tr><td>Link 2</td></tr></table>
You can consider HTML frames as a separate browser window i.e. Frames divides the browser window into multiple windows. Thus, when you open a link from a frame into new tab (Ctrl+Click), the new tab will display the html page from the link which is not having frameset.
To achieve the behavior you have mentioned in your question, you need to use frameset in all your web pages. This can be achieved using Master Page in ASP .NET.
Related
Microsoft Edge has "Read Aloud" functionality for PDF files opened within the browser. However, this functionality does not work if the PDF file is opened within a frame in the browser.
Anybody found a solution for this?
index.html:
...
<frame name="menu" src="content.html" marginheight="0" marginwidth="0" scrolling="auto" noresize>
...
content.html:
link
</body>
I reproduced this issue, and also reproduced it with a local PDF. Apparently, Read Aloud feature is currently not supported on PDFs within <frame>/<iframe>. I suggest sending feedback to the Dev Team using Alt+Shift+I to request this feature. For now, you can display PDFs outside a frame if possible to use this feature.
What target="_parent | _top" does in anchor tag?
link
I didn't find any example for it. It would be great if someone could give real example of this attribute.
I've checked various resources including stackoverflow
Are these attribute values deprecated, if not how could we use them now? I'm confused because articles regarding these attribute value only say what it does. but don't give example.
target="_self" This opens an anchor in the same frame. What is confusing is that because we generally don't write in frames anymore (and the frame and frameset tags are obsolete in HTML5) people assume this a same window function. Instead if this anchor was nested in frames it would open in a sandbox mode of sorts, meaning only in that frame.
target="_parent" Will open the in the next level up of a frame if they were nested to inside one another
target="_top" This breaks outside of all the frames it is nested in and opens the link as top document in the browser window.
taget="_parent" is used in the situation where a frameset file is nested inside another frameset file. A link in one of the inner frameset documents which uses "_parent" will load the new document where the inner frameset file had been.
Check this example :http://www.tagindex.net/html/frame/example_t03.html
target="_top" is used in the situation where the linked page opens in the entire new window
Check this example for top : http://www.tagindex.net/html/frame/example_t01.html
_parent was used when a common way to create websites was to create a framespace with frames inside,
for example:
<html>
<frameset framespacing="0" rows="50%, 50%">
<frame frameborder="0" src="red.html" scrolling="no" noresize="1" />
<frame frameborder="0" src="blue.html" />
</frameset>
</html>
in this case a link inside the blue.html will open the target inside the frame,
using target _parent the page will be opened in the parent container and not in the blue.html box
_top is similar but the link is opened ever in the main window.
example: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_links_target_top
I am creating a PDF report using Java. It opens in a pop-up box and displays well in all browsers except in Safari on iPad. Here, the pop-up pdf-page shows until the screen is there and then I don't see my data and I cant scroll down. However it works fine when I open it from a PC.
I am using Frame set in HTML. I saw some suggestions saying the frameset does not work on mobile iOS devices for may pages as scrolling cannot be done using frame set.
How can I write the below code using iFrame?
<frameset rows="100%,*" onLoad="NN623();reloadPDFImageKludge();TERalert();" frameborder="no">
<frame noresize src="/messages/please_wait_report_pdf.jsp" name="<%= CreatePleaseWait.getDummyFrameName() %>">
<frame noresize src="/blank.html" name="<%= CreatePleaseWait.getChildWindowName() %>">
</frameset>
I am coding simple html page with menu on the left side. when users click on the menu links I want the links will open on the right side.
In the past I used the iframe tag, but I want to know if there is a new way or another ways to do it?
<iframe name="rightSide" src="index.html" align="top" height="100%" width="100%">
Within the link, set up a target="rightSide" attribute. This will load the url in the link into the IFrame.
Load Me
Please find the code below
<iframe name="myFrame"></iframe>
and on target
I am trying to set up a dashboard for my IT group to view several different servers in one web page.
I have 4 frames set up, and tested them with cnn or apple.com to make sure everything was set up.
<!DOCTYPE html>
<html>
...
<frameset cols="40%,60%" rows="50%,50%">
<frame src="http://www.apple.com">
<frame src="http://www.cnn.com">
<frame src="http://www.espn.com">
<frame src="http://10.2.0.252/">
</frameset>
</html>
So, when loading "http://10.2.0.252", it redirects to the login page (https://10.2.0.252) but opens the full page and does not keep it within the frame. The only thing on the page now is the login. The actual link for this is "https://" but when I put this in the code, the page is blank.
Is it possible to get the authentication page to stay inside the frame? I want to create frames that can be interactive so we can log in to the servers to view all of the status'.
EDIT: I am trying to display the https link in an iframe, but it just displays a blank screen. Does anyone know why <iframe src="https://10.2.0.252" width="100%" height="600"></iframe> will not at least bring up the login? It does not showing anything at the moment.
I think you'll need to rethink your system.
If the site has a framekiller on it, you're wasting time trying to override it. There may be an API you can use - check with the sites to see if they offer one.