If the url is https://sitenameurl everything works fine, but with https://www.sitenameurl sliders and image gallery don't show. Text and other images not included with javascript are show ok but not the ones that should be added using javascript.
No error on console to fight with. HELP!!
Site without wwwsite with www
It's seem that your content resides on main domain named as https://sitenameurl & you want it on subdomain https://www.sitenameurl which has no content.
You can do it either by htaccess file to redirect https://www.sitenameurl on https://sitenameurl.
Thanks
Thanks Waqar, I had found the problem: I made a javascript code that depending on the url was triggering some functions to show images and sliders. I didn`t include the url with www and so nothing happend!! Fool of me
Related
I'm working with vue.js, and I want to display a pdf on a website. I keep seeing a lot of complicated examples of pdf viewers that require an upload button and a conditional display - this is NOT what I need.
I just need to display a hardcoded pdf document within a div on my web page.
This is what I have so far using iframe
I need the width of the actual pdf page to fill up 100% of the width (for legibility). I don't want the grey background to show. The page should also be mobile friendly.
Open to suggestions that include not using iframe, especially if it would make the page more mobile friendly. If you're going to bring up vue-pdf or PDF.js, please include some clear instructions on how to use them.
PS: I am using some parameters to remove the toolbar and navpanes like so:
src="<MY PDF HERE>.pdf#toolbar=0&navpanes=0&scrollbar=1"
I've tried adding &zoom=100 or &view=Fit and that does not fix my problem.
Here is a list of all the parameters.
I lied. Adding &zoom=140 to the end of my pdf url solved my issue.
The issue i have is that when i click on any page in my menu, it loads and then goes back to the previous page i visited. I contacted my hosting provider and they said there must be some code somewhere inside the website or database. But i know for sure i didnt put any code in there. Does anyone know where i could find this code or where the problem could be?
I already tried changing the permalinks and all, but this didnt work.
I expect the page to just normally load into my browser window without redirecting to the previous page.
URL is: http://www.vandeheg.nl/
From what I can see this is a problem with the JavaScript on the site, as with JS disabled I can access all the pages without issue.
I'd recommend trying with all plugins deactivated, and then if that doesn't solve the issue have a look through your theme code for anything like window.location that might imply a forced JS redirect.
I want to save this page for offline use, but after saving it completely in chrome, the image links are broken. What is the problem and a solution for something like this?
http://www.xlr8.at/8x8hexbin/
Chrome actually created a new folder for all the images, but the original website has its images in the same root folder as the webpage, thus the links are broken. So saving a webpage like that is not a good idea, but since this website has only 2 images, I am able to fix the link easily by moving those image back to the root folder, and fix the links on the html file.
i want to load a specific part of website in iframe, unfortunately iframe is not loading , i have tried object, iframe, framset and jquery too load but i am failed.
I need your help to sort it out and show a specific part from this website
http://www.weddingwire.com/weddings/2816607/wedding_new_website/preview
i need this part of website (http://prntscr.com/30051k)
Please help me .
Thanks
You won't be able to embed this website using iframe since it have X-Frame-Options header.
You can try displaying it with curl.
I'd like to show the user a small preview of another page (from a different domain) and let him control the page's elements. For example: replace the logo on the top.
I tried two approaches:
Using an iFrame causes me cross domain issues.
I can't "preinstall" javascript functions on that page either.
Would love to get more ideas.
Thanks!
You can refer to http://jsbin.com/
The output div has a iframe where your page cloned from other domain.
On the other hand you should have your admin interface where user changes anything change the HTML of the iframe content (as it is a clone not directly from other domain browser allows you to modify). So a live preview can be shown to user.
Here, for how to change the iframe HTML u have many examples otherwise refer to the jsbin.com code.
I just came across this article. This might help you. http://www.sitepoint.com/how-to-safeguard-your-site-with-html5-sandbox/