similar to: link_to

Displaying 20 results from an estimated 1000 matches similar to: "link_to"

2012 Dec 08
9
link_to popup
Hello All, I have a link. Which I want to open as a new window :- <%= link_to "Google", "https://www.google.com", :popup => [''new_window_name'',''toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes''] %> But it is opening in the same page.... Any suggestions how to do it ?? Even hover will be
2008 Jun 20
0
Slider as Scrollbar in a window
Hi, I ran into deep problems using scrollbar features shown at http://www.aldenta.com/examples/script.aculo.us/. The scripts work as expected, but if i use the separate window effect (based on prototype and script aculo us, too) shown at http://prototype-window.xilinus.com the scrollbar doesn''t work anymore. I tried and studied the source code for both subprojects but i have really no
2008 Dec 22
1
Web-driven SIP call thru Asterisk IPBX
Hi, I think that the web-driven SIP Phone (free) doddle (beta version) can be useful with your Asterisk applications. You can pre-fill it with your sip settings (Asterisk host name or IP /?realm / sip user), you just need to setup the HTML link as that: (Attached is the HTML page example) ? /**************************/ simple HTML code example: /*************************/ <html> <head>
2011 Feb 17
1
Adding images for pagination links in will_paginate
Hi, I am using will_paginate for pagination. I have to show only Previous and Next links, that I have achieved by ":page_links=>false" parameter. Now I want to show the images instead of "Previous" and "Next" labels. Can anyone tell how to achieve this in will_paginate? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. -- You received this message
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
Hi, I''m using FXRuby 1.6.13 under Windows XP / Ruby 1.8.6. I''ve noticed something strange when copying-pasting things between FXTable cells, and FXTextfields. ---------------------------------------------- 1) When copying the content of an FXTextfield, and pasting it into an FXTable cell, everything works fine. 2) When selecting an FXTable cell, issuing a "copy"
2006 Jul 24
4
how to get your controller to close a browser popup window
While editing a record I need to have a link to create a new record in another scaffold. I''ve done this by using a popup window <%= link_to("Add new Person", "/person/new", :popup => [''window_name'', ''width=600,height=600'']) %> It all works great - but when the save is done I want to kill the popup window.
2012 May 28
1
rendering a partial inside another using render_to_string and (:formats) in controller
I want to clean my code by moving the duplicated lines : partial = render_to_string( :partial => "#{file}", :formats => [:html] ) to the pagination_partials function. ================================================= WORKING CODE: ================================================= def render_format_search_partial(file, options={}) # TODO remove this line to use the one
2008 Feb 19
1
adding an onclick option to link_to method
Hello, I''m trying to use the rail link_to to open a popup window and then print the popup window at the same time. Is there a way to add another "onclick" option to tell the popup to print? I know how to do this in javascript but not sure how to use the rails help to do it. I also am aware that the link_to_function method is used to call a javascript function.
2006 Nov 24
1
how to mount a xen image file
Can someone correct my attempt at mounting a xen image? Im trying 2 things: a) losetup /dev/loop1 ./mywindows.img mount -t ntfs /dev/loop1 /media/loop which dmesg|tail tells me is Not an NTFS system b) ntfsmount ./mywindows.img /media/loop -o force which gives me mywindows.img invalid argument The images was created by dd if=/dev/zero of=./mywindows.img bs=1024 count=20K then installing windows
2007 Apr 11
2
Open Browser Window help
When I previously designed my static sites in dreamweaver, I used an Open Browser Window behavior which opened a URL in a new window of fixed size by inserting the following: <a href="javascript:;" onclick="MM_openBrWindow(''example.html'', ... ''width=300,height=300'')</a> Is there a simple way to do the same thing in ruby?
2009 Nov 08
1
link_to_remote with image_tag using Paperclip
I am creating a layout of images with links. In Photo model: has_attached_file :mainimg, :styles => {:original => "465x365", :thumb => "80x70"} In my Front controller: def index @photos = Photo.find(:all) @photos = Photo.paginate :per_page => 28, :page => params[:page] end In index.dryml: <% outer = ''a'' %>
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
Hi. Some time ago I posted some prototype-"extensions", which could come in handy. I''ve been updating them a bit and added a few more and I think its time to share it again. Feel free to use it. The code should be rather self explaining, but heres a quickguide. - new Geometry.Size(width,height) - Creates a new instance of size - new Geometry.Position(x,y) - Creates a new
2007 Apr 16
0
[969] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Cleanup and fixing of broken links.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2009 May 18
3
Pagination
Hi, I am using the will_paginate plugin for my application. It is showing Previous 1,2,3...22,23,24 Next links How will I hide the numbers? I want to have first and last links also. How will i do that? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2008 Apr 11
3
StarAlliance TravelDesk (PC-based timetable app)
The StarAlliance airline network used to have a Windows 3.x-ish timetable program that worked very well under Wine. Now they replaced it by something more fancy and Wine (0.9.59) cannot handle it. The application installs fine, starts up, but then it's frozen. You cannot enter any text in the search boxes and you cannot move the scrollbars. Can someone help me to get this going? You can
2008 Jul 01
2
how to automatically maximize the graph window (under XP) ?
Hello, I'm trying to produce graphs automatically from data stored in database. Before saving the graphs, I would like to maximize the size of the graphs. The best would be to directly open maximized windows with x11() but up to now I failed doing it. I tried different widths and heighs but I never managed to obtain a full screen window. Is there a command to do it ? Thanks in advance, Ptit
2012 Sep 23
2
Find by id in the view template dynamically
Rails 3.1.3 I have a model ''Airline'', whose STRING column is ''company'' only. Also, another model ''Plan'' has an INTEGER column ''airline_id''. I would like to show the ''company'' name (string) in a template like <% @plans.each do |plan| %> Airline: <%=
2007 Oct 25
7
Sample Config File?
Hi. I am running Xen 3.0.3-1 on Debian Etch. Does anyone have a sample config file for creating a windows DomU? I have the ISO file from my windows CD. I''m not using LVM Thanks in Advance _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Feb 21
2
Call queue design issues and suggestions
Greetings to all. I am currently implementing call queues for a customer and have come across several "problems". The customer is an airline representative, and will be using call queues for different airline reservations. The customer requires that any agent be able to login to any number of queues. This means that queue members have to be dynamic, not using "member =>
2010 Nov 16
1
[PATCH RFC] tools/virtio: virtio_ring testing tool
This implements a virtio simulator: - adds stubs for enough support functions to compile virtio ring in userspace. - Adds a stub vhost based module this can talk to. This should help us decide things like which ring layout works best. Communication is currently done using an eventfd descriptor. This means there's a shared spinlock there: what I would like to do in the future, is run this