similar to: Change stylesheets asynchronously

Displaying 20 results from an estimated 20000 matches similar to: "Change stylesheets asynchronously"

2006 Jun 07
0
theme stylesheets not being found by typo trunk
Hi all, I have setup an install of trunk typo using trunk/edge rails. It''s all working swimmingly, except that the theme css is not being found and I am hoping someone has an idea (or two). so, the url is /stylesheets/theme/azure.css, the relevant entry in routes.rb is: map.connect ''stylesheets/theme/:filename'', :controller => ''theme'',
2007 Sep 19
5
problem after scaffolding
hi guys, I am having problems after scaffolding I created a db called "requests" and when i tried to execute the command script/generate scaffold request It gave me an error please make sure you have a database request created before you do this The db is obviously created; rails cant access it... so I tried to hack i copied my view model and controller files from my local deployment to
2006 Mar 01
5
scaffold.css and Rails tutorial problem
In iteration D.1 on page 109 I am not getting a styled error message box displayed at the top of the checkout as described in the tutorial and I cannot seem to discover where I have erred. The scaffold.css is copied from the pragmatic programmers site: #-------------------------------------------------------------------- $ cat public/stylesheets/scaffold.css body { background-color: #fff;
2006 Mar 07
1
Relative stylesheet reference
Problem: The HREF generated by the stylesheet_link_tag is an absolute path. Details: The layout for my view has the following line <%= stylesheet_link_tag ''scaffold'' %> At runtime, this gets translated to <link href="/stylesheets/scaffold.css" ... /> This does not get resolved correctly. The problem is the leading slash. It should be <link
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts, I am in the process of switching servers for my application. Before the move everything was working properly. After the move <%= stylesheet_link_tag ''/stylesheets/styles.css'' %> generates <link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" />
2006 Jan 03
1
RequireResourceHelper for JS and CSS
The following was posted on my blog at http://blog.inquirylabs.com. A friend of mine recently expressed interest in this code snippet, so I thought I''d send it out to anyone else who''s interested. This module makes it a lot easier to ''require'' javascript and cascading stylesheet dependencies inside your views or controllers. By
2006 Feb 28
7
multi-page printing moving on
I have some nice forms done using stylesheets. I currently have them displaying on screen and the user could simply just print. This works when there is only one form (facility) to be viewed/printed. I have created the looping code necessary to print for all facilities but that doesn''t work for me because each page uses stylesheets with <div> that do absolute positioning and thus
2012 Feb 21
2
Asset Pipeline doubles my CSS refs?
Hi, I''m trying to properly reference a .css file. Unfortunately the asset pipeline is doubling my css references which disables my code. What gets rendered is: <link href="/assets/sincoraish-screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href="/assets/sincoraish-print.css" media="print"
2013 May 23
1
rake assets:precompile issue with JS and stylesheets files with similar name
Hi, I''ve got following two files with same names under javascripts and stylesheets directories as: - app/assets/javascripts/test_vendor.js - app/assets/stylesheets/test_vendor.scss Essentially a JS and an stylesheet files with same name. -------------------------------------------------------------- I want these files to be precompiled and served from public directory. Thus I
2006 May 25
3
caching of javascript and stylesheets
Is there a standard way to make sure a client''s web browser pulls the latest version of your style sheet or javascript file instead of using a cached one? We are currently using a tedious way where we add a version number to the file (e.g. screen-v12.css) and when Rails boots up it finds the latest version in the style sheet folder. On the other hand, I have seen Basecamp append
2006 Jun 01
10
Stylesheets not being recognized
I am a newbie, but have worked through 4 or 5 tutorials. I am using InstantRails. The problem is that I cannot determine how the style is being included. I have modified the stylesheet from /public/stylesheets/, even removed it. All to no avail. The inline <style>...</style> code is still being included from somwhere. Where? What am I missing? thanks, steve -- Posted via
2005 Sep 19
2
warning: already initialized constant
Hello all. I''m new to Rails and working on replacing an existing Perl based app. Everything has been smooth, and I''m beginning to get the hang of things. I just implemented DB based photo handling, with code directly from the Pragmatic Rails book. Here''s a fresh server log of my app, with a logged in user (by cookie and session) getting a list of his photos. The
2007 Feb 22
1
OT(?): ReverseProxy and URLs
This could be OT. If so, just let me know and I apologize in advance. I mentioned in an earlier email that I have Mongrel setup as a proxy server behind Apache. Rails applications served by Mongrel do not find the CSS file and hence no styles are displayed. In fact, many of the actions are not found.The reason, I believe, is because the URLs for styles and actions typically follow this pattern:
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello! i got this forum powered by apache and mod_rails lately when i create / edit posts, i get plain html text showing up instead of the actual page. here''s what i see: -- Content-Type: text/html; charset=utf-8 Set-Cookie: _mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL %250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2007 Jan 19
4
Problem with link tags
Hell all, I have a layout were I add my stylesheets and javascript in the following manner: <%= stylesheet_link_tag "/form" %> <%= stylesheet_link_tag "/text" %> <%= javascript_include_tag :defaults %> But what happens is that in the actual web page the source is the following: <link href="/form.css?1168168516" media="screen"
2008 Mar 18
5
stylesheet link causing routing error
Hi - I think this is a simple 2.0 conversion issue. In my application layout, I have a simple stylesheet link tag: <%= stylesheet_link_tag ''application'' %> In my public/stylesheets directory, I have application.css When my pages are rendered, I get: <h1>Routing Error</h1> 27<p><pre>No route matches "/stylesheets/application.css"
2006 Apr 14
1
[OT] Serving Multiple Stylesheets
I was wondering whether there is unbearable overhead involved in breaking css into multiple stylesheets? I''m running lighttpd, and the following article discusses why one might want to do that: http://justinfrench.com/?id=141 My CSS is beginning to get a bit lumpy to digest in one glance and the article(s) seem to make a cogent argument for separating functional elements out. I just
2006 Mar 13
5
What is the matter with content_for_layout?
Here is my layout file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>My Demands</title> <%= stylesheet_link_tag ''ajax_scaffold'', :media => ''all'' %> <%=
2009 Dec 12
2
how to print out content of stylesheets in <style> tag via stylesheet_link_tag
Hi! I''m developing facebook apps with ruby on rails. My connection is really slow. The stylesheets do not load mosts of the time. So i want to print out the content of my .css-files in <style> Tags. Is this possibe with some parameter to the stylesheet_link_tag or an other tag? Greetings from Germany Klaus -- You received this message because you are subscribed to the Google
2005 Dec 23
8
webrick / winxp won''t stop serving cached file??
Hi Working through the tut material in teh PP book (agile dev with rails) on a laptop running winxp. Creating the "admin" application, things generally work great. Except: at teh end of chapter 6, when we update teh css to improve the look of the page - I copy the new scaffold.css into my working directory, but webrick keeps serving the old css, even after a restart. Very odd. The