I don't understand the purpose of the WPF browser appliction. Is it simply another way of serving information through a browser, or is it not intended to be used for external deployment?
Hello
While trying to understand how a web server worked, I came accross this:
//myfile.js
function donothing(){};
//myfile.html
javascript:donothing(open('http://www.acme.com/whatever.jpg','','left=100, right=0, top=100, scrollbars=no, status=no, titlebar=no, resizable=no, toolbar=no, menubar=no, width=255, height=255'))
I'm no JavaScript expert, so I don't get how an empty function can be made to work. Does someone know?
Thank you.
I have seen some solutions, or at least tries, but none of them really work.
How do I strip all tags except those inside or [code] - and replace all the < and with < etc. in order to let js do some syntax highlighting on the output?
I am currently exporting Drupal data to an external source (XML) programmatically. However, I want the data to run through the site's default Input Format (the filter that runs before user content is displayed on the website) before being written to file.
How do I programmatically apply a Drupal input filter? Is there a specific function call or hook for this purpose? If so, links/advice would be most appreciated.
As no one can help me with my UJS ajax problem I am trying "respond_with", but I am getting this error:
RuntimeError (In order to use respond_with, first you need to declare the formats your controller responds to in the class level)
Yet I have declared it in my controller:
class HomepagesController < ApplicationController
respond_to :html, :xml, :js
def index
@homepages = Homepage.search(params[:search])
respond_with(@homepages)
end
Anyone has any ideas why.
Does a .cs(C#) file compile under a .vbproj(VB.NET project) ? (VS 2005, .NET 2)
Say I have Animals.vbproj (namespace Animals)
I have Wolf.vb, Tiger.vb, Cat.vb, and a Human.cs
Could I use Animals.Human from a external AnimalsForm.vb form? Why?
Hi
I am using visual studios 2010 and created a javascript file(jscript.js) and I saw on one page saying you can make constant variables in javascript like:
const x = 20;
bu to on another page I read it says you can't. So I am confused now what is it now?
Also in Visual studios when I write "const" it underlines it in the javascript file and goes syntax error.
I have an app that is called an external web service on Windows Server 2003. It uses certificates to connect to this web service.
I've compiled and run the app on Windows Server 2008 R2, installed the certificates, but its a no go, keep getting SSL trust failure, and can't seem to diagnose the problem.
Any ideas would help.
Thanks
Hi,
In Rails is there a way to get the URL to the image (going through the assets_host) and just return the URL of the image? I want to use assets_host data in my Javascript, but I just need to insert the URL into the JS, not the whole image_tag.
Thank you in advance!
Hello!
I'm having an issue with Firefox and anchor links from an external page to a tab div on the landing page; while IE render these correctly (I know, that means little), FF and Chrome both send the user to a place somewhat above or below the actual anchor tag. I didn't write the original code, but I'm not able to find much about a FF bug that would cause this, or a solution?
Starting link:
http://www.washington.edu/students/gencat/academic/sis.html#INTSTUDUG
Hi Guys,
I have Visual 2010, I am trying to generate dal from my database.
I create a classlibrary project
I add reference to Subsonic
I add reference to mysql
create generated file in directory
I add a App.config file and fill it as this:
I create the external tools button and run it,
it generates the CS files, but doesnt appear in generate files,
what to do next to use these files in my application??
thanks
Hello everyone,
How wrong is it to place the script tag after the closing tag of the body (</body>). ?
<html>
....
<body>
....
</body>
<script type="text/javascript" src="theJs.js"></script>
</html>
Thanks
I'm creating a script with javascript which works in every browser except IE.
<script type="text/javascript">
(function() {
var sc = document.createElement('script');
sc.type = 'text/javascript';
sc.src = 'http://domain.com/script.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(sc);
})();
</script>
How could I get this working in IE (tested IE6, IE7, IE8)?
hi guys.
How do I disable the save password prompt in web browsers whenever I'm submitting a form. I've seen a few bank sites where this doesn't come up.
Are they doing it through JS or there any http headers or HTML meta tags available to achieve this?
I'm trying to do this for a mobile application. Please pour your ideas.
I have the following syntax in the .cmd file, where PathList is console application with .exe as extension.
cd D:\Sample
D:
PathList 2> file.txt
This syntax works fine if the file is saved with .bat as extension, but if save it with .cmd extension it throws error saying
'PathList' is not recognized as an internal or external command,
operable program or batch file.
Please can i know what is the issue with saving it with .cmd extension
I'm working on a usability testing service and trying to figure out how to track user activity (e.g. url, clicks etc.) on a page of another domain (without modifying the page via JS or similar).
Any ideas?
I am developing some JavaScript that should work with either Prototype.js or JQuery, thus I need some way to identify what is the primary library in use. How can I do that?
Hey
I'd like to know how to use XMLHttpRequest to load the content of a remote URL and have the HTML of the accessed site stored in a JS variable.
Say, if I wanted to load and alert() the HTML of http://foo.com/bar.php, how would I do that?
Thanks!
I'm developing a web application and am looking for a great inexpensive CDN to host my images/css/js.
Does anyone know of a great INEXPENSIVE CDN which offers either rsynch or origin/push services?
Can someone who is a master at JS tell me what's wrong with this?
if ( $.trim($("#add-box-text").val()).length < 2 && $.trim($("#add-box-text").val()) != "Click here to add an item" ) {
// If it's LT than 1 Character, don't submit
$("#add-box-text").effect('highlight', {color: '#BDC1C7'}, 500);
// Refocus
$("#add-box-text").focus();
}
This overlay seems to be the only overlay plugin that works within my schools wonky template... but the problem is that when the browser is resized the shadowbox resizes too, clipping the contents inside. I want it so the box stats fixed and if the browser does get smaller the browser will have scrollbars.
I know it's been modified before, but i dont know where to start. I cant even find an unminified version of the .js file.
Thanks
http://plugins.jquery.com/project/semantictabs
What is the means of this
Status - Recommended for 1.0.x
I'm using this plugin code as it is http://plugins.jquery.com/files/jquery.semantictabs.js_4.txt
then this ( I'm also using prototype.js onsite)
jQuery.noConflict();
jQuery(document).ready(function(){
$("#mytabset").semantictabs({
panel:'.mypanelclass', //-- Selector of individual panel body
head:'headelement', //-- Selector of element containing panel header, i.e. h3
active:':first' //-- Which panel to activate by default
});
});
Hi all,
I have to make some charts on a "mobile" website, what is the best framework to do this?
I see Google Charts API, JQuery Visualize, Raphael and JS Charts... but i don't know who is the best one in Safari Mobile.
Thanks in advance to your response.
Hi,
I want to know if there is any need to create interface for request/response objects. I know ServletRequest is an interface.
I see request/response as simple pojo, where having some members to hold data and getter/setters would suffice.
The processing of such data could be delegated to external utility classes.
Does anyone have specific inputs on this?
Thanks
Nayn