Just thought I'd share this for anyone who's interested...
>>> "
http://www.google.com/search?source=ig&hl=en&rlz=&q=a+really+long+url&aq=f&oq=&aqi=g10
".smush()
"http://www.googlerl&aq=f&oq=&aqi=g10";
---
Object.extend(String.prototype, (function() {
function smush(length, truncati
Sure, glad that I was able to help you !
Yogesh
Ashwin wrote:
In addition to your snippet, I had to add the following CSS attributes
to the element:
position: relative;
overflow: auto;
and slightly increased the width of the container element. It is
now showing up as expected.
Than
In addition to your snippet, I had to add the following CSS attributes
to the element:
position: relative;
overflow: auto;
and slightly increased the width of the container element. It is
now showing up as expected.
Thanks for your help!
Ashwin
On Nov 11, 2:15 pm, Yogesh Aga
I have a list with 3 columns. This is the code. You just modify it a
little bit for your page.
Name
City,State
Date
.dateinlist{
float: right;
width: 80px;
}
.citystateinlist{
float: right;
width: 150px;
}
Ashwin wrote:
Hi Yogesh,
You gave me some food for thought! I add
Hi Yogesh,
You gave me some food for thought! I added float:left; and width:
300px; attributes to all the tags just to see how that turns
out. When I do that, the elements are outside the enclosing
elements, one below the other. I am no CSS expert, so I could be
messing up somehow in that area
Hi Ashwin,
How about floating the span elements? I have similar list and I use
float. Add a class to your span elements. In CSS, assign a width and
float them left or right as per your requirement.
HTH.
Yogesh
Ashwin wrote:
> One of the reasons I like the Google Suggest powered autocomplete
One of the reasons I like the Google Suggest powered autocomplete
function at Google Finance (http://finance.google.com) is because the
drop choice choices appear in a tabular format with 2 columns. The
left column contains the ticker symbol and the right column contains
the company name. I am try
Hi
ok, please read, what I mean. My code actually runs perfectly.
In the past I have had problems with the newline and found, that isJSON()
checks the string coming from server. Thats fine.
I only want, that I did not run into new problems later, and want to
understand, what isJSON() does. So
i agree on that. setValue has its purpose pretty much in the name.
"Set" the "value" of a control. For checkboxes, "setChecked
(bool)" (also applying to radios?) would have made a lot more sense.
i suppose in the meantime there's Element.writeAttribute
({"value":"foo"});
However, i raise caution
Hi,
I used prototype 1.5.0rc2 and the testing tool Selenium 1.0 in a web
application. When I updated prototype to 1.6.1, everything still works
in FF 3.0, FF 3.5, IE7, IE8, but in IE6 I get strange javascript
error messages:
The code which fails is "Element.extent" in the function $(). The
erro
I used prototype 1.5.0rc2 and the testing tool Selenium 1.0 in a web
application. When I updated prototype to 1.6.1, everything still
works in FF 3.0, FF 3.5, IE7, IE8, but in IE6 I get strange javascript
error
messages:
The code which fails is "Element.extent" in the function $().
The error mess
Just an addition: this error occurs happens in IE6. Everything works
in IE7, IE8, FF3.0. FF3.5.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to
Hi,
The link I gave you has the full JSON syntax. In terms of outputting
that syntax from C or C++, you'll need to remember that the backslash
is special in C/C++ literals (it introduces escape sequences), and so
to actually output a backslash, you have to escape the backslash with
another one.
I used prototype 1.5.0rc2 and the testing tool Selenium 1.0 in a web
application. When I updated prototype to 1.6.0.3, everything still
works in FF 3.5 and 3.0, but in IE I get strange error javascript
messages:
The code which fails is "Element.extent" in the function $().
The error message is "O
Hello
I use C/C++ with Apache module
I do send "\\n" or "" from server to the browser.
But my question was: which chars need to be escaped too? I can see "\r", "\f"
and "\t". But the other RegExp rule I do not understand.
Manfred
--~--~-~--~~~---~--~~
You rece
On Nov 9, 8:55 pm, jaikumar wrote:
> Hi ,
>
> I am getting " handler is undefined" error in prototype.js Fire
> Bug pointing to this method in prototype.js handler.call(element,
> event) create wrapper.
>
> Can any one help me to solve this bug.
Probably not, without more information.
Hi,
> If I send a JSON { 'str': 'This is a line with \n linefeed' } I do
> get...
You haven't mentioned what language you're using to write out the
string (PHP, Python, JavaScript, C#, Java, etc.), but my suspicion is
that you're accidentally outputting an actual newline (character x0A)
rather
I'm having an issue with Safari and Chrome on a site that I have been
tasked to support and maintain (as in, I didn't design/build this...I
inherited it).
http://www.myhealingkitchen.com
In the sign-up process there are a number of Ajax transactions. Works
great in FF, not working in Safari thou
Hi,
i have a problem when working with iGoogle style drag and drop
portlets on ie8
my code runs with no problems on FF, Chrome, Safari and IE7
But on IE8 the widgets do not work when dropped and give the error
"Invalid argument"..
i digged alot and knew that the problem is in the function setSt
Hi,
i use the Drag and Drop Feature for my Site.
In Firefox it works fine, i can smoothly drag and drop my items (about
15 Dragabels and 10 Droppabels).
To using this in IE (8, 7 or 6) i patched the cumulativeOffset:
function(element) { .. }.
cumulativeOffset: function(element) {
var valueT =
20 matches
Mail list logo