719 Posted Topics

Member Avatar for niall_heavey

When you say link the HTML cell with the excel cell, it's sounds to me that each change at the HTML will reflect in the excel, and vice-versa. But what I understood is that you just want to show your excel as an HTML table. Am I right?

Member Avatar for AleMonteiro
0
2K
Member Avatar for thedancingbug
Member Avatar for softDeveloper

In each page request to your site you need to make sure that the user is logged in. If the user is not logged in you must block the content and redirect the user to the log in page. One of the ways to do it, without going crazy, is …

Member Avatar for Taywin
0
99
Member Avatar for <M/>

You gave no info that can be analysed. Please post the code with problem, and if possible a test page or upload to [jsfiddle.net](http://jsfiddle.net/).

Member Avatar for AleMonteiro
1
115
Member Avatar for ehpratah

Hi, I didn't look for the problem in your code, but I made an example in my way: <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script> <style type='text/css'> </style> <script language="javascript"> $(document).ready(function() { $('#txtarea').change(function() { // Create options for origin var optionsOrigin = [ [0, 'Select'], [1, …

Member Avatar for AleMonteiro
0
338
Member Avatar for vijayram

I didn't understand what you are trying to do, please explain it more carefully.

Member Avatar for AleMonteiro
0
108
Member Avatar for ceinoris
Member Avatar for rotten69

Hi, this feature could be use to discart some unwanted objects, after some filtering perhaps. But I think the point is that JS is a very dynamic language, we can change almost anything at anytime. In example, here's a strange thing to do, but it works: <div id="test"></div> <script type='text/javascript'> …

Member Avatar for Troy III
0
288
Member Avatar for deepak jois
Member Avatar for Percival07

Hi, I didn't understand anything about your problem. Please be more specific and try to explain what you want and what the problem is.

Member Avatar for JorgeM
0
139
Member Avatar for fcvolunteer

I thin your problem is with the dashes(right and left) aligned with float. I don't like to use float, instead I use this class to align inline: .inline { position: relative; display: -moz-inline-stack; display: inline-block; zoom: 1; vertical-align: top; *display: inline; } Try it and let me know.

Member Avatar for fcvolunteer
0
217
Member Avatar for SBA-CDeCinko

It's sounds a little specific to me, I don't know if you'll find something ready out of the box. But there is not only JQuery, there's a lot of others JS frameworks that you might want to look into. Some examples: ExtJS YUI Library MooTools Prototype But if you don't …

Member Avatar for pritaeas
0
234
Member Avatar for Oneryavuz

What do you mean by wrong filtering? It's returning something it shouldn't or not returning something that it should? Anyway, I would try `DateTimePicker.Value.ToString("yyyy-MM-dd")`

Member Avatar for Oneryavuz
0
161
Member Avatar for laura301019

Hi Laura, try this: function showImage(imageFileName) { // get image element var theImageElement = document.getElementById("cameraImage"); // get caption element var theCaptionElement = document.getElementById("imageCaption"); // change what image is displayed theImageElement.src=imageFileName; // Set the name to lower case to make an case insensitive comparison imageFileName = imageFileName.toLowerCase(); if(imageFileName == "canon_20d.jpg") { …

Member Avatar for AleMonteiro
0
176
Member Avatar for aus_fas1

Please post the complete code so we can run it, or, better yet, upload it to [jsfiddle](http://jsfiddle.net/).

Member Avatar for AleMonteiro
0
270
Member Avatar for dschuett

Hi. Here it's working: http://jsfiddle.net/3MwXd/17/ The problem: you add the 'change' listener each time the <td> is clicked. That means that the second time you click, the input will have 2 listeners. The third time, 3 listeners, and so on. The solution(not changing much of your code) is to unbind …

Member Avatar for AleMonteiro
0
2K
Member Avatar for Danny159
Member Avatar for boris90

I really didn't read all your code, but I think this is the idea you are looking for: var images = ['img1', 'img2', 'img3', 'img4']; // 4 images var timeMin = 5000; // 5s var timeMax = 10000; // 10s $(function(){ changeImage(); }); function changeImage() { var imgIndex = getRandom(0, …

Member Avatar for AleMonteiro
0
795
Member Avatar for rotten69

I think you're missunderstaing somethings... First, you are not using the array as an array, but as an simple object(var array = new Object() would be prettier). Second, pepsi is not a property of "array.drinks", it's the value. What I think you want: var array = new Object(); array.fruit= ["banana", …

Member Avatar for AleMonteiro
0
99
Member Avatar for garyjuano
Member Avatar for Captain_Ludd
Member Avatar for vizz

Hi vizz, this should help you: http://www.zachstronaut.com/posts/2009/08/07/jquery-animate-css-rotate-scale.html Regards.

Member Avatar for vizz
0
174
Member Avatar for vizz

Vizz, according to the sepecs of the jquery rotate plugin: it supports images. No where says it supposed to work with divs. Try using the rotate with an image in IE and see if it works.

Member Avatar for vizz
0
266
Member Avatar for rapidwein

Hi rapidwein, your code has a lot of errors, in the javascript and also in the html. On the html: * There's a lot of <p> tags that has no closing tag. You shold remove all of those, because they are not used and might will cause problem because the …

Member Avatar for rapidwein
0
2K
Member Avatar for divyakrishnan

Hi, you need to discover the difference in milliseconds and then convert to the unit you want. Something like this: // Constants var minutes = 1000 * 60; var hours = minutes * 60; var days = hours * 24; var years = days * 365; // Dates var Date1= …

Member Avatar for AleMonteiro
0
97
Member Avatar for silverwatersask

Do you know JQuery? It's much more easier to work with AJAX, or manipulate DOM elements as you wish. This is a simple test page using JQuery post mehtod, but there are many more with much more flexibility, if you need. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for silverwatersask
0
1K
Member Avatar for navp
Member Avatar for fheppell

fheppell, those links might help you: - [URL="http://www.w3schools.com/js/js_browser.asp"]JS Navigator Object[/URL] - [URL="http://www.quirksmode.org/js/detect.html"]Browser detect script[/URL] Hope it helps.

Member Avatar for AleMonteiro
0
60
Member Avatar for elbeato

Try this: [CODE] for (var n = 1; n < 4; n++) { var zing = "#img" + n; $(zing) .fadeToggle(300).delay(500) .fadeToggle(2000).delay(2000); } [/CODE]

Member Avatar for AleMonteiro
0
94
Member Avatar for vizz

You just spit some code, but what's your problem? What are you trying to accomplish? What work and what does not?

Member Avatar for vizz
0
110
Member Avatar for GliderPilot
Member Avatar for Violet_82

Hi Violet, I think it's a good way to do it, and it's quite fast. I did something similar myself. But you can always improve your code, I suggest something like this: [CODE] var $box, $overlay, $closeButton; $(function() { // Get re-used jquery objects only at page load // It …

Member Avatar for Violet_82
0
215
Member Avatar for newbie14

You have some options, two of them are: Option 1. Before removing one row you need to check if it will cause any rout problem. If there is a problem, you don't remove the row. Option 2. After you remove one row, you check if that lead to any rout …

Member Avatar for AleMonteiro
0
171
Member Avatar for crash1989
Member Avatar for AleMonteiro
0
120
Member Avatar for vizz
Member Avatar for Surfsup

Your HTML structure don't let you do it. a#one is inside div.round, so every time you click a#one, you are mousing over div.round. The best way is to modify your HTML with that in mind. One way to do it, is this: [CODE] $(document).ready(function(){ $("#expand").hide(); $("#open").mouseover( function(){ $("#expand").slideDown(); } ); …

Member Avatar for AleMonteiro
0
190
Member Avatar for simplypixie

Hi, you are setting 'width', 'height' and others attributes to the ajax options, but they doesn't exists. The ajax method has nothing to do with the layout, it just makes an assync call.

Member Avatar for AleMonteiro
0
198
Member Avatar for anita_86

Hi, for what I can see, you don't have the id value, you just have the string '$id'. This is all of your code?

Member Avatar for anita_86
0
173
Member Avatar for jayhall

If I did understand correctly, you want only the rows of the first table to have the expand/collapse functionality. Is that right? If so, you need to tell JQuery only to get the direct children of the #report table. To do that, you use the '>' operator. But there is …

Member Avatar for AleMonteiro
0
2K
Member Avatar for veledrom

The function htmlspecialchars() returns a string and you are testing it against a integer, that might be the problem.

Member Avatar for AleMonteiro
0
141
Member Avatar for knitex

Hi knitex, your code has a number of issues, so I thought about what you were trying to do and made it happen. I hope this is what you need: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> <style …

Member Avatar for AleMonteiro
0
240
Member Avatar for Surfsup

When the click occurs you have to set the cookie, and then on the page load function you have to check the cookie and apply the class again.

Member Avatar for Surfsup
0
1K
Member Avatar for Pravinrasal

Pravinrasal, if you want the length, you need to use an array. [CODE] //Create array var graphArray =new Array(); // Add item to array graphArray.push({ "concentration" : concentration,"answers" : ans }); // Alert array length alert(graphArray.length); [/CODE] But your code has some problems, for example: the options has no value, …

Member Avatar for AleMonteiro
0
664
Member Avatar for abhijeet P

Something like this, if you are closing from the parent window. [CODE] var childWindow = window.open(....); childWindow.close(); [/CODE] if you want to close from the child window, you can do this: [CODE] self.close(); [/CODE] Hope it helps.

Member Avatar for AleMonteiro
0
169
Member Avatar for xuweisen

I think it's quite fast, good work. But the sub-menus aren't being displayed right.

Member Avatar for xuweisen
0
180
Member Avatar for |-|x

This should work fine: [CODE] <asp:Label ID="Label1" runat="server" Text="<%= Session["value"].ToString() %>" /> [/CODE] Doesn't it?

Member Avatar for kvprajapati
1
936
Member Avatar for tqmd1

You need to the set the target of the anchor: target="FRAME" Would be something like this: [CODE] <ul> <li><a href="first.html" target="myInlineFrame">First Page</a></li> <li><a href="second.html" target="myInlineFrame">Second Page</a></li> </ul> [/CODE] Good luck.

Member Avatar for AleMonteiro
0
107
Member Avatar for Virangya
Member Avatar for nice_candy

I never tried with List, but i think it's best to use an defined array, like MyObject[]. This way when .NET receives the data request it will know how to parse it. Even using List, if it's a simple type(int, string, bool e etc) i think it would not be …

Member Avatar for mani-hellboy
0
134
Member Avatar for trickist17
Member Avatar for AleMonteiro
0
1K

The End.