similar to: HTML embed tag and rails...

Displaying 20 results from an estimated 9000 matches similar to: "HTML embed tag and rails..."

2006 Apr 18
4
Security considerations with displaying uploaded HTML
I have an application where I am allowing users to upload (or refer the app. to) arbritrary HTML that I am (currently) displaying in an IFRAME on a page. The users will be authenticated so it''s not open to the entire universe. I was always uneasy with this, but after reading the security chapter of AWDWR, I am even more concerned. What kinds of applications do people have out there
2006 Jul 20
7
Can this be done?
What I want: I get a normal http request containing a URL from a remote server. Instead of redirecting to that URL, I want to load it into an iframe on an existing page. I''ve tried a number of approaches with no success. Can anybody suggest a good way to do this? Alternatively, if you can say "this is bloody impossible, because....", that would be helpful, too. --Al Evans
2006 Jan 27
1
Execute script tag loaded from Ajax.Updater call
Hello everyone, I have an ad serving application that give me a chunk of javascript to put in each page an when then page it loaded, that javascript executes and it load a banner ad. Basically, I''m returned this from the server: <script language="JavaScript1.1" type="text/javascript" src="http://mysite.com/execute/this_javascript.js"> </script>
2007 Mar 13
2
mime types
I''m trying to use the ajax.Updater function to send a message to the server and display an error message. Ok so far. However if the server detects no error with the data sent I want to open a PDF file in a new window. When I try to do this (using fpdf) the returned PDF is opened as text in the error div. Can anyone point me in the right direction. rgds gmcb
2007 Nov 09
1
ruby on rails + ajax + iframe image uploader
hi, I write a page that contain following function: this site contain a html file upload control, which allow user to upload image only. once the image had been uploaded, it will automatic display on the current page without refresh entire page. when the image is saved, it will return javascript that embed in a iframe (which is also in my current page) that can load the image into my page (
2008 Nov 06
8
<video/> and cross site scripting policy.
It's been brought to my attention that Mozilla will be changing their implementation of <video/> to default deny cross-site requests. (http://www.w3.org/Bugs/Public/show_bug.cgi?id=6104) In other words: <video src="http://someothersite/videos.ogg"/> Will not work by default. It will not work like the <img/> tag does, or like the embed/object tags do which are
2007 Mar 19
1
Wine Babylone MS visio
Dear All i have Knoppix Os on my laptop , i want to use Softwere Babylone dictionary, Ms vision and MSOutlook, but when i want to install it for exemple Babylone he dependency Internet explorer and when i try to install ie6 he show me the erro connection. its immasing because i have internet, its trus i connect to Internet Trough proxy , but when i chnage my setting network for direct connect,
2006 Mar 03
3
embedding a forum inside a rails app
what is the best way to embed a forum (phpbb is currently installed under /public/forums/) inside my layout ? I dont want the foum to be its own page i would like it to appear inside the main part of the page with navigation and border in tact. is this possible with the current way it is installed ? thanks adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Nov 13
5
ogg dirac granulepos in oggz tools
Hi, I'm wondering if the Dirac granulepos parsing in liboggz and display in the oggz tools is currently correct, as I'd like to do a release of these soon. A couple of days ago David Schleef mentioned there were some problems. David, is that currently true (ie. since David Flynn's recent updates to support Dirac), and if so could you please explain what the problems are, or point me
2006 Mar 28
2
Homepage as index.rhtml, not index.html?
Hi all, I''m building my first Rails app. Please forgive my ignorance as I get acquainted with the technology. What I''d like to do is have a form that the scaffolding created for me appear on my home page. It''s just one text field, a submit button, and some error messages. I first tried to copy the code from the new.rhtml view into the homepage (index.html), then
2011 Aug 25
7
How to safely embed JSON object in HTML document
Hi all, I''m working on a Backbone.js single page app with Rails 3.1, and in an attempt to save on HTTP requests, I want to embed initial data set in a HTML document that is sent back to the browser after successful login. I was thinking I can simply convert my ruby object to JSON, then HTML escape resulting string of JSON, and then use that as a value for JavaScript variable. Something
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a string to that element? e.g., var sDocument = ''<html><head></head><body>Hello world.</body></html>''; I''ve tried several variations of appendChild, innerHTML, document.innerHTML, createTextNode. Argh! _______________________________________________
2007 Jul 24
4
How to pull the title and url from an iframe?
I have an iframe in which the user can browse. When they hit the ''add this page'' button i need to retrieve the url and the title of the page currently shown in the iframe. Does anyone know how to do this? Do i need to assign a variable name to my iframe? (currently it just sits in my template as a bit of html) -- Posted via http://www.ruby-forum.com/.
2009 Jan 31
0
embed in webpage
Hi all, I want to use R to provide participants in psychology experiments with their scores on various measures. I looked around and found several programs designed to do this. I settled on Rpad because it seemed easy to set up and use. I have it working (see http://realpsychresearch.org/blog/feedback-web-based-studies ), but there is a problem. I need to select the data corresponding to the
2007 Mar 16
7
how to send mp3 inline?
hey all, I''m trying to do a: send_file @file, :type => ''audio/mp3'', :disposition => ''inline'' ,:stream=>true I tried with all browsers and it always asks me to download the file or open it with a player. Is there a way to make it open in the embeded player (QT,Windows media player,Mplayer etc)? Only with konqueror if I open in new tab then I
2008 May 15
3
Facebooker support for iframe apps
Hi facebooker-ers, It looks to me like facebooker does not currently support iframe facebook apps - or am I missing something? My first problem as I understand it is as follows - When you are logged into facebook, and access a facebook application, facebook tacks on a whole lot of extra fb_sig parameters to the request (including fb_sig_user) that the application can then validate to
2006 May 09
8
Dynamically printing a page
Does anyone know of a cross browser solution to print a page/url after a user clicks a button? Currently, I''m using a "hidden" iframe to do my bidding. But from my experience, IE requires that the iframe''s src attribute be set initially to the url, in order for the page to open properly. I wasn''t able to add the iframe to the page dynamically, either. So
2008 Feb 15
2
Seeking to granules in discontinuous streams
On 15-Feb-08, at 6:44 AM, ogg.k.ogg.k@googlemail.com wrote: > Well, it doesn't quite work because the second part of the gpos is > an offset, > rather than absolute, and the precision we shed on one, we need to > recover > on the other one, to keep the ability to timestamp events at the > correct > granularity. It would have worked if the second part was absolute
2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo ** Respond with RJS to your parent window with a form action targeted to a hidden IFRAME. Handles all the painful situations like scoping your JavaScript to your parent window generating the script block for execution and clearing the IFRAME after execution so the back button doesn''t re-execute the action. `plugin install
2014 Feb 07
1
Raid on centos
Ok I've a HP mircoserver that I'm building up. It's got 4 bays for be used for data that I'm considering setup up woth softwere raid (mdadm) I've 2 x 2TB 2 x 2.5 TB and 2 x 1TB, I'm leaning towards usig the 4 2.x TB is a raid 5 array to get 6TB. Now the data is on the 2.5TB disks currently. So the plan so far. Building the array as a degraded raid 5 with the 2 x 2TB