Displaying 20 results from an estimated 20000 matches similar to: "problem loading images and css"
2010 May 13
20
HTML and CSS to PDF
I would like to take a rails page and convert it to a pdf. I don''t want
to have to generate the code myself for making the pdf, so it should
obey css. What is the best tool for doing this? Does the tool use the
standard css, or can I provide it alternative print-css?
Thanks in advance,
Jonathan Steel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2010 Nov 30
2
IE problem with submit_tag
I''m having some difficulty with IE8 on a Rails 2.3.5 app. I''ll state
from the outset that this problem does not occur with Firefox, Chrome,
or Opera when run on the same system so I''m reasonably certain I''ve
got an IE issue here.
Here''s a simple description:
I''m ending a Users#new form with:
<p><%= submit_tag, "Sign
2010 Jun 04
6
Ajax fails in IE8
hi guys,
I am testing a new optional funtionality in my site with IE 8 after
success with Firefox 3.6.3, chrome and safari.
The new functionality basically sees a "sub category" drop down list
get generated in my form as soon as a "Category" value is selected
from the "Category" drop down list.
I have been using the standard rails api such as observe_field, and
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;
2012 Oct 16
8
<form> tag is self-closing before input fields .. (HAML generator used)
The form is inside a table, enclosing a <tr>
= form_tag admins_backoffice_dashboards_path, :remote =>"true" do
%tr.search
%th= link_to t(:clear), "#", :id => :clearFilter
%th= select_tag :role,
options_from_collection_for_select(Role.global, :id, :name, :selected
=> @role_id )
%th= text_field_tag :email, nil, :value
2010 Oct 19
33
Render partial generate unwanted spaces
Hello, I have a problem with the render :partial method in all my
rails webapplications. I noticed that using render :partial will
generate spaces (mainly top spaces) on the elements inserted.
As all my websites are seperated by module (basicaly header, content,
menu, footer) it''s quite a problem as I have to set negative margin-
top to various parts for the site to display as expected
2011 Aug 18
9
RJS error rails 1.2.3 + firefox 4 and above
Hi,
In my application I used in admin module to expand and collpase
functionality using ajax(link_to_remote) method. It''s working fine in
mozilla 3 and below version..
But when I using in mozilla 4 expand functinality was working fine but
collapse are not work, it''s just ''wrinkls''.
My code is like below
<tr id="<%= content_element_id
2013 Jan 09
4
CSRF resets my session in Firefox
Hello all,
I''ve been trying to diagnose an issue with CSRF and Firefox
specifically. I''ve got an ajax based form, using UJS (yes, I have
csrf_meta_tag in my layout and I''ve tried adding the X-CSRF-Token header
to the ajax beforeSend events without any luck)... The form just posts
some data to an ajax method that creates, saves, and sets the session
for a shopper as
2011 Jan 24
11
Can't get login to work
Hi, could anybody help me try to get a login function working, I have
created a database for users called user1, I have the login screen set
up but when i hit login with a correct username and password, nothing
happens
I am expecting the lgin button to direct the user to the main page and
show the user as logged on, but nothing happens! Thanks!
Controller
class User1Controller <
2011 Sep 11
5
Weird Error when Adding ShareThis Hovering Buttons to Rails
Hi all,
I am trying to add the ShareThis Hovering buttons to my Rails 3
application but have no luck. I got the embed code from
http://sharethis.com/publishers/get-hovering-buttons. In order to
prove that the problem is specific to Rails, I put the same code into
a HTML file outside the rails app and also a pure HTML file inside the
public directory (without routed to controller) of my rails app.
2006 Jul 31
2
**NewBIE** CSS reference in view pages...
I''m a newbie...I have this CSS file created STYLES.CSS which i want to
cll into every page under views...how can i do that...<link> tag doesn''t
seem to be working here...any help is greatly appreciated...thanks!
--
Posted via http://www.ruby-forum.com/.
2007 Nov 22
3
Oracle virtualization =Xen ?
Hi all,
Maybe someone know, does Oracle virtualization is based on Xen technology ?
after fast overview its look like xen based virtualization.
- Ofek Doron
--
P Save a tree...please don''t print this e-mail/ /
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2012 Mar 10
6
Cartographer shows correct info box BUT over wrong marker
Hi guys (and gals),
The code formatting is so nice on SO.com, so I thought I''d just share
my post in hopes that someone from the group can help.
http://stackoverflow.com/questions/9643786/cartographer-shows-correct-info-box-but-over-wrong-marker
Feel free to answer back via email if you don''t have an SO account.
Thanks!
Abram
--
You received this message because you are
2006 Feb 25
7
generating HTML instead of XHTML
After reading
http://www.hixie.ch/advocacy/xhtml
and having some headaches with IE, I wonder whether helpers can be
configured to generate HTML instead of XHTML.
-- fxn
2012 Aug 29
7
custom js in rails project
Hello, I have a rails project with one controller and one action, as
simple as posible. And I''m trying to put some custom css and js to my
own index.html.erb (not public/index.html.erb), I inluded this on the
layout file:
layout file:
<!DOCTYPE html>
<html>
<head>
<title>Volei</title>
<%= stylesheet_link_tag "application", :media =>
2006 Jan 24
6
[MacOSX] Firefox Not Diplaying Images
Forgive the random question, but for those of you Mac OS X users...
Does anyone else have a problem with Firefox 1.5 not displaying
pictures/graphics embedded on web pages. Safari doesn''t seem to have a
problem with them.
For example, my blog appears correctly in Safari, however Firefox
drops background images.
Clues? Thanks.
--
~~~~~~~~~~~~~~~~~~~
D''Andrew "Dave"
2012 Aug 13
9
Using Jquery plugin "tokenInput" with rails
Hi,
I made a contact manager app using rails. I added TokenInput plugin to
introduce an instant contact search functionality in it. Tried following a
railscast http://railscasts.com/episodes/258-token-fields but have been
struggling with it for a while. Following is the code I use in my view
<%= form_tag({:action => ''show'', :id => @contact_tokens}, :remote =>
2010 Nov 26
1
rails 3.0.3 in production css js do not load HELP
in rails 3.0.3, when up app in production mode... the css and js
cannot be loades... anyone know how to handler it to make it works?
in rails 3.0.3 qdo rodo a app em mdo producao... os css e js se tornam
inacessiveis, alguem sabe como consigo ajustar isso?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2012 Oct 31
5
css background not showing
Hi all,
for some reason adding the following is doing nothing...
.post.hover {
background: FAFAFA;
I''ve got this in my posts.js coffee file
$ ->
$(''.post'').hover (event) ->
$(this).toggleClass("hover")
and my index is
<% @posts.each do |post| %>
<div class="post">
<strong><%= post.title %></strong>
2010 Mar 22
7
How to reference a select_tag within a form
Hi All,
Inside my app\views\expenses\new.html.erb file, I had the code:
<% form_for(@expense) do |f| %>
[snip]
<p>
<%= f.label :vendor %><br />
<%= f.text_field :vendor %>
<br />
<div id="vendor_droplist>
<%= select_tag "test",
options_for_select(@current_vendors.collect { |v|
v.nickname }),
{:multiple