I have a site I'm trying to have the page title display on the tab within IE and Firefox.
I have the title set but when I go to view the site the tabs just show the URL of the page.
I searched and was unable to find a clear answer on how to correct this issue.
Is this a browser issue? I want it to be clear to my users what page they are on.
I figured out the issue. I had a title tag in the head of my master page which was causing the title to be blank and the url to display in the tab. After removing it now my titles appear.
Related
I want to parse this page 'http://www.tsetmc.ir/Loader.aspx?ParTree=151311&i=22811176775480091' ,but it has a tab_bar on top ,so when I click one of them it shows up new information ,but with the same url.
I am using BeautifulSoup & selenium to parse that but i can't find the tag on the pages that are shown when i click one of the tabs.
This image shows the tabs that i mean.
As far as I could see, this menu uses classes, so you have to write:
driver.find_element_by_css_selector(class="...").click()- with this one he will click on the object with the class name you put into the parentheses.
A small example:
driver.find_element_by_css_selector(class="yellow").click()
The driver would click on the yellow tab, and would open it in the same window.
In putting my website together using Weebly (I know, but it's for compatability) I have noticed that when Chrome opens a new tab the title does not match the content. These titles seem rather random: sometimes it's a word on that page or image, sometimes it's from another page or image, sometimes it seems completely random. Is there a way to control that?
You can set it below:
Go to the Pages > SEO Settings > Page Title
Alternatively the html tag is:
<title>Title goes here</title>
It's quite simple to change the favicon.ico on the browser's tab. If the tab corresponding to our site/application is not the selected one, this can draw the attention of users and lead them to find out what's new on them.
But I was wondering if it's possible to dynamically change the icon on bookmark items, even when our website's tab is not open.
Anybody knows how can this be accomplished? Should be done by means of a browser's plugin?
Question like this has been asked in SO before, and it seems it is not possible to grab the URLs opened in other tabs.
If you write blogs, then you could have seen the Preview button, which on click opens the blog post in preview mode in a new tab and each time you clicks that button the preview page which was opened previously get refreshed.
May be my question is not constructive, but I was wondering how they are capturing the tab and refreshing the page.
What kind of stuff they are using? If anybody got the knowledge, if you share it would be very helpful.
Update:
Firebugging reveals that the Preview is a button:
Here is what Blogger uses for preview link for my post:
Preview
So what they do is use anchor tag with target attribute of a custom name (previewpost+postID).
When you first click on preview link, no tab will have this custom name, so new tab will be opened. If you click on it again, no new tab will be opened since the tab with that name already exist.
UPDATE:
Using button, this is probably accomplished the same way using javascript window.open(URL,name,specs,replace) method where name specifies the target attribute or the name of the window.
I am using an MVC 3 razor grid with version 2011.2.712.340 of the Telerik extensions.
I have an Edit command button in my html for the grid. The edit button shows up in Chrome & Firefox, but not Internet Explorer with the same exact code base.
Would someone be able to tell me what I need to do in order to get it to display in IE?
Actually, in additon to the Button not showing up, the data for the record is shifted over starting in the Command column....
Also, this only happens in IE9. If i put the browser in IE9 compatability mode or IE8 or IE7, the page renders fine.
What do I need to do for it to render properly using IE9?
It might be related to Hidden Columns in Telerik, have a look at this post for the workaround:
http://www.macaalay.com/2011/09/29/telerik-mvc-grid-workaround-for-not-rendering-properly-in-internet-explorer/