Questions tagged [static-html]

77 questions
1
vote
1 answer

Nginx - how to serve static files from folder based on subdomain

I want to host a multi-tenant website where tenants can select a siteCode/subdomain, and as long as it's unique, I will create a folder for them and dump static files in there. I then want Nginx to serve the files from the correct folder based on…
Tim Hardy
  • 1,654
  • 1
  • 17
  • 36
1
vote
1 answer

Generate a static HTML version of your Ionic application?

I know about ionic serve command which enables me to test & develop my Ionic application. But is there a command (or is it possible) to export my project as a static HTML bundle in order to view it using a browser without installing NodeJS and all…
Anthony O.
  • 22,041
  • 18
  • 107
  • 163
1
vote
1 answer

The selector "app" did not match any elements

I m using angular2-universal for server side rendering and generating static HTML. so far my static HTML is generated & component is also getting rendered. but in my browser console its showing this error. EXCEPTION: The selector "app" did not match…
1
vote
1 answer

WordPress Shortcode thrown outside WYSIWYG html DIV

I'm trying to put a shortcode within my page via the Wordpress Page WYSIWYG editor in a specific
element. The shortcode does appear and works. But instead of staying within my
, when the page renders it does not render in the
but…
user4324916
1
vote
2 answers

Strange timeout when reloading static HTML page in Rails app

I have a small static HTML page in public folder of a Rails application. This page performs AJAX requests on input keyup. Everything is fine except when I reload the page rails gets stuck for several seconds and browser has to wait. Finally Rails…
Paul
  • 25,812
  • 38
  • 124
  • 247
1
vote
1 answer

Relative paths when hosting static single page website on Dropbox

To have an direct access of a file on Dropbox, you have to replace the shared link's subdomain www with dl. The main domain gets redirected from dropbox to dropboxusercontent. I wonder how (if possible) to host a static single page website with…
Fellow Stranger
  • 32,129
  • 35
  • 168
  • 232
1
vote
1 answer

Spring 3.1.1 static html can be accessed but not my other jsp

Uhhm, i followed the examples and solutions from stackoverflow on how to link to static html but when i put the mvc:resources my other jsp cannot be seen. If i take away the mvc:resources the jsp can be seen again.here is my…
Samuel
  • 325
  • 4
  • 10
1
vote
4 answers

How can I hide an element that doesn't have an id from the CSS?

I am in trouble with a quite specific problem: I am using a portal that doesn't allow me to work on the static html, but only on the CSS. I need to hide an element that is not declared with an id and so I cannot use #nameOfTheElement…
0
votes
1 answer

Facebook static HTML iFrame - Use JQuery to interact with the parent CSS?

I have come accross the static HTML app for facebook pages that allows us to build a landing page made up of HTML, CSS and even Javascript. eg. http://www.facebook.com/divethegap?sk=app_190322544333196 Now is it possible to interact with the parent…
Walrus
  • 19,801
  • 35
  • 121
  • 199
0
votes
1 answer

How to change Static HTML iframe tab icon

I am using the Static HTML: iFrame Tabs app to use to design landing pages for several businesses. I have designed the landing page in html and it working fine,but i need to change the Tab's icon,i need put my own icon. please help me
sravanthi
  • 183
  • 1
  • 3
  • 9
0
votes
3 answers

Static HTML to Drupal 7

Peers I have some static html content which are 120000 files. i want to do an import of all the files and store individual file contents as nodes. by giving the node title as html file name and node body as html file content, how to do that ?…
Sirish
  • 1
  • 1
  • 1
0
votes
1 answer

How can I use cookies with a site where the HTML and the API calls have different domains?

I am hosting a Single Page App website on a static server (happens to be Amazon S3), so it is served up from the URL of my application, lets say "example.com". So the website lives at "https://example.com". This site uses API calls made using…
mcherm
  • 23,999
  • 10
  • 44
  • 50
0
votes
2 answers

How to load a static HTML page in Nuxt (avoiding Nuxt requests)

I have a nuxt website that have an unsupported page. I noticed Nuxt is loading it's files when I just want to show a static page without external requests, because it's a simple page, there's no reason to load all that bunch of file. So the question…
Eleandro Duzentos
  • 1,370
  • 18
  • 36
0
votes
1 answer

How can I generate a signed url for an object in my google cloud storage for static html content

How can I generate a signed URL for objects in my bucket on google cloud storage? I have a google domain and using google cloud storage to host my objects in buckets. I do not need the use of an app engine (to reduce cost). The site will be static.…
0
votes
1 answer

Can webpack be used to inject javascript into html static templates?

I would like to bundle several javascript files with webpack. In the course of doing so, I would like to take some values that are present in my javascript files (prior to bundling but in the course of processing) and to inject them into some static…
Union find
  • 7,759
  • 13
  • 60
  • 111