I'm using web page template which uses
#import url(http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900); to apply text font in all pages.
I tried to download the code and use into my web pages. In Firefox and Chrome the code is working but in IE it's not working.
I tried to use only the link but I get error:Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" because I use SSL.
Can you propose some solution?
Related
im using wordpress and want to add a link which open in a frame/lightbox. Cant find a small solution for that.
There should be no new window. Just a content box which appear inside the page where i am. I hope u know what i mean
That should be pretty easy using the Easy Fancybox plugin.
Citing the entry from the FAQ section of the plugin's page:
Can I display web pages or HTML files in a FancyBox overlay?
Yes. First, enable the iFrame option on Settings > Media. Then, in your post or page content create a link to any web page or .htm(l) file in your content. Then switch to the Text tab in the Classic Editor or to Edit as HTML (under More options in the block menu) in Gutenberg, find the link <a ... > tag and give it a class="fancybox-iframe" attribute.
Voilà !
Beware, though, that:
Note: Not all external web pages are allowed to be embedded in an iframe and may be blocked by a server response header or script. The result will be either an empty/blank light box or the target page “breaking out” of the light box and loading in the main browser tab.
And you'd probably face the same problem with any other iframe solution. So that would work better with locally served pages.
I have an iframe - the iframe works when the src points to a page on the same server, allowing me to embed pages.
The same iframe will not allow me to embed pages from another server. I have tried different src= pages and different browsers on Windows, OSX and Linux. I have tried hard-coding the src attribute and setting it programatically.
I haven't worked w html for years and know click-jacking has caused some hosts to disallow their content but am confident this is not the issue.
<iframe src='myPage.html' name='i' id='i'></iframe>
works as expected
<iframe src='http://theirServer/theirPage.html' name='i' id='i'>
</frame>
does not work as expected
Not all sites allow you to embed them via iframe (such as google). if using Chrome, check your console. If you have an error like "Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'." then the site does not allow you to embed it.
Basically if the site uses the header X-Frame-Options, and has it set to SAMEORIGIN, there's nothing you can do.
I have a website richanime.com and it's a anime based website. The problem is when i load any of my posts the tabs don't load immediately. I've tried to load the jquery and jquery-ui.css internally and still no luck.
It loads a little bit faster on opera and chrome, but on firefox the page loads without and then with the css for the tabs. Can anyone please check it out, here's an example post: http://richanime.net/anime/fairy-tail-2014-episode-46/ (It's the tabs that say "Mp4Upload", "VideoNest" and such.
I use jquery-1.9.1.js and jquery-ui.js while jquery-ui.css loads in my style.css
I use wordpress. The problem lies on opera and and chrome too but firefox the most. Does anyone have any idea how to make it load immediately?
Here's some code: Style.css for tabs only
I've added some the css code that i use for the tabs. Hope it's enough.
On one of my asp.net page, when I access it, It loads and fetches data properly on default criteria. All styles for menu, search criteria controls and gridView controls displays perfectly.
When I click one of the buttons that postback the form and loads data, styles are gone. All styles vanished.
Looking through developer tools and going to CSS tab, all my stylesheets under App_theme are loaded properly on first time access but on postback, when I check through developer tools, No CSS loaded :(
Any idea?
Note:
I am using a masterpage that contains the html form.
I tested on IE version 10 and 8.
First time loading loads all CSS perfectly.
Thanks.
Try using Firebug tool in FF to check if there are any 404 error while loading CSS after form postbacks.
If yes, check the path of CSS that is showing 404 error.
I've got a master page that loads in a custom css file. This works fine for the published pages that the end user sees. however, the css also affects the site settings pages which look terrible. Is there a way to only provide a custom css file for the published pages?
Cheers #Neps. There was a different master page for system, but I found out I was using the alternate CSS which was applying the style sheet to both. so I removed that and put the link code directly into the master page.