On Oct 14, 5:07 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
[...]
One way to do this is to have the relevant fields tagged with a
specific CSS class.
An excellent response overall, but just for the record: the HTML class
attribute is not targeted at CSS, it is for any purpose you wish to
put
I'm getting this in IE7, too, despite setting my alt and title to .
I also found a two-year-old bug report on the issue:
http://dev.rubyonrails.org/ticket/5274. Anyone have any other work-
arounds to suggest? I haven't been having much luck.
On Sep 5, 9:48 am, nimesh [EMAIL PROTECTED] wrote:
Hi all,
The argument of Sortable.create() : scrollSensitivity, will
start scrolling when element is x pixels from the bottom, where x is
the scrollSensitivity.
But i want a feature that i can control the scrollSensitivity
when element is x pixels from the bottom and y pixels from the
Anyone?
--~--~-~--~~~---~--~~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to
@Matt:
Is there some example for use of the gridbase class?
Please assist on it, im still grappling with classes/namespacing in
javascript.
Have been working more on php moved to prototype less than 3months ago.
Regards
Jason
On Tue, Oct 14, 2008 at 11:25 PM, Matt Foster [EMAIL PROTECTED]wrote:
On a side note, you do not need AJAX for this feature to feed the user
a PDF file for download just set the form action to empty (same page)
and it should leave the page/browser right where it is with the form
still filled out,
Brian, I can't seem to get that behaviour to work, it keeps
On Oct 15, 2008, at 9:50 AM, spectrus wrote:
On a side note, you do not need AJAX for this feature to feed the
user
a PDF file for download just set the form action to empty (same page)
and it should leave the page/browser right where it is with the form
still filled out,
Brian, I
Depending on your needs, ExtJS has a really nice grid component. Works
with JSON or XML.
http://extjs.com/deploy/dev/examples/samples.html
The framework itself is quite heavy, though.
Regards,
Max
On Oct 15, 1:51 am, jason maina [EMAIL PROTECTED] wrote:
@TJ: Been there and didnt see
Hi,
Is it possible to load script files only when they are needed.
In the application im currently making there are too many script(js) files
loaded on the parent page yet in the entire life-cycle of the application
usage some tabs will not even be clicked hence the idea to only load script
files
On Oct 15, 6:23 am, buda [EMAIL PROTECTED] wrote:
How to unescape HTML tags if they are as part of valid HTML string?
I'm not sure I understand. Why can't you apply `unescapeHTML`? Do you
need to strip certain tags?
--
kangax
[snip]
--~--~-~--~~~---~--~~
You
a = 'trtdlt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br
/gt;/td/tr'
trtdlt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br
/gt;/td/tr
a.unescapeHTML()
bNote from 14.10.2008 23:02:59bbr /
because of this, I guess
@buda
I think that you will have to use some regex on those
Gabriel Gilini
Hi
I have with a little help written my own accordion script that works
great.
I have an issue with it though, when I am linking to anchors in the
page, the accordion wont open and take you to the anchor point. You
can see by clicking on a link located on the home page. Is there any
wizzardry
Ajax requests use HTTP to send and receive information. I am not 100%
sure, but I don't think your computer will understand an HTTP request
without some sort of server like IIS or Apache. Also, built in
security of the XmlHttpRequest object does not allow you to make a
request to another server
You can, like this:
document.body.insert(new Element(script, { type: 'text/javascript',
src:'test.js' }))
The fun part is writing a wrapper for all the functions contained in
that script so that they load the script and execute, rather than
fail.
On Oct 15, 7:16 am, jason maina [EMAIL
Thanks for your reply!
I can't think of how it would help me though. Perhaps i was unclear in
what it is I want to do.
I DO want to create sortable on ALL div class=block / elements,
with options { tag: 'div', only: 'item' }.
code
div class=block !-- outer block --
div class=itemA/div
@spectrus:
Already have sampled ExtJS has a very cool UI but very heavy on a
site/application, sole reason I'm still stuck with proto-scripty.
Wish prototype+script.aculo.us could come up with cool UI just added when
needed as well as being light weight :D
@All:
Thank you for the contribution(s)
How to unescape HTML tags if they are as part of valid HTML string?
On 14 окт, 23:46, buda [EMAIL PROTECTED] wrote:
I'm sorry - I forgot to add that this string is a part of HTML string
'trtdlt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br /
gt;/td/tr'
On 14 окт, 23:41, kangax [EMAIL
I've written a small method, which extends the element, it worked for
my needs:
Element.addMethods({
hasPosition : function(element, x, y){
element = $(element);
this.topleft = Element.cumulativeOffset(element);
this.bottomright = [
this.topleft[0] +
Hello,
In a form page, i add input, checkbox, ... dynamically with prototype.
After i want to retrieve the elements of the form and dynamic element
of the form is'nt in the collection.
Is it normal ?
Which is the way to retrieve this dynamic element ?
Best regards
Anthony
@RobG:
...just for the record: the HTML class
attribute is not targeted at CSS, it is for any purpose you wish to
put it to (even none at all).
Good point!
@All:
I went ahead and rewrote this as a tip on the unofficial wiki, but it
could use another pair of eyes and I'm out of time this
That's certainly possible, however, you will have to implement the
mechanism for checking which JS files are necessary yourself.
As for method to optionally load JS files, Scriptaculous, for
instance, inserts script tags (see scriptaculous.js).
- Baglan
Gonzalo,
They are not doing it with prototype or scriptaculous or any other form of
javascript.
They are doing it with dynamic serverside programming.
body class=defaultstyle=background: #292929
url(/gallery_cache/13/1280_1280c/Garden-House-BVI-020b.jpg) 50% 50%
no-repeat;
They change the
Use the source, Luke:
body class=defaultstyle=background: #292929 url(/
gallery_cache/13/1280_1280c/xq6c6011b.jpg) 50% 50% no-repeat;
Looks like their CMS is changing the src attribute on each load.
Nothing at all to do with Proto/scripty at all.
Walter
On Oct 15, 2008, at 2:22 PM,
I'm sorry - maybe its not sutable forum but I dont take part in anyone
except this one
I have a textarea with wrap=hard
it works as I expected
but when i tryed to set textarea.innerHTML = textFromServer it doesnt
wraps text onto lines
therefor linebreaks are present in textFromServer
what
I see what you're saying now, the nested block element is the
trouble. I can't remember exactly how it plays out, but there is a
tree option in the Sortable config object, you might do well to look
into that.
http://github.com/madrobby/scriptaculous/wikis/sortable
On Oct 15, 7:02 am, Lapis
When the script element is inserted into the document body, does the
currently-running script wait for the js file to be downloaded and executed?
Or does the js file download in the background while the current script
finishes?
-Hector
2008/10/15 buda [EMAIL PROTECTED]
tere is a beautifull
Hi to all the guys and moderators, I see no help at all, there is
someone that understand what I ask, any help or tutorials to
understand how I can make happened the same effect in this web:
http://www.oskaarchitects.com/
Is made with Prototype script.aculo.usPlease again any hep from
Try Googling around for lazy loading its the idea you're talking
about...
http://ajaxpatterns.org/On-Demand_Javascript
We should write an extension for proto that does this nicely, I
checked out http://www.scripteka.com/ and there is a lazy loading tag
but unfortunately nothing with loading
What about jQuery grids (flexigrid, ingrid)? Haven't worked with them,
but they look pretty mature.
On Oct 15, 12:56 pm, jason maina [EMAIL PROTECTED] wrote:
@spectrus:
Already have sampled ExtJS has a very cool UI but very heavy on a
site/application, sole reason I'm still stuck with
What about jQuery grids (flexigrid, ingrid)? Haven't worked with them,
but they look pretty mature.
On Oct 15, 12:56 pm, jason maina [EMAIL PROTECTED] wrote:
@spectrus:
Already have sampled ExtJS has a very cool UI but very heavy on a
site/application, sole reason I'm still stuck with
I agree. The effect on oskaarchitects.com is not client-side. It's
definitely server-side generated.
With that said it could be done client-side.
* Make an array with paths to desired background-images
* Generate a random index into that array
* Set the background-image style on the body
TCPDF seems to have some bugs with php4 but it could be my setup. I haven't
had a chance to mess with it on my own server yet, all of my work has been
done at well, work. But you'll get the gist that the form doesn't have to
be lost. I've put the entire page code up there but will take it down
On Oct 16, 4:42 am, buda [EMAIL PROTECTED] wrote:
I'm sorry - maybe its not sutable forum but I dont take part in anyone
except this one
I have a textarea with wrap=hard
Wrap is not a standard attribute (i.e. it isn't part of the HTML 4.01
standard), it can't be expected to be consistent
33 matches
Mail list logo