search for: contentdiv

Displaying 3 results from an estimated 3 matches for "contentdiv".

Did you mean: contentdir
2006 Feb 20
3
Rewriting with an after_filter
...an''t find how to do it. I think what I want to do is gsub(/UserName/, ''Matthew''), however, I''m clearly missing something. Here''s what I use: <code> class DisplayController < ApplicationController after_filter :customerize def show @contentdivs = Contentdiv.thispage(params[:page]) end def customerize @contentdivs.gsub(/UserName/, ''Matthew'') end end </code> @contentdivs contains bits of html that show.rhtml nicely formats. thispage() selects only those with an attribute that matches the page requeste...
2007 May 15
1
Effect.dropout and Too Much Recursion Error
...ND stafflist --> <tr> <td colspan="4">{links}</td> </tr> </table> and here is the javascript function I use : function deleteUser(id) { var answer = confirm("are you sure ?") if (answer){ var userID = id; var notice = $(''contentDiv''); new Ajax.Request(''adminpanel.php?action=deleteUser&userID='' + userID, { method: ''get'', onSuccess: function(transport) { notice.update(transport.responseText); }, onLoading: function(){ notice.update("loading ...&qu...
2006 Jan 06
3
Using DIV tags in HTML - a better Ruby/Rails way?
People, I can use a DIV tag for exact positioning of fields on a form: Creating a DIV tag creates a layer. The DIV tag contains a style attribute with positioning information. It might also have border and size information, if appropriate. Here is the basic DIV tag required for exact positioning: <div style=" top: 99; left: 99; position: absolute;