I am using GWT and google maps. I created a custom infowindow which contains a script that will send an http request to twitter for the most recent tweets. i want to display this content inside a tab of the infowindow, but it is only working as expected in firefox. I suspect that this may be the case because IE and Chrome need to know...
I have the following code.
function rgb2hex(rgb) {
rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
return "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]);
}
Seems to work ok in FF and Chrome. IE comes up with '1' is null or not an object. rgb value does seem to make it to the rgb.match.
Any ideas?
Thx
...
Hi, all.
I was trying to implement a "download link" and put it beside one of my report table so that users can download a csv file and open it with applications like Excel.
The records are generated dynamically based on the query made by users.
So somewhere in my controller there's something like:
response.headers['Content-Type'] = ...
Hi
I build portable HTML/Javscript prototypes, which are intended to be Zipped up and shared via email/sharepoint. The key word here is 'portable' - no server is required to run these prorotypes - just a javascript enabled browser. And there is no database.
Some of the prototypes require that I persist data (just to show off potential...
The following code crashes IE6 every time. It keeps refreshing the page and crashes after a minute:
$(window).bind("load resize", function () {
var hnf = $('#header').height() + $('#footer').height();
$('#main').height($(window).height() - (hnf));
$('.fluid').height($('#main').outerHeight());
$('#content').width($('#main...
I have Russian blog built with BlogEngine.NET 1.5.
I use Russian words in links encoded with URLEncode, so links are human-readable in most browsers - FF, Chrome, Opera (except for IE, but this is not the real problem with this browser). This idea is not mine, I borrowed it from Wikipedia - it uses encoded URLs on localized sites.
The ...
I'm experimenting with jQuery plugins. I have this code to fade in a "lightbox":
$('#cleverbox')
.css({ opacity:0, visibility:'visible' })
.animate( {opacity:1}, 2000 );
It works fine on Firefox and Chrome, but in IE (7 and 8) and Opera the element just appears rather than being faded in. There are a bunch of similar questions...
My script utilizes BlockUI to load a modal upload form for images and then uses the JQuery Form Plugin to submit the data from this form. This works fine in Firefox and Chrome, however when I attempt to submit the form in Internet Explorer 7, I am prompted with a download dialog asking to save the PHP file that is calling this code.
It...
Hi y'all...
When hasLayout = -1 is it set to true or false....?
Thanks..!
...
I am using a literal on my page which has an html form in it. this literal is displayed when a specific link is clicked, an overlay div is shown on the page and it shows the form on the overlay div. All browsers work fine and exactly as expected, but IE does not show anything on the overlay div i.e. the overlay div appears but is empty. ...
I have a web page where I have a table nested inside of a TD tag (don't flame me for this, I have a good reason for doing it this way). When the page loads, I want to expand the height of the nested table to be the height of the TD cell that contains it. Currently I do it with code like this:
$(document).ready(function()
{
$('.Tak...
I am using Watin to do some automated testing and I am running IE as a different user then attaching to the IE instance. The problem is with Internet Explorer. I get a message saying that the default search provider is corrupted. I have reproduced this on two computers. Is there a way of getting around this? Can turn the warnings of...
Hello all:
I have a input control (a Text Box) which has some javascript events associated with it (change, keypress, select, click). The first time my page is executed, I type some value in this input control and then click on my button. This button executes some ajax code, send some info to a application server and it is OK. Also, the...
I have a requirement for within an ASP.Net application to open a Word template from within the browser and pass in some parameters to a MS Word plugin that will be installed on the client.
Is it possible when opening Word from the browser to pass in any parameters and if so how do you go about this?
...
I am using a simple FormPanel in GWT (com.google.gwt.user.client.ui.FormPanel).
Once setting the action for the form, in Firefox, Safari, Chrome the submit method works fine while in IE (8) nothing happens when submit is called (I am submitting a form to paypal, not that it matters).
I am on GWT 2.0. Is this some kind of known probl...
function check_info(id,value){
var data = $("#"+id+":checked").val();
if(value==1){
if(data == 'on'){
var id_val = id.substring(7);
$("#user_g"+id_val).css("display","block");
$(".chkbox_"+id_val).attr("checked","checked");
$("#user_hidden_"+id_val).val("2");
}
...
I have a Silverlight application deployed on a HTTPS server. My applications generates reports that are saved as PDF files. Whenever a user tries to download a file from my application from IE, he gets a notification under the toolbar asking him if he really wants to download the file. If you agree, then IE reloads the page, sending the ...
I know that sun's can handle that through JSObject but is there some way for Microsoft JVM?
I tried using JSObject with Microsoft but's it's unable to write/read any cookies.
it returns "undefined" instead.
any help appreciated.
...
I am building an ASP.NET 3.5 application in which I have a page which loads another page in a different domain in an iframe. Below is the for Default.aspx page:
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="server">
<iframe src="isite.aspx" runat="server" width="100%" height="100%" scrolling="auto">
</if...
Hi guys
as the title suggests i have problem with prototype's update function in all IE version but its working in FF and chrome
this doesnt work
var element = $('mainnav_h');
element.cleanWhitespace();
var html = element.firstChild.innerHTML;
html = html.gsub('<span class="sep"></span>', '');
element.firstChild.update(html);//this do...