Displaying 20 results from an estimated 6000 matches similar to: "Where to put csshover.htc in rails"
2006 Mar 23
0
Strange errors when some paths are wrong
Hi!
I was trying to add favicons and i was getting strange errors in log
file about missing property (my model) with id="favicon.ico".
Now i''m getting similar errors for csshover.htc file used in css as
behavior for IE:
Processing PropertyController#show (for IP at 2006-03-23 18:55:47) [GET]
Parameters: {"action"=>"show",
2007 Jan 24
2
A spec where interaction-based testing breaks down... (at least for now)
Here are the specs:
context "Finding all the stylesheets available to a company" do
setup do
@mock_company = mock("company")
@mock_company.stub!(:to_param).and_return "1"
Stylesheet.stub!(:find)
end
def do_find
Stylesheet.find_available_to @mock_company
end
specify "should convert the company into a parameter" do
2006 Aug 11
6
css - location of files.
Hi all.
I have the following scenario.
http://myapp/site1 is using <%= stylesheet_link_tag ''myapp_standard'' %>
to define the stylesheet for layout, I have myapp_standard.css in
/public/stylesheets and it works fine.
However, in the stylesheet I define a image to use for my site
background. eg:
html, body{
background-image: url(mysite_background.jpg);
padding-top:
2006 Jun 22
4
stylesheet linking and layouts
In my layout, I have something like (shortened for clarity):
<html>
<head>
<%= stylesheet_link_tag "index", :media => "all" %>
</head>
<body>
<div id="site-container">
... <cut for space>
<%= @content_for_layout %>
... <cut for space>
</div>
</body>
A view action has another stylesheet defined
2007 Dec 09
5
Browserized Styles Plugin
Browserized Styles provides a dead simple way to create browser-
specific CSS code for use in a Rails application. All you need to do
is create a .css file targeted to a browser by appending an underscore
and identifier to the end.
=== Installation ===
script/plugin install http://svn.intridea.com/svn/public/browserized_styles
=== Example ===
Let''s say I have some complex CSS code
2012 Aug 21
2
Any android source client for icecast ?
Hi Guys,
2012/7/20 juantello <juantello1234 at gmail.com>:
>
> Hello.
>
> Icecast client for android
> http://droidtools.sourceforge.net/content/icecast-client-android
> http://droidtools.sourceforge.net/content/libogglibvorbis-and-libshout-libraries-android
I just finished compiling an android version of our reshaped shine
encoder [1] there:
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 May 23
6
Accessing file in public directory
How do i access a file in the public directory of rails application? I
have several html files in there and i want to link them from the rhtml
file. Basically to display a popup. Here is the code in foo.rhtml:
<a href="javascript:popUp(''/summary.html'')" class="normal">Learn
more</a>
It doesn''t work. Any idea why?
Thanks,
Lantis.
--
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
2011 Apr 09
2
when one of the server down ,the delay too long
I have two GlusterFS server and the volume status is replica . The add of them are server01:192.168.1.10 and server02:192.168.1.11 . The client mount the server01'vol and I can use the GLusterFS usually.
Now, l am reading the file on the glusterfs volume usually, the server02's interface down suddenly ? and the client is also down. It will resume after a delay(about 10s),I think
2006 Apr 10
6
detecting browser type?
I''m wondering how i can detect the browser type for the client. I know this
is possible, but i cant seem to find how to do this, nor any example code
for this.
I would appreciate if someone could point me to some info or just give me an
explanation.
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 Aug 18
2
Including CSS from a stylesheet file in a an e-mail
How can I include the contents of the file /public/stylesheets/print.css in an
RHTML page for ActionMailer? Because there is no controller or session, none
of the usual tricks work.
Do you have to use basic file IO or there some convenience method I haven''t
seen?
Thanks
Ashley
--
"If you do it the stupid way, you will have to do it again"
- Gregory Chudnovsky
2006 Feb 16
3
Retrieve a property defined in a css
Hi all,
I have a property, defined in an external stylesheet:
.my_class {
background-color: #FF0000;
}
I want to retrieve the value of this background-color of the class my_class.
How can I do that with prototype/scriptaculous ?
Thanks in advance,
Nicolas Terray
2009 Feb 02
2
public facts repository
Hello all,
I have set up a public svn repository with some facts that we have
written over time:
https://svn.ikw.uni-osnabrueck.de/dav/ikwadmin/public/puppet/facts/
(yes, it is svn).
Now, I was wondering where to document this on the puppet-wiki (or
should it rather be the facter-wiki)
http://reductivelabs.com/trac/puppet/tags/facter%2Crecipe does not
give any clear hint on this. Maybe I
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 Aug 11
5
actionmailler corrupting emails
Hi All,
I have a problem with actionmailer corrupting my html emails. It is
adding the character ''3D'' before any quotes (single or double) in my
source and smattering ''='' characters throughout as well. Very
strange. Here''s an example from one of the emails:
________________
<body>
<div id=3D''wrapper''>
<div
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"
2007 May 09
5
layouts + routes = confused
I''m new to RoR and the tutorials I''ve found on the web, while helpful,
aren''t as "complete" as I''d like them. I understand the basics when
it comes to layouts and routes, but I''m trying to get them to work
together.
MY first task was to implement a user authentication system
(registration/login/logout/change_password). This works fine with
2005 Dec 27
8
XML Not Working in Explorer 6
I''m playing with XML using Builder but seem to be having some trouble in
Explorer 6. My sample code:
xml = Builder::XmlMarkup.new
xml.instruct!
xml.instruct! ''xml-stylesheet'', :href=>''/stylesheets/style-xml.css'',
:type=>''text/css''
xml.declare! ''DOCTYPE'', :html,
:PUBLIC,
"-//W3C//DTD XHTML 1.0